Only set 'SSH_AUTH_SOCK' out of ssh session
parent
ae567ecb58
commit
64b0958236
6
.bashrc
6
.bashrc
|
@ -109,3 +109,9 @@ export JUPYTERLAB_DIR=$HOME/.local/share/jupyter/lab
|
||||||
|
|
||||||
# Zettelkasten {{{
|
# Zettelkasten {{{
|
||||||
export ZK_PATH="$HOME/.zk"
|
export ZK_PATH="$HOME/.zk"
|
||||||
|
|
||||||
|
# SSH Agent {{{
|
||||||
|
if [[ -z "${SSH_CONNECTION}" ]]; then
|
||||||
|
export SSH_AUTH_SOCK="$XDG_RUNTIME_DIR/ssh-agent.socket"
|
||||||
|
fi
|
||||||
|
# }}}
|
||||||
|
|
Loading…
Reference in New Issue