summaryrefslogtreecommitdiff
path: root/Completion/Debian/Command/_dchroot-dsa
diff options
context:
space:
mode:
authorAxel Beckert <abe@deuxchevaux.org>2015-05-05 23:32:59 +0200
committerAxel Beckert <abe@deuxchevaux.org>2015-05-05 23:58:59 +0200
commitdb38e167634b6c2217eec3a5aafc37c46d9e5a8d (patch)
treedaa342d423febbd3a5a7ef97053037677fab004a /Completion/Debian/Command/_dchroot-dsa
parent01eea47617a6e06debdb4330f92ae69f92089fd2 (diff)
parent3c3c8d3d13fd4cf6c03f81ca8dc18a1efd561728 (diff)
downloadzsh-db38e167634b6c2217eec3a5aafc37c46d9e5a8d.tar.gz
zsh-db38e167634b6c2217eec3a5aafc37c46d9e5a8d.zip
Merge branch 'upstream' into debian
Diffstat (limited to 'Completion/Debian/Command/_dchroot-dsa')
-rw-r--r--Completion/Debian/Command/_dchroot-dsa8
1 files changed, 4 insertions, 4 deletions
diff --git a/Completion/Debian/Command/_dchroot-dsa b/Completion/Debian/Command/_dchroot-dsa
index bed4bcf19..d4668b553 100644
--- a/Completion/Debian/Command/_dchroot-dsa
+++ b/Completion/Debian/Command/_dchroot-dsa
@@ -19,8 +19,8 @@ _arguments -S \
'*::arguments: _normal' && return 0
case "$state" in
- (chroot)
- _wanted tag expl 'chroot' \
- compadd ${(os:,:)${${${"$(dchroot -l )"#*: }// /}//[[\]]/,}}
- ;;
+ chroot)
+ _wanted -C $context chroots expl 'chroot' \
+ compadd ${(os:,:)${${${"$(_call_program chroots dchroot -l )"#*: }// /}//[[\]]/,}}
+ ;;
esac