mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-03-13 03:12:21 +01:00
Switch the directory with the wim key-binding
This commit is contained in:
parent
0222e77497
commit
2e136e574d
1 changed files with 5 additions and 1 deletions
|
|
@ -26,6 +26,11 @@ alias ...='cd ../../'
|
||||||
alias ....='cd ../../../'
|
alias ....='cd ../../../'
|
||||||
alias .....='cd ../../../../'
|
alias .....='cd ../../../../'
|
||||||
|
|
||||||
|
# Switch the directory with the vim key-binding
|
||||||
|
alias k='cd ../'
|
||||||
|
alias 2k='cd ../../'
|
||||||
|
alias 3k='cd ../../../'
|
||||||
|
|
||||||
# Command line head / tail shortcuts
|
# Command line head / tail shortcuts
|
||||||
alias -g H='| head'
|
alias -g H='| head'
|
||||||
alias -g T='| tail'
|
alias -g T='| tail'
|
||||||
|
|
@ -89,4 +94,3 @@ fi
|
||||||
|
|
||||||
# Make zsh know about hosts already accessed by SSH
|
# Make zsh know about hosts already accessed by SSH
|
||||||
zstyle -e ':completion:*:(ssh|scp|sftp|rsh|rsync):hosts' hosts 'reply=(${=${${(f)"$(cat {/etc/ssh_,~/.ssh/known_}hosts(|2)(N) /dev/null)"}%%[# ]*}//,/ })'
|
zstyle -e ':completion:*:(ssh|scp|sftp|rsh|rsync):hosts' hosts 'reply=(${=${${(f)"$(cat {/etc/ssh_,~/.ssh/known_}hosts(|2)(N) /dev/null)"}%%[# ]*}//,/ })'
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue