Spice up termux with beautiful themes and productivity plugins to make your life easier!
pkg install zsh git lsd vim
Install Oh-My-Zsh
| precision mediump float; | |
| varying vec2 v_texcoord; | |
| uniform sampler2D tex; | |
| void main() { | |
| vec4 pixColor = texture2D(tex, v_texcoord); | |
| // calculate the perceived brightness (https://www.101computing.net/colour-luminance-and-contrast-ratio/) | |
| vec4 luminance = pixColor * vec4(0.2126, 0.7152, 0.0722, 1.0); |
| # ====================================================================== | |
| # Windows Global Ignore List | |
| # ===================================================================== | |
| # Windows thumbnail cache files | |
| Thumbs.db | |
| Thumbs.db:encryptable | |
| ehthumbs.db |
Spice up termux with beautiful themes and productivity plugins to make your life easier!
pkg install zsh git lsd vim
If you encounter a problem where you cannot commit changes in Git – neither through the terminal nor via the GitHub Desktop application – the issue might be a freeze during the Git commit process. This is often caused by GPG lock issues. Below is a concise and step-by-step guide to resolve this problem.
Open your terminal and try to perform a GPG operation (like signing a test message). If you see repeated messages like gpg: waiting for lock (held by [process_id]) ..., it indicates a lock issue.
| { | |
| "vim.showMarksInGutter": false, | |
| "vim.foldfix": true, | |
| "vim.surround": true, | |
| "vim.easymotion": true, | |
| "vim.easymotionKeys": "asdghklqwertyuiopzxcvbnmfj", | |
| "vim.leader": "<space>", | |
| "vim.normalModeKeyBindingsNonRecursive": [ | |
| { | |
| "before": [":", "w", "<CR>"], |
| #!/usr/bin/env bash | |
| # IMPORTANT: this script is now part of my dotfiles and maintained there | |
| # see https://github.com/Diaoul/dotfiles/blob/main/.config/hypr/scripts/workspaces.sh | |
| set -e | |
| declare -i last_called=0 | |
| declare -i throttle_by=4 | |
| @throttle() { | |
| local -i now=$(date +%s) |
| # Get editor completions based on the config schema | |
| "$schema" = 'https://starship.rs/config-schema.json' | |
| format = """ | |
| $username\ | |
| $hostname\ | |
| $localip\ | |
| $shlvl\ | |
| $singularity\ | |
| $kubernetes\ |
| # Get editor completions based on the config schema | |
| "$schema" = 'https://starship.rs/config-schema.json' | |
| # ~/.config/starship.toml | |
| # Customizing the prompt (including desired modules at desired position and sequence): | |
| # *** Borrowed from a design seen in a zsh (should be from https://github.com/romkatv/powerlevel10k) | |
| format = """ | |
| [╭╴](fg:#505050)[$os]($style)[ ](fg:#505050 bold)[$username$hostname$sudo$directory\ | |
| $git_branch$git_commit$git_state$git_metrics$git_status\ |