From 6fe635655e4936a0ef96ea7dc8c94b95046886a5 Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Tue, 8 Oct 2019 15:51:12 +0200 Subject: zshrc: Add aliases for tig and sshrc Signed-off-by: Florian Pritz --- .zshrc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.zshrc b/.zshrc index 0e45a81..a47b85e 100644 --- a/.zshrc +++ b/.zshrc @@ -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=() -- cgit v1.2.3-24-g4f1b