about summary refs log tree commit diff
path: root/Completion/Base/_arguments
diff options
context:
space:
mode:
Diffstat (limited to 'Completion/Base/_arguments')
-rw-r--r--Completion/Base/_arguments6
1 files changed, 6 insertions, 0 deletions
diff --git a/Completion/Base/_arguments b/Completion/Base/_arguments
index bf263d6e9..29e5764fe 100644
--- a/Completion/Base/_arguments
+++ b/Completion/Base/_arguments
@@ -192,6 +192,12 @@ if (( $# )) && comparguments -i "$autod" "$@"; then
       if [[ -n "$matched" ]] || _requested arguments; then
         _description arguments expl "$descr"
 
+        if [[ "$action" = \=\ * ]]; then
+          action="$action[3,-1]"
+          words=( "$subc" "$words[@]" )
+	  (( CURRENT++ ))
+        fi
+
         if [[ "$action" = -\>* ]]; then
           comparguments -W line opt_args
           state="${${action[3,-1]##[ 	]#}%%[ 	]#}"