mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-03 10:21:46 +02:00
29741: _zattr: add ret=0 and fix filename globbing.
This commit is contained in:
parent
f3a6bf454d
commit
40a31c0180
2 changed files with 6 additions and 3 deletions
|
@ -10,6 +10,9 @@
|
||||||
|
|
||||||
* 29740: Completion/Unix/Command/_wget: add --content-disposition.
|
* 29740: Completion/Unix/Command/_wget: add --content-disposition.
|
||||||
|
|
||||||
|
* 29741: Completion/Zsh/Command/_zattr: add ret=0, fix filename
|
||||||
|
globbing like in 27658 for _zip.
|
||||||
|
|
||||||
2011-09-05 Barton E. Schaefer <schaefer@brasslantern.com>
|
2011-09-05 Barton E. Schaefer <schaefer@brasslantern.com>
|
||||||
|
|
||||||
* users/16302: Completion/Unix/Type/_path_files: pattern matching
|
* users/16302: Completion/Unix/Type/_path_files: pattern matching
|
||||||
|
@ -15377,5 +15380,5 @@
|
||||||
|
|
||||||
*****************************************************
|
*****************************************************
|
||||||
* This is used by the shell to define $ZSH_PATCHLEVEL
|
* This is used by the shell to define $ZSH_PATCHLEVEL
|
||||||
* $Revision: 1.5457 $
|
* $Revision: 1.5458 $
|
||||||
*****************************************************
|
*****************************************************
|
||||||
|
|
|
@ -26,9 +26,9 @@ _arguments \
|
||||||
'1:file:_files' \
|
'1:file:_files' \
|
||||||
'2:parameter'
|
'2:parameter'
|
||||||
;;
|
;;
|
||||||
esac
|
esac && ret=0
|
||||||
|
|
||||||
if [[ $state = attrs ]]; then
|
if [[ $state = attrs ]]; then
|
||||||
zlistattr $~line[1] REPLY 2> /dev/null
|
zlistattr ${~${(Q)line[1]}} REPLY 2> /dev/null
|
||||||
_wanted attrs expl 'attribute' compadd $REPLY
|
_wanted attrs expl 'attribute' compadd $REPLY
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue