Work on hydra completion
This commit is contained in:
parent
bf8b4cd633
commit
b48b2ca34e
1 changed files with 0 additions and 4 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue