diff options
Diffstat (limited to '')
-rw-r--r-- | .bashrc | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -45,3 +45,10 @@ a_prompt() { printf $cwd } PS1="\u@\h \$(a_prompt)> " + +if ! pgrep -u "$USER" ssh-agent > /dev/null; then + ssh-agent > ~/.ssh-agent-thing +fi +if [[ ! "$SSH_AUTH_SOCK" ]]; then + eval "$(<~/.ssh-agent-thing)" +fi |