Add fuzzy non case sensistive search

This commit is contained in:
2023-03-21 18:23:29 -03:00
parent e1eaa3c6ad
commit b4e9501bdb
4 changed files with 21 additions and 17 deletions
+2
View File
@@ -586,6 +586,8 @@ class connapp:
#Generates an inquirer list to pick
if FzfPrompt and self.fzf:
fzf = FzfPrompt(executable_path="fzf-tmux")
if not self.case:
fzf = FzfPrompt(executable_path="fzf-tmux -i")
answer = fzf.prompt(list, fzf_options="-d 25%")
if len(answer) == 0:
return