From bfd91fe345315e5e8575c8b0e91bf0a73607fd3a Mon Sep 17 00:00:00 2001 From: "flyingscorpio@arch-desktop" Date: Wed, 12 Apr 2023 19:17:15 +0200 Subject: [PATCH] Fix confition in zshrc --- roles/zsh/templates/zshrc.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)"