From 6db5936c26ad7b96fb4c38b43ac68d9ad0f55f38 Mon Sep 17 00:00:00 2001 From: Mike Beattie Date: Sun, 27 May 2018 21:44:38 +1200 Subject: ZSH: add 'fixssh' alias for tmux sessions Signed-off-by: Mike Beattie --- .zshrc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.zshrc b/.zshrc index 62a7bd0..071660e 100644 --- a/.zshrc +++ b/.zshrc @@ -132,6 +132,8 @@ alias du='du -h' alias ftp=ncftp alias mtr='mtr --curses' +alias fixssh='eval $(tmux showenv -s SSH_AUTH_SOCK)' + # I don't like the zsh builtin time command. if [ -e /usr/bin/time ] ; then alias time=/usr/bin/time ; fi -- cgit v1.2.3