Use fzf-tmux for fm function

This commit is contained in:
punkfairie 2024-02-10 19:48:38 -08:00
parent 532c7c1289
commit 71574eeb72
No known key found for this signature in database
GPG key ID: 0858B0F48128A755

View file

@ -1,5 +1,5 @@
#!/usr/bin/env fish
function fm --wraps=fzf -d "Use fzf as a simple file viewer"
find . -type d | fzf --preview='eza --color=always -T {} | head -n 50'
find . -type d | fzf-tmux -p 90%,95% --preview='eza --color=always -T {} | head -n 50'
end