mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 14:49:14 +00:00
add(fish): fuzzy complete in fish and better fzf theme (finally ✨)
This commit is contained in:
parent
b61cdb853c
commit
85e11cafc7
2 changed files with 16 additions and 1 deletions
7
.config/fish/functions/fuzzy_complete.fish
Normal file
7
.config/fish/functions/fuzzy_complete.fish
Normal 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
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue