diff options
author | Jun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp> | 2017-12-28 11:35:34 +0900 |
---|---|---|
committer | Jun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp> | 2017-12-28 11:35:34 +0900 |
commit | d303dfa7f59aef999c43e2a7a56aac7099e40454 (patch) | |
tree | f0837ee5acf50bc88908b3ed8ca6764cd5210c3c /Completion/Unix/Command/_a2ps | |
parent | 24152f766f75bdc0efad109a8a9f8b164008fc1a (diff) | |
download | zsh-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/_a2ps | 2 |
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=( |