about summary refs log tree commit diff
path: root/Completion/Unix/Command/_a2ps
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/_a2ps
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/_a2ps')
-rw-r--r--Completion/Unix/Command/_a2ps2
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/Unix/Command/_a2ps b/Completion/Unix/Command/_a2ps
index c700c205d..aa2f4c3ba 100644
--- a/Completion/Unix/Command/_a2ps
+++ b/Completion/Unix/Command/_a2ps
@@ -7,7 +7,7 @@ if [[ "$words[1]" != "$_cache_a2ps_cmd" ]]; then
 
   _cache_a2ps_cmd="$words[1]"
 
-  descr=( "${(@)${(f@)$(_call_program features LC_ALL=C $words[1] --list=features)//
+  descr=( "${(@)${(f@)$(_call_program features $words[1] --list=features)//
  /	}:#}" )
 
   _cache_a2ps_values=(