summaryrefslogtreecommitdiffstats
path: root/Completion/Unix/Command/_attr
diff options
context:
space:
mode:
Diffstat (limited to 'Completion/Unix/Command/_attr')
-rw-r--r--Completion/Unix/Command/_attr6
1 files changed, 2 insertions, 4 deletions
diff --git a/Completion/Unix/Command/_attr b/Completion/Unix/Command/_attr
index efa7c5c4f..208c46db6 100644
--- a/Completion/Unix/Command/_attr
+++ b/Completion/Unix/Command/_attr
@@ -2,11 +2,9 @@
case $service in
attr)
- local -a list
- [[ $OSTYPE = irix* ]] &&
- list=( '(-g -s -r -V)-l[list extended attributes associated with file]' )
- _arguments -s -S "$list[@]" \
+ _arguments -s -S \
'(-l -r -s -V)-g[get extended attribute for file]:attribute name' \
+ '(-g -s -r -V)-l[list extended attributes associated with file]' \
'(-l -g -s -q -V)-r[remove given attribute from file]:attribute name' \
'(-l -g -r)-s[set named attribute for file]:attribute name' \
'(-r)-q[quiet output]' \