added stuff

This commit is contained in:
ry
2022-01-13 10:58:25 -08:00
parent 9e895e5b12
commit 14b473cb6e
2 changed files with 16 additions and 0 deletions

View File

@@ -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