about summary refs log tree commit diff
path: root/Completion
diff options
context:
space:
mode:
authorMikael Magnusson <mikachu@gmail.com>2015-03-14 04:37:55 +0100
committerMikael Magnusson <mikachu@gmail.com>2015-03-15 00:42:01 +0100
commit205cb16b98793c0db797b6f1a76492854a4afb55 (patch)
tree036809b2407a452f93867c874ccf381429c4fbdf /Completion
parente85906ebc970be9c5114f10dd5869c5cdaca9a65 (diff)
downloadzsh-205cb16b98793c0db797b6f1a76492854a4afb55.tar.gz
zsh-205cb16b98793c0db797b6f1a76492854a4afb55.tar.xz
zsh-205cb16b98793c0db797b6f1a76492854a4afb55.zip
Fix ~ and (Q) order in _zattr
Diffstat (limited to 'Completion')
-rw-r--r--Completion/Zsh/Command/_zattr2
1 files changed, 1 insertions, 1 deletions
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