zshrc: disable manually running ssh-agent
This commit is contained in:
parent
dfb36fe2a7
commit
fefcda0019
16
.zshrc
16
.zshrc
@ -148,13 +148,15 @@
|
|||||||
LANG=en_GB.UTF-8
|
LANG=en_GB.UTF-8
|
||||||
http_proxy="http://localhost:8118"
|
http_proxy="http://localhost:8118"
|
||||||
|
|
||||||
if [ -z "$SSH_AUTH_SOCK" ]; then
|
## use omz plugin.
|
||||||
eval `ssh-agent -s -t6h` > /dev/null
|
#
|
||||||
if [ ! -S $HOME/.ssh/ssh_auth_sock ]; then
|
#if [ -z "$SSH_AUTH_SOCK" ]; then
|
||||||
ln -sf "$SSH_AUTH_SOCK" $HOME/.ssh/ssh_auth_sock
|
# eval `ssh-agent -s -t6h` > /dev/null
|
||||||
SSH_AUTH_SOCK=$HOME/.ssh/ssh_auth_sock
|
# if [ ! -S $HOME/.ssh/ssh_auth_sock ]; then
|
||||||
fi
|
# ln -sf "$SSH_AUTH_SOCK" $HOME/.ssh/ssh_auth_sock
|
||||||
fi
|
# SSH_AUTH_SOCK=$HOME/.ssh/ssh_auth_sock
|
||||||
|
# fi
|
||||||
|
#fi
|
||||||
|
|
||||||
|
|
||||||
export EDITOR='vim'
|
export EDITOR='vim'
|
||||||
|
Loading…
Reference in New Issue
Block a user