From: tfheen Date: Mon, 10 Oct 2011 05:54:34 +0000 (+0000) Subject: samhain does not use :, so do not add that X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8f8800567e0074acebc8d3a70744e522d6e9e3ff;p=dotfiles samhain does not use :, so do not add that git-svn-id: file:///svn/tfheen/trunk/dotfiles@1492 8da78d58-1cd3-0310-bee5-d77bd1b3e8bf --- diff --git a/zshfunc/_reinit-samhain-one b/zshfunc/_reinit-samhain-one index 667a698..40f236d 100644 --- a/zshfunc/_reinit-samhain-one +++ b/zshfunc/_reinit-samhain-one @@ -9,10 +9,10 @@ _reinit-samhain-one () { if [[ -n "$state" ]]; then if compset -P '*@'; then - _wanted hosts expl host _samhain_all_hosts -S: && ret=0 + _wanted hosts expl host _samhain_all_hosts && ret=0 else _alternative \ - 'hosts:: _samhain_all_hosts -S:' \ + 'hosts:: _samhain_all_hosts' \ 'users:: _samhain_users -qS@' && ret=0 fi fi @@ -20,11 +20,11 @@ _reinit-samhain-one () { } _samhain_users () { - _tags users && _combination -s '[@]' my-accounts users-hosts users "$@" + _tags users && _combination -s '@' my-accounts users-hosts users "$@" } _samhain_all_hosts () { - _tags hosts && _combination -s '[@]' my-accounts users-hosts hosts "$@" + _tags hosts && _combination -s '@' my-accounts users-hosts hosts "$@" } _reinit-samhain-one "$@"