fixed
This commit is contained in:
@@ -20,10 +20,10 @@ FUNCTION_LOCATION="$XDG_CONFIG_HOME/zsh/zsh_functions"
|
||||
. $ALIAS_LOCATION
|
||||
. $FUNCTION_LOCATION
|
||||
|
||||
## SSH Agent
|
||||
if ! pgrep -u "$USER" ssh-agent > /dev/null; then
|
||||
ssh-agent > "$XDG_RUNTIME_DIR/ssh-agent.env"
|
||||
fi
|
||||
if [ ! "$SSH_AUTH_SOCK" ]; then
|
||||
. "$XDG_RUNTIME_DIR/ssh-agent.env" > /dev/null
|
||||
fi
|
||||
# ## SSH Agent
|
||||
# if ! pgrep -u "$USER" ssh-agent > /dev/null; then
|
||||
# ssh-agent > "$XDG_RUNTIME_DIR/ssh-agent.env"
|
||||
# fi
|
||||
# if [ ! "$SSH_AUTH_SOCK" ]; then
|
||||
# . "$XDG_RUNTIME_DIR/ssh-agent.env" > /dev/null
|
||||
# fi
|
||||
|
||||
Reference in New Issue
Block a user