Disable directory suggestions #498
-
Hello! Thanks for making this amazing project - I'm wondering if its possible to disable the "directory" auto complete / suggestion part. The reason for this is im using a built-in one already for my terminal. Here's an image for clarity! |
Beta Was this translation helpful? Give feedback.
Answered by
marlonrichert
Oct 22, 2022
Replies: 1 comment 5 replies
-
Add this to your zstyle ':completion:*:cd:*' tag-order '! (|*-)directories' - Note: If you're using OhMyZsh, you need to add the line after sourcing OMZ, because otherwise, OMZ will override it. |
Beta Was this translation helpful? Give feedback.
5 replies
Answer selected by
marlonrichert
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this to your
.zshrc
file:Note: If you're using OhMyZsh, you need to add the line after sourcing OMZ, because otherwise, OMZ will override it.