diff options
author | Clint Adams <clint@users.sourceforge.net> | 2006-10-03 06:45:35 +0000 |
---|---|---|
committer | Clint Adams <clint@users.sourceforge.net> | 2006-10-03 06:45:35 +0000 |
commit | dbdf1c271d783ce2e50653b085510d5652616855 (patch) | |
tree | 82bd301faeea94691e5834a679ed244a970daecf | |
parent | 03027f0f5f9fdc14a705672129e59313867d92fe (diff) | |
download | zsh-dbdf1c271d783ce2e50653b085510d5652616855.tar.gz zsh-dbdf1c271d783ce2e50653b085510d5652616855.tar.xz zsh-dbdf1c271d783ce2e50653b085510d5652616855.zip |
2280x: handle internationalized output and choices within brackets.
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | Completion/Debian/Command/_dchroot | 3 | ||||
-rw-r--r-- | Completion/Debian/Command/_dchroot-dsa | 3 |
3 files changed, 8 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog index 57951de9c..46be4131e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -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. diff --git a/Completion/Debian/Command/_dchroot b/Completion/Debian/Command/_dchroot index ba2c5b3fa..43a797d83 100644 --- a/Completion/Debian/Command/_dchroot +++ b/Completion/Debian/Command/_dchroot @@ -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 diff --git a/Completion/Debian/Command/_dchroot-dsa b/Completion/Debian/Command/_dchroot-dsa index 7eeb1371d..bed4bcf19 100644 --- a/Completion/Debian/Command/_dchroot-dsa +++ b/Completion/Debian/Command/_dchroot-dsa @@ -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 |