Aloxaf / fzf-tab

Replace zsh's default completion selection menu with fzf!
MIT License
2.98k stars 90 forks source link

[Q] can not use regex character, such as $ and . #403

Closed GladioFeng closed 4 months ago

GladioFeng commented 6 months ago

Describe your question

image

regex function does not work, hit $, but it does not work

image
Aloxaf commented 4 months ago

There are two reasons:

  1. fzf doesn't support search with regex: https://man.archlinux.org/man/fzf.1#EXTENDED_SEARCH_MODE
  2. fzf-tab will add some non-printable characters as seperator, so $ won't match suffix.
GladioFeng commented 4 months ago

@Aloxaf can I modify some setting to make $ match suffix? ^ can match prefix in my remote pc.