Skip to content
Discussion options

You must be logged in to vote

Set zoxide's exclusion list before its shell initialization:

export _ZO_EXCLUDE_DIRS="$HOME:/persistent:/persistent/*"
eval "$(zoxide init bash)"

The colon-separated patterns exclude both /persistent and its descendants from ranked matches; $HOME preserves the usual home-directory exclusion. An explicit full path such as z /persistent/.config still navigates there. I checked both behaviors with zoxide 0.10.0. See the configuration docs.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by semi710
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants