1
0
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:
Oliver Kiddle 2005-08-10 12:08:56 +00:00
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
;;