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)"