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>2017-12-28 11:35:34 +0900
committerJun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>2017-12-28 11:35:34 +0900
commitd303dfa7f59aef999c43e2a7a56aac7099e40454 (patch)
treef0837ee5acf50bc88908b3ed8ca6764cd5210c3c /Completion/Unix/Command/_tar
parent24152f766f75bdc0efad109a8a9f8b164008fc1a (diff)
downloadzsh-d303dfa7f59aef999c43e2a7a56aac7099e40454.tar.gz
zsh-d303dfa7f59aef999c43e2a7a56aac7099e40454.tar.xz
zsh-d303dfa7f59aef999c43e2a7a56aac7099e40454.zip
42175 + 42177 + 42178: avoid localized output from external commands
_call_program and '_arguments --' will call _comp_locale before
calling external command for easier analysis of the output.
This is disabled by passing an option '-l'.
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 ecf02fd83..cff50562e 100644
--- a/Completion/Unix/Command/_tar
+++ b/Completion/Unix/Command/_tar
@@ -99,7 +99,7 @@ if [[ "$PREFIX" = --* ]]; then
 
   # ...long options after `--'.
 
-  _arguments --  '--owner=*:user:_users' \
+  _arguments -- -l '--owner=*:user:_users' \
 		 '--group=*:group:_groups' \
 		 '--atime-preserve*::method:(replace system)' \
 		 '--*-script=NAME:script file:_files' \