about summary refs log tree commit diff
path: root/Completion/Base/_precommand
diff options
context:
space:
mode:
Diffstat (limited to 'Completion/Base/_precommand')
-rw-r--r--Completion/Base/_precommand5
1 files changed, 3 insertions, 2 deletions
diff --git a/Completion/Base/_precommand b/Completion/Base/_precommand
index 2cf661147..c13cd7465 100644
--- a/Completion/Base/_precommand
+++ b/Completion/Base/_precommand
@@ -1,5 +1,6 @@
 #defcomp - nohup nice eval time rusage noglob nocorrect exec
 
-[[ -position 1 -1 ]]
+shift words
+(( CURRENT-- ))
 
-_normal "$@"
+_normal