3 ms·
It returns non-zero exit codes when there are no matches or no selections made, so you can shorten that: fuzz() { file=$(fzf) && nvim "$file"; }
by addingnumbers 4y ago
It returns non-zero exit codes when there are no matches or no selections made, so you can shorten that:
fuzz() { file=$(fzf) && nvim "$file"; }