1
0
mirror of git://git.code.sf.net/p/zsh/code synced 2024-09-28 15:01:21 +02:00

2280x: handle internationalized output and choices within brackets.

This commit is contained in:
Clint Adams 2006-10-03 06:45:35 +00:00
parent 03027f0f5f
commit dbdf1c271d
3 changed files with 8 additions and 4 deletions

@ -1,3 +1,9 @@
2006-10-03
* 2280x: Completion/Debian/Command/_dchroot,
Completion/Debian/Command/_dchroot-dsa: handle internationalized
output and choices within brackets.
2006-10-02 Peter Stephenson <pws@csr.com>
* unposted: INSTALL: correct opening remarks.

@ -22,7 +22,6 @@ _arguments -S \
case "$state" in
(chroot)
_wanted tag expl 'chroot' \
compadd ${(os:,:)${${${"$(dchroot -l)"#Available chroots: }/\[*\]/}//[
]/}}
compadd ${(os:,:)${${${"$(dchroot -l )"#*: }// /}//[[\]]/,}}
;;
esac

@ -21,7 +21,6 @@ _arguments -S \
case "$state" in
(chroot)
_wanted tag expl 'chroot' \
compadd ${(os:,:)${${${"$(dchroot -l)"#Available chroots: }/\[*\]/}//[
]/}}
compadd ${(os:,:)${${${"$(dchroot -l )"#*: }// /}//[[\]]/,}}
;;
esac