Use systemd ssh-agent user unit socket if available
This commit is contained in:
parent
557e9c690d
commit
0dd992eb2f
4
zshrc
4
zshrc
@ -36,6 +36,10 @@ COMPLETION_WAITING_DOTS="true"
|
|||||||
# much faster.
|
# much faster.
|
||||||
# DISABLE_UNTRACKED_FILES_DIRTY="true"
|
# DISABLE_UNTRACKED_FILES_DIRTY="true"
|
||||||
|
|
||||||
|
if [[ -e "${XDG_RUNTIME_DIR}/ssh-agent.socket" ]]; then
|
||||||
|
export SSH_AUTH_SOCK="${XDG_RUNTIME_DIR}/ssh-agent.socket"
|
||||||
|
fi
|
||||||
|
|
||||||
path=(
|
path=(
|
||||||
$HOME/.rbenv/shims
|
$HOME/.rbenv/shims
|
||||||
$HOME/.pyenv/shims
|
$HOME/.pyenv/shims
|
||||||
|
Loading…
Reference in New Issue
Block a user