about summary refs log tree commit diff
path: root/Completion/Base
diff options
context:
space:
mode:
Diffstat (limited to 'Completion/Base')
-rw-r--r--Completion/Base/_arguments2
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/Base/_arguments b/Completion/Base/_arguments
index 591f49a6a..b9af1c072 100644
--- a/Completion/Base/_arguments
+++ b/Completion/Base/_arguments
@@ -113,7 +113,7 @@ if [[ "$*" != "$_args_cache_descr" ]]; then
 
       # Then we walk through the descriptions plus a few builtin ones.
 
-      set -- "${(@)argv[nth+1,-1]}" '*=FILE*:file:_files' \
+      set -- "$@" '*=FILE*:file:_files' \
              '*=(DIR|PATH)*:directory:_files -/' '*:unknown:'
 
       while (( $# )); do