From 4eefeaae016582161e77f1531c666323fcacd249 Mon Sep 17 00:00:00 2001 From: "flyingscorpio@archlinuxvm" Date: Wed, 25 Nov 2020 09:35:32 +0100 Subject: [PATCH] Make default lookup for argcomplete local for speed --- dotfiles/zsh/zshrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dotfiles/zsh/zshrc b/dotfiles/zsh/zshrc index f742332..0941d77 100644 --- a/dotfiles/zsh/zshrc +++ b/dotfiles/zsh/zshrc @@ -40,7 +40,7 @@ setopt COMPLETE_ALIASES case "$TERM" in xterm-kitty) kitty + complete setup zsh | source /dev/stdin esac -if pip show argcomplete >/dev/null 2>&1; then +if [ -e /usr/lib/python3*/site-packages/argcomplete ] || pip show argcomplete >/dev/null 2>&1; then autoload -U bashcompinit bashcompinit eval "$(register-python-argcomplete schedule-timer acnt)"