diff options
Diffstat (limited to '.zsh/ssh-agent-setup.sh')
-rw-r--r-- | .zsh/ssh-agent-setup.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/.zsh/ssh-agent-setup.sh b/.zsh/ssh-agent-setup.sh index 0e23609..989192f 100644 --- a/.zsh/ssh-agent-setup.sh +++ b/.zsh/ssh-agent-setup.sh @@ -2,7 +2,7 @@ if [ -z "$(ps -e | grep ssh-agent)" ]; then # ssh-agent does not seem to be running, start it - ssh-agent | sed -r '/echo Agent pid [0-9]+;/d' > ~/.sshsession + ssh-agent | sed -r '/echo Agent pid [0-9]+;/d' > "$HOME/.ssh/session" fi -eval $(<~/.sshsession) +eval $(<"$HOME/.ssh/session") |