diff options
-rw-r--r-- | .zshrc | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -642,6 +642,7 @@ alias sc='screen' alias scw='screen -X eval "chdir $PWD"' alias g='git' +alias t='tig' alias tiga='tig --all' alias xc="xclip" alias xcp="xclip -o | fb" @@ -750,6 +751,7 @@ zstyle ':completion:*:wine:*' file-patterns '*.(exe|EXE):exe' zstyle ':completion:*:(ssh|scp):*' users compdef sshrc=ssh +alias h=sshrc # complete ssh hostnames [[ -r ~/.ssh/known_hosts ]] && _ssh_hosts=(${${${${${${${(f)"$(<$HOME/.ssh/known_hosts)"}:#[\|]*}%%\ *}%%,*}%%:*}#\[}%\]}) || _ssh_hosts=() |