diff options
| author | Anton Bobov <anton@bobov.name> | 2024-06-18 23:10:01 +0500 |
|---|---|---|
| committer | Anton Bobov <anton@bobov.name> | 2024-06-18 23:10:01 +0500 |
| commit | cf6a48eced4fe941d8c18ce9f73d93b13e57ff6b (patch) | |
| tree | bd0f9f00dd94df4e984a104d72cda5a5729de9e6 /files/.zsh | |
| parent | 76c95b3603e7a873fcc2a4d15303ef30d12a9f67 (diff) | |
[zsh] Updates
Diffstat (limited to 'files/.zsh')
| -rw-r--r-- | files/.zsh/rc/S30_binds | 1 | ||||
| -rw-r--r-- | files/.zsh/rc/S40_completion | 1 | ||||
| -rw-r--r-- | files/.zsh/rc/S50_aliases | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/files/.zsh/rc/S30_binds b/files/.zsh/rc/S30_binds index 4cfeb7a..300ab27 100644 --- a/files/.zsh/rc/S30_binds +++ b/files/.zsh/rc/S30_binds @@ -19,6 +19,7 @@ bindkey -v "^R" history-incremental-search-backward bindkey -v "^U" kill-whole-line bindkey -v "^V" quoted-insert bindkey -v "^W" backward-kill-word +bindkey -v "^h" backward-kill-word # delete last word with Ctrl+Backspace bindkey -v "^[w" backward-delete-to-slash bindkey -v "^N" down-history diff --git a/files/.zsh/rc/S40_completion b/files/.zsh/rc/S40_completion index 1af4e70..84a9e6a 100644 --- a/files/.zsh/rc/S40_completion +++ b/files/.zsh/rc/S40_completion @@ -73,6 +73,7 @@ __load_or_generate restic 'restic generate --zsh-completion /dev/stdout' __load_or_generate docker 'curl -sL "https://raw.githubusercontent.com/docker/cli/master/contrib/completion/zsh/_docker"' __load_or_generate docker-compose 'curl -sL "https://raw.githubusercontent.com/docker/compose/1.28.x/contrib/completion/zsh/_docker-compose"' __load_or_generate watson 'curl -sL "https://raw.githubusercontent.com/TailorDev/Watson/master/watson.zsh-completion"' +__load_or_generate cheat 'curl -sL "https://raw.githubusercontent.com/cheat/cheat/master/scripts/cheat.zsh"' compdef fdfind=fd diff --git a/files/.zsh/rc/S50_aliases b/files/.zsh/rc/S50_aliases index 3dd6e68..8e9c766 100644 --- a/files/.zsh/rc/S50_aliases +++ b/files/.zsh/rc/S50_aliases @@ -146,6 +146,7 @@ alias gst="git status" alias ghome='cd "$(git rev-parse --show-toplevel)"' test -f ~/bin/pandoc-filter-includes.py && alias pdoc='pandoc --standalone --filter ~/bin/pandoc-filter-includes.py' is_command pgcli && alias pgcli="pgcli --pgclirc ~/.config/pgcli/config --pgclirc ~/.config/pgcli/local.config" +alias pip3up="pip3 list --outdated | awk 'NR>2{print \$1}' | xargs --interactive pip3 install --no-cache-dir --upgrade" function mvn-or-mvnw() { if [ -x ./mvnw ]; then |
