Skip to content

Commit

Permalink
fix: prefix completion in quote string
Browse files Browse the repository at this point in the history
close #447
  • Loading branch information
Aloxaf committed Jun 11, 2024
1 parent c7fb028 commit c3d8865
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions fzf-tab.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -123,11 +123,10 @@ builtin unalias -m '[^+]*'
fi
;;
*)

if (( ! _ftb_continue_last )) \
&& [[ $compstate[insert] == *"unambiguous" ]] \
&& [[ -n $compstate[unambiguous] ]] \
&& [[ "$compstate[unambiguous]" != "$IPREFIX$PREFIX" ]]; then
&& [[ "$compstate[unambiguous]" != "$compstate[quote]$IPREFIX$PREFIX$compstate[quote]" ]]; then
compstate[list]=
compstate[insert]=unambiguous
_ftb_finish=1
Expand Down

0 comments on commit c3d8865

Please sign in to comment.