Skip to content

Tab completion of standard directories and "z -" not working #835

Answered by alewis001
alewis001 asked this question in Q&A
Discussion options

You must be logged in to vote

As an update to this... I changed the eval to this eval "$(zoxide init --cmd cd zsh)" and cd tab completion appears to be working as normal but I think normal cd'ing is now recording results into the z history. So I think the behaviour I was expecting above was a misunderstanding on my part. I was expecting that using z directly would work exactly the same as cd from a tab completion point-of-view but instead you have to use the --cmd cd and have z replace cd to then use cd and z together.

I think what may have mislead me was watching videos of z being used and I thought I could see the z tab completion behaviour that I expected (I.e. the same as cd) but, without actually seeing the keys …

Replies: 1 comment

Comment options

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