Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
addingnumbers
on March 21, 2023
|
parent
|
context
|
favorite
| on:
So you've installed `fzf` – now what?
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: