added stuff
This commit is contained in:
@@ -23,3 +23,11 @@ ALIAS_LOCATION="$XDG_CONFIG_HOME/zsh/zsh_aliases"
|
||||
FUNCTION_LOCATION="$XDG_CONFIG_HOME/zsh/zsh_functions"
|
||||
source $ALIAS_LOCATION
|
||||
source $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
|
||||
|
||||
Reference in New Issue
Block a user