Skip to content

Commit

Permalink
[bash] stop updating prev
Browse files Browse the repository at this point in the history
  • Loading branch information
sharder996 committed Oct 3, 2023
1 parent 3f28037 commit 6b1e2cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion completions/bash/multipass
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ _multipass_complete()
{
local array=$1
local found
_get_comp_words_by_ref -n := -w WORDS -i CWORD cur prev
_get_comp_words_by_ref -n := -w WORDS -i CWORD cur
for item in $array; do
found=0
for ((i=2; i<CWORD; i++)); do
Expand Down

0 comments on commit 6b1e2cd

Please sign in to comment.