about summary refs log tree commit diff
path: root/Completion/Zsh
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2009-11-04 11:33:59 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2009-11-04 11:33:59 +0000
commiteeb5b6c941c7ae0ec832e9ce569b23ee02169b26 (patch)
tree8eb29700ba4d455fc2e96620ebbff96546dfb7c3 /Completion/Zsh
parenta92507d2b8c41daaed6e9a018086392d9600a37a (diff)
downloadzsh-eeb5b6c941c7ae0ec832e9ce569b23ee02169b26.tar.gz
zsh-eeb5b6c941c7ae0ec832e9ce569b23ee02169b26.tar.xz
zsh-eeb5b6c941c7ae0ec832e9ce569b23ee02169b26.zip
Mikael: 27347: enhance extended attribute support
Diffstat (limited to 'Completion/Zsh')
-rw-r--r--Completion/Zsh/Command/_zattr4
1 files changed, 2 insertions, 2 deletions
diff --git a/Completion/Zsh/Command/_zattr b/Completion/Zsh/Command/_zattr
index 56c754be6..cdc52281d 100644
--- a/Completion/Zsh/Command/_zattr
+++ b/Completion/Zsh/Command/_zattr
@@ -29,6 +29,6 @@ _arguments \
 esac
 
 if [[ $state = attrs ]]; then
-  zlistattr $~line[1] REPLY
-  _wanted attrs expl 'attribute' compadd ${(0)REPLY}
+  zlistattr $~line[1] REPLY 2> /dev/null
+  _wanted attrs expl 'attribute' compadd $REPLY
 fi