dotfiles/.config/fish/functions/fm.fish

6 lines
161 B
Fish
Raw Normal View History

2024-02-21 20:35:47 -08:00
#!/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'
end