diff --git a/roles/zsh/templates/zshrc.j2 b/roles/zsh/templates/zshrc.j2 index 10ad5ce..653dc18 100644 --- a/roles/zsh/templates/zshrc.j2 +++ b/roles/zsh/templates/zshrc.j2 @@ -41,7 +41,7 @@ case "$TERM" in xterm-kitty) kitty + complete setup zsh | source /dev/stdin esac {% if ansible_facts['distribution'] == 'Archlinux' %} -if [ -e /usr/lib/python3*/site-packages/argcomplete ] || 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)"