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/Debian/Command | |
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/Debian/Command')
-rw-r--r-- | Completion/Debian/Command/_aptitude | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/Debian/Command/_aptitude b/Completion/Debian/Command/_aptitude index b2b54599f..f79a100a8 100644 --- a/Completion/Debian/Command/_aptitude +++ b/Completion/Debian/Command/_aptitude @@ -80,7 +80,7 @@ _arguments -C \ case $state in cmds) - cmds=( ${${(M)${(f)"$(LC_ALL=C _call_program commands aptitude -h 2>/dev/null)"}:# [^- ][^ ]## *}/(#b) ([^ ]##) ##(- )#([^- ]*)/$match[1]:$match[3]:l}) + cmds=( ${${(M)${(f)"$(_call_program commands aptitude -h 2>/dev/null)"}:# [^- ][^ ]## *}/(#b) ([^ ]##) ##(- )#([^- ]*)/$match[1]:$match[3]:l}) _describe -t commands 'aptitude command' cmds && ret=0 ;; |