about summary refs log tree commit diff
path: root/Completion/Unix/Command/_rar
diff options
context:
space:
mode:
authorOliver Kiddle <opk@zsh.org>2014-10-14 23:03:40 +0200
committerOliver Kiddle <opk@zsh.org>2014-10-14 23:04:45 +0200
commit13fc579343b24d298fb8905933b6000d7fcda114 (patch)
treecbc1000696357438714107635f93166bcab76d3a /Completion/Unix/Command/_rar
parent66320ca93a717467a0ed0d34da4c06257953aa50 (diff)
downloadzsh-13fc579343b24d298fb8905933b6000d7fcda114.tar.gz
zsh-13fc579343b24d298fb8905933b6000d7fcda114.tar.xz
zsh-13fc579343b24d298fb8905933b6000d7fcda114.zip
33467: correct return status on functions and numerous other minor fixes
Diffstat (limited to 'Completion/Unix/Command/_rar')
-rw-r--r--Completion/Unix/Command/_rar10
1 files changed, 5 insertions, 5 deletions
diff --git a/Completion/Unix/Command/_rar b/Completion/Unix/Command/_rar
index 1e3a26166..e2081f6e7 100644
--- a/Completion/Unix/Command/_rar
+++ b/Completion/Unix/Command/_rar
@@ -38,7 +38,7 @@ common=(
 case $service in
   unrar)
     if (( CURRENT == 2 )); then
-       _values 'rar command' \
+      _values 'rar command' \
 	'e[extract files to current directory]' \
 	'l[list archive]' \
 	'lt[list archive (technical format)]' \
@@ -48,7 +48,7 @@ case $service in
 	'v[verbosely list archive]' \
 	'vt[verbosely list archive (technical format)]' \
 	'vb[verbosely list archive (bare format)]' \
-	'x[extract files with full path]' && return
+	'x[extract files with full path]'
     else
       _arguments -S \
 	'-ep3[expand paths to full including the drive letter]' \
@@ -58,7 +58,7 @@ case $service in
 	'-n+:file to include:_files' \
 	'-n@+:file of files to include:_files' \
         "$common[@]" \
-        '*:RAR files:_files -g \*.rar\(-.\)' && return
+        '*:RAR files:_files -g \*.rar\(-.\)'
     fi
   ;;
   rar)
@@ -89,7 +89,7 @@ case $service in
 	'v[verbosely list archive]' \
 	'vt[verbosely list archive (technical format)]' \
 	'vb[verbosely list archive (bare format)]' \
-	'x[extract files with full path]' && return
+	'x[extract files with full path]'
     else
       _arguments -S \
 	'-ag[generate archive name using the current date]' \
@@ -126,7 +126,7 @@ case $service in
 	'-w+[assign work directory]:work directory:_files -/' \
 	"$common[@]" \
 	'-z+[read archive comment from file]:comment file:_files' \
-	'*:files:_files' && return
+	'*:files:_files'
     fi
   ;;
 esac