sundry/zsh/zshrc

37 lines
1.0 KiB
Bash
Raw Normal View History

2020-09-04 13:12:11 -04:00
PATH=$PATH:${HOME}/bin:${HOME}/.local/bin
2024-04-10 21:46:57 -04:00
# 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
2024-04-10 21:46:57 -04:00
export EDITOR=nvim
# Prefer case sensitive autocomplete
export CASE_SENSITIVE="true"
# Default all my venv to python3
export AUTOSWITCH_DEFAULT_PYTHON=$(which python3)
2024-04-10 21:46:57 -04:00
# My prompt reflects my venv automatically, don't pollute it by default
export VIRTUAL_ENV_DISABLE_PROMPT=1
# 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"
source <(kubectl completion zsh)
source <(zoxide init zsh)