ajeetdsouza / zoxide

A smarter cd command. Supports all major shells.
MIT License
20.29k stars 518 forks source link

Help with excluding dirs #797

Closed jacobrreed closed 2 months ago

jacobrreed commented 2 months ago
export _ZO_EXCLUDE_DIRS="/Applications/**:**/node_modules/**"

I have set before eval "$(zoxide init zsh --cmd cd --hook pwd)"

but when i do the following: image

I assume im passing in globs wrong? I've tried a few different variations to no avail

TLDR: I want to exclude /Applications and everything under it

jacobrreed commented 2 months ago

If i manually try to remove: image

but if i remove it using the edit command, it seems to go away, but would like it to never add it to database again?

jacobrreed commented 2 months ago

Nevermind, after deleting it from db with edit command and navigating to that directory, it doesnt add it to db