X-Git-Url: https://arthur.barton.de/gitweb/?a=blobdiff_plain;f=core%2F50_axzsh%2Ffunctions%2F_axzsh;fp=core%2F50_axzsh%2Ffunctions%2F_axzsh;h=e3ae1755dd2702ade47c96a63b1e7745296a195c;hb=23e52508a920ae18677a9cebc9522dedf2209b4c;hp=d8ed1b9019caa5606aa96772e408576bd68cfc72;hpb=5c3ee2ff652a8286774ab3b8554a9cc1c58b252a;p=ax-zsh.git diff --git a/core/50_axzsh/functions/_axzsh b/core/50_axzsh/functions/_axzsh index d8ed1b9..e3ae175 100644 --- a/core/50_axzsh/functions/_axzsh +++ b/core/50_axzsh/functions/_axzsh @@ -21,11 +21,10 @@ _axzshctl() { 'args') case "$words[2]" in "enable-plugin"|"disable-plugin") - compadd "$@" $(ls -1 "$AXZSH"/plugins) + compadd "$@" -- $(ls -1 "$AXZSH"/plugins) ;; "set-theme") - [[ -z $words[3] ]] \ - && compadd "$@" -- "-" $(ls -1 "$AXZSH"/themes | cut -d'.' -f1) + compadd "$@" -- "-" $(ls -1 "$AXZSH"/themes | cut -d'.' -f1) ;; esac ;;