From b7067cd0d905953815c9b82c22d320ed8163aad4 Mon Sep 17 00:00:00 2001 From: Orien Vandenbergh Date: Mon, 20 May 2024 20:17:38 -0400 Subject: [PATCH] Move the completion definitions below the compinit call (in zplug) --- zsh/zshrc | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/zsh/zshrc b/zsh/zshrc index 7645aab..948a9e5 100644 --- a/zsh/zshrc +++ b/zsh/zshrc @@ -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) +