mirror of
git://git.code.sf.net/p/zsh/code
synced 2024-11-19 13:33:52 +01:00
* unposted: add missing compset -S calls to _w3m
This commit is contained in:
parent
198bd8f9e6
commit
3538c874b1
@ -1,5 +1,8 @@
|
||||
2005-07-03 Doug Kearns <djkea2@gus.gscit.monash.edu.au>
|
||||
|
||||
* unposted: Completion/Unix/Command/_w3m: add missing compset -S calls
|
||||
when completing option names and proxy usernames
|
||||
|
||||
* 21400: Completion/Unix/Command/_ruby: add completion for RUBYOPT,
|
||||
RUBYLIB and RUBYPATH env variables
|
||||
|
||||
|
@ -55,6 +55,8 @@ _arguments -C \
|
||||
'-debug' \
|
||||
'(-B -v)*:URL:->html' && ret=0
|
||||
|
||||
local -a suf
|
||||
|
||||
case "$state" in
|
||||
charset)
|
||||
local -a charsets
|
||||
@ -91,14 +93,16 @@ case "$state" in
|
||||
if compset -P '*='; then
|
||||
_message -e values 'value'
|
||||
else
|
||||
_describe -t options 'option' options -S '=' && ret=0
|
||||
compset -S '=*' || suf=( -S '=' )
|
||||
_describe -t options 'option' options "$suf[@]" && ret=0
|
||||
fi
|
||||
;;
|
||||
pauth)
|
||||
if compset -P '*:'; then
|
||||
_message -e passwords 'password'
|
||||
else
|
||||
_users -S ':' && ret=0
|
||||
compset -S ':*' || suf=( -S ':' )
|
||||
_users "$suf[@]" && ret=0
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
|
Loading…
Reference in New Issue
Block a user