Fix confition in zshrc

This commit is contained in:
flyingscorpio@arch-desktop 2023-04-12 19:17:15 +02:00
parent 72d05fe624
commit bfd91fe345

View file

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