Created
March 13, 2017 21:05
-
-
Save nnja/4c61ae4410f2295db2ed81c740c30019 to your computer and use it in GitHub Desktop.
Update SSH_AUTH_SOCK in tmux session
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alias fixssh='eval $(tmux showenv -s SSH_AUTH_SOCK)' | |
Or for tmux that does not have showenv -s: | |
alias fixssh='export $(tmux showenv SSH_AUTH_SOCK)' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment