Work on hydra completion

Jonathan Hodgson 5 years ago
parent 377f710c26
commit a7cc3123ac
  1. 4
      shells/zsh/completion/_hydra

@ -153,12 +153,8 @@ _arguments -C -s "${args[@]}" ':service:->hydra_service' && return
case $state in case $state in
hydra_service) hydra_service)
if compset -P "(${(j:|:)services})://"; then if compset -P "(${(j:|:)services})://"; then
notify-send "Line" "$line"
notify-send "Expl" "$expl"
_wanted servers expl 'server' _hosts && ret=0 _wanted servers expl 'server' _hosts && ret=0
else else
notify-send "Line" "$line"
notify-send "Expl" "$expl"
_wanted services expl $state_descr compadd -S '://' -q -a services && ret=0 _wanted services expl $state_descr compadd -S '://' -q -a services && ret=0
fi fi
;; ;;

Loading…
Cancel
Save