diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | Completion/Zsh/Command/_zattr | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog index 9f523eb76..abc0a6aa6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2015-03-15 Mikael Magnusson <mikachu@gmail.com> + + * unposted: Completion/Zsh/Command/_zattr: Fix completion of + attributes for files with pattern characters. + 2015-03-10 Peter Stephenson <p.stephenson@samsung.com> * users/19985: Doc/Zsh/params.yo: improve doc of substring 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 |