mirror of
git://git.code.sf.net/p/zsh/code
synced 2024-11-19 21:44:11 +01:00
fix minor bug - -g to _files was missing despite presence of the glob
This commit is contained in:
parent
56565320c1
commit
58ff8e64c6
@ -5,6 +5,9 @@
|
||||
|
||||
2002-09-03 Oliver Kiddle <opk@zsh.org>
|
||||
|
||||
* unposted: Completion/Unix/Command/_lynx,
|
||||
Completion/Unix/Command/_links: minor bug fix (missing -g)
|
||||
|
||||
* Thomas Köhler: 176xx: Completion/Unix/Command/_ssh: also pass
|
||||
through -F option
|
||||
|
||||
|
@ -25,5 +25,5 @@ _arguments -C \
|
||||
':url:->html' && return 0
|
||||
|
||||
if [[ "$state" = html ]]; then
|
||||
_alternative 'files:file:_files "*.html"' 'urls:url:_urls'
|
||||
_alternative 'files:file:_files -g "*.x#html"' 'urls:url:_urls'
|
||||
fi
|
||||
|
@ -107,6 +107,6 @@ restrictions)
|
||||
outside_telnet print shell suspend telnet_port useragent
|
||||
;;
|
||||
html)
|
||||
_alternative 'files:file:_files "*.x#html"' 'urls:url:_urls'
|
||||
_alternative 'files:file:_files -g "*.x#html"' 'urls:url:_urls'
|
||||
;;
|
||||
esac
|
||||
|
Loading…
Reference in New Issue
Block a user