1
0
mirror of git://git.code.sf.net/p/zsh/code synced 2024-10-02 08:51:18 +02:00

fix for completion of `netscape -remote' (11460)

This commit is contained in:
Sven Wischnowsky 2000-05-18 11:04:34 +00:00
parent ca670d4d27
commit 191930e8fb
2 changed files with 6 additions and 9 deletions

@ -1,5 +1,8 @@
2000-05-18 Sven Wischnowsky <wischnow@zsh.org>
* 11460: Completion/User/_netscape: fix for completion of
`netscape -remote'
* 11459: Completion/Core/_main_complete, Doc/Zsh/compsys.yo: allow
_main_complete to call an arbitrary command given as arguments

@ -56,15 +56,9 @@ if [[ "$state" = "remote" ]]; then
fi
;;
*)
if [[ -z "$QIPREFIX" ]]; then
_wanted commands expl 'remote commands' \
compadd -s'(' -S '' -M 'm:{a-zA-Z}={A-Za-z}' - \
$remote_commands && ret=0
else
_wanted commands expl 'remote commands' \
compadd -qS '(' -M 'm:{a-zA-Z}={A-Za-z}' - \
$remote_commands && ret=0
fi
_wanted commands expl 'remote commands' \
compadd -qS "${${QIPREFIX:+(}:-\(}" -M 'm:{a-zA-Z}={A-Za-z}' - \
$remote_commands && ret=0
;;
esac
fi