From eeb5b6c941c7ae0ec832e9ce569b23ee02169b26 Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Wed, 4 Nov 2009 11:33:59 +0000 Subject: Mikael: 27347: enhance extended attribute support --- Completion/Zsh/Command/_zattr | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Completion/Zsh/Command') 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 -- cgit 1.4.1