about summary refs log tree commit diff
path: root/Completion/Debian
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/Debian
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/Debian')
-rw-r--r--Completion/Debian/Command/_aptitude2
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
   ;;