add(fish): fuzzy complete in fish and better fzf theme (finally )

This commit is contained in:
Léana 江 2023-03-30 22:42:20 +02:00
parent b61cdb853c
commit 85e11cafc7
2 changed files with 16 additions and 1 deletions

View file

@ -0,0 +1,7 @@
function fuzzy_complete
set -f selected (complete -C | fzf -q (commandline -t) | cut -f1)
commandline --function repaint
commandline --current-token --replace -- (string escape -- $selected)
end