Move the completion definitions below the compinit call (in zplug)

This commit is contained in:
Orien Vandenbergh 2024-05-20 20:17:38 -04:00
parent 9a4a2c951e
commit b7067cd0d9

View File

@ -15,9 +15,6 @@ 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
@ -28,10 +25,12 @@ source <(zoxide init zsh)
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)