Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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"; }


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: