about summary refs log tree commit diff
path: root/Completion/Unix/Command/_tar
diff options
context:
space:
mode:
authorJun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>2019-09-20 12:41:54 +0900
committerJun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>2019-09-20 12:41:54 +0900
commit39e39910eb9180bce87c664ab1fe90e97845f01e (patch)
tree2c723cdced0c10c1c396c13b668ff4f976125e62 /Completion/Unix/Command/_tar
parentbed4e91681ca5d5a54c2de171e1b25f98c85619e (diff)
downloadzsh-39e39910eb9180bce87c664ab1fe90e97845f01e.tar.gz
zsh-39e39910eb9180bce87c664ab1fe90e97845f01e.tar.xz
zsh-39e39910eb9180bce87c664ab1fe90e97845f01e.zip
44768: _tar: improve completion of long options
Diffstat (limited to 'Completion/Unix/Command/_tar')
-rw-r--r--Completion/Unix/Command/_tar2
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/Unix/Command/_tar b/Completion/Unix/Command/_tar
index 727fbd6b5..f9901c0c9 100644
--- a/Completion/Unix/Command/_tar
+++ b/Completion/Unix/Command/_tar
@@ -99,7 +99,7 @@ if [[ "$PREFIX" = --* ]]; then
 
   # ...long options after `--'.
 
-  _arguments -- -l '--owner=*:user:_users' \
+  _arguments '-f+:' '-C+:' '*: : true' -- -l '--owner=*:user:_users' \
 		 '--group=*:group:_groups' \
 		 '--atime-preserve*::method:(replace system)' \
 		 '--*-script=NAME:script file:_files' \