Hacker News new | ask | show | jobs
by addingnumbers 1184 days 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"; }