Hacker News new | ask | show | jobs
by kritr 265 days ago
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

1 comments

Wow! That's really useful!
Yes, thanks!