PATH=$PATH:${HOME}/bin:${HOME}/.local/bin # Set Vars for ssh via gpg export GPG_TTY=$(tty) export SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket) #gpgconf --launch gpg-agent export ZSH_TMUX_AUTOSTART=true export EDITOR=nvim # Prefer case sensitive autocomplete export CASE_SENSITIVE="true" # Default all my venv to python3 export AUTOSWITCH_DEFAULT_PYTHON=$(which python3) # My prompt reflects my venv automatically, don't pollute it by default export VIRTUAL_ENV_DISABLE_PROMPT=1 source <(kubectl completion zsh) source <(zoxide init zsh) # Code to maintain pagent connections to tmux through link drops #SOCK="/tmp/ssh-agent-$USER-tmux" #if test $SSH_AUTH_SOCK && [ $SSH_AUTH_SOCK != $SOCK ]; then # rm -f $SOCK # ln -sf $SSH_AUTH_SOCK $SOCK # SSH_AUTH_SOCK=$SOCK #fi source "$ZDOTDIR/lib/zplug.zsh" source "$ZDOTDIR/lib/aliases.zsh" source "$ZDOTDIR/lib/autocomplete_overrides.zsh" source "$ZDOTDIR/lib/git.zsh" source "$ZDOTDIR/lib/history.zsh" # Source me _after_ zplug to override their defaults source "$ZDOTDIR/lib/keybinds.zsh"