add sshagent in zsh file
This commit is contained in:
parent
79d3d42b96
commit
1fd5d2991b
@ -15,3 +15,7 @@ else
|
|||||||
eval `dircolors ~/.dircolors/dircolors.ansi-dark`
|
eval `dircolors ~/.dircolors/dircolors.ansi-dark`
|
||||||
fi
|
fi
|
||||||
zstyle ':completion:*:default' list-colors ${(s.:.)LS_COLORS}
|
zstyle ':completion:*:default' list-colors ${(s.:.)LS_COLORS}
|
||||||
|
if [ -z "$SSH_AUTH_SOCK" ] ; then
|
||||||
|
eval `ssh-agent -s`
|
||||||
|
ssh-add
|
||||||
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user