Skip to content

Commit

Permalink
ssh: make sure grep command is called
Browse files Browse the repository at this point in the history
  • Loading branch information
julian7 committed Feb 10, 2016
1 parent d7b410a commit 5e9b81b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zsh.d/ssh.zsh
@@ -1,7 +1,7 @@
: ${HOSTNAME:=$(hostname)}
: ${SSHTOKEN:=$HOME/.ssh/token-$HOSTNAME}
function _save_ssh_agent() {
set | grep -a SSH_AUTH_SOCK > $SSHTOKEN
set | command grep -a SSH_AUTH_SOCK > $SSHTOKEN
}

function _set_ssh_agent() {
Expand Down

0 comments on commit 5e9b81b

Please sign in to comment.