summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Beattie <mike@ethernal.org>2018-05-27 21:44:38 +1200
committerMike Beattie <mike@ethernal.org>2018-05-27 21:44:38 +1200
commit6db5936c26ad7b96fb4c38b43ac68d9ad0f55f38 (patch)
treedd12ef6628c8737408bc4088c226b83c72b2eae7
parentc6c21e68573f0db565347e698d3d9d492a9e3e5d (diff)
ZSH: add 'fixssh' alias for tmux sessions
Signed-off-by: Mike Beattie <mike@ethernal.org>
-rw-r--r--.zshrc2
1 files changed, 2 insertions, 0 deletions
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