about summary refs log tree commit diff
path: root/Completion/Debian/Command/_dchroot
diff options
context:
space:
mode:
Diffstat (limited to 'Completion/Debian/Command/_dchroot')
-rw-r--r--Completion/Debian/Command/_dchroot3
1 files changed, 1 insertions, 2 deletions
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