Remix.run Logo
kritr 4 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

hannesfur 4 days ago | parent [-]

Wow! That's really useful!

itsmevictor 3 days ago | parent [-]

Yes, thanks!