mirror of
git://git.code.sf.net/p/zsh/code
synced 2024-11-19 13:33:52 +01:00
21571: avoid localised translations that break parsing
This commit is contained in:
parent
0c301a8af6
commit
4fe6b1a1fc
@ -26,7 +26,7 @@ _arguments -C \
|
||||
|
||||
case $state in
|
||||
cmds)
|
||||
cmds=( ${${(M)${(f)"$(aptitude -h 2>/dev/null)"}:#* - *}/(#b) (*[^ ]) #- (*)/$match[1]:$match[2]:l})
|
||||
cmds=( ${${(M)${(f)"$(LC_ALL=C _call_program commands aptitude -h 2>/dev/null)"}:#* - *}/(#b) (*[^ ]) #- (*)/$match[1]:$match[2]:l})
|
||||
|
||||
_describe -t commands 'aptitude command' cmds && ret=0
|
||||
;;
|
||||
|
Loading…
Reference in New Issue
Block a user