about summary refs log tree commit diff
path: root/Completion/Base
diff options
context:
space:
mode:
authorSven Wischnowsky <wischnow@users.sourceforge.net>2000-05-29 08:00:46 +0000
committerSven Wischnowsky <wischnow@users.sourceforge.net>2000-05-29 08:00:46 +0000
commita2750a4effef1db7966530cd39905dbb7cf2b99c (patch)
tree0ccf8cc00e18527fe9e59d093c20bcf0dbe812bf /Completion/Base
parent7a3ca7a673d98fcbe50c192cba6165d17505e394 (diff)
downloadzsh-a2750a4effef1db7966530cd39905dbb7cf2b99c.tar.gz
zsh-a2750a4effef1db7966530cd39905dbb7cf2b99c.tar.xz
zsh-a2750a4effef1db7966530cd39905dbb7cf2b99c.zip
fixes for _arguments with sets; make _zpty not use sets (11624)
Diffstat (limited to 'Completion/Base')
-rw-r--r--Completion/Base/_arguments6
1 files changed, 3 insertions, 3 deletions
diff --git a/Completion/Base/_arguments b/Completion/Base/_arguments
index 11c62705f..44895d9d3 100644
--- a/Completion/Base/_arguments
+++ b/Completion/Base/_arguments
@@ -293,9 +293,9 @@ if (( $# )) && comparguments -i "$autod" "$@"; then
             fi
           fi
         fi
-        shift "${#descrs} ? 1 : 0" descrs
-        shift "${#actions} ? 1 : 0" actions
-        shift "${#subcs} ? 1 : 0" subcs
+        shift descrs
+        shift actions
+        shift subcs
       done
 
       if [[ -z "$matched$hasopts" ]] && _requested options &&