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

One useful thing I discovered recently about zoxide is that it has a basedir flag, so in theory you scan scope your query to the directory you’re in or based off some git root.

something like

alias zg=‘zoxide —basedir $(git rev-parse --show-toplevel)’

https://github.com/ajeetdsouza/zoxide/pull/1027



Wow! That's really useful!


Yes, thanks!




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

Search: