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