From 205cb16b98793c0db797b6f1a76492854a4afb55 Mon Sep 17 00:00:00 2001 From: Mikael Magnusson Date: Sat, 14 Mar 2015 04:37:55 +0100 Subject: Fix ~ and (Q) order in _zattr --- Completion/Zsh/Command/_zattr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Completion') diff --git a/Completion/Zsh/Command/_zattr b/Completion/Zsh/Command/_zattr index 73564172b..e48047f6c 100644 --- a/Completion/Zsh/Command/_zattr +++ b/Completion/Zsh/Command/_zattr @@ -28,7 +28,7 @@ _arguments \ esac && ret=0 if [[ $state = attrs ]]; then - zlistattr ${~${(Q)line[1]}} REPLY 2> /dev/null + zlistattr ${(Q)${~line[1]}} REPLY 2> /dev/null _wanted -C "$context[1]" attrs expl 'attribute' compadd -a REPLY && ret=0 fi -- cgit 1.4.1