From 13fc579343b24d298fb8905933b6000d7fcda114 Mon Sep 17 00:00:00 2001 From: Oliver Kiddle Date: Tue, 14 Oct 2014 23:03:40 +0200 Subject: 33467: correct return status on functions and numerous other minor fixes --- Completion/Debian/Command/_apt-move | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'Completion/Debian/Command/_apt-move') diff --git a/Completion/Debian/Command/_apt-move b/Completion/Debian/Command/_apt-move index a72378e6f..6911ef6f1 100644 --- a/Completion/Debian/Command/_apt-move +++ b/Completion/Debian/Command/_apt-move @@ -1,6 +1,6 @@ #compdef apt-move -local curcontext="$curcontext" state line cmds ret=1 +local curcontext="$curcontext" state line expl cmds ret=1 typeset -A opt_args _arguments -C \ @@ -45,7 +45,10 @@ case $state in _files -g "*.d(sc|eb)(-.)" && ret=0 ;; listbin) - _wanted lists expl list compadd mirror sync repo + _wanted lists expl list compadd mirror sync repo && ret=0 + ;; + *) + _default && ret=0 ;; esac ;; -- cgit 1.4.1