dotfiles/cli/.config/fish/functions/fm.fish.symlink

5 lines
177 B
Fish

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