mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-11-25 14:20:53 +01:00
fix for completion of `netscape -remote' (11460)
This commit is contained in:
parent
ca670d4d27
commit
191930e8fb
2 changed files with 6 additions and 9 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue