rupa / z

z - jump around

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

z stopped indexing new directories

tarasowski opened this issue · comments

Hi guys,

first of all, thank you for the amazing tool. But some time ago z just stopped to index new directories. I can't figure out the exact moment. The .z stays always the same all the time, nothing happens to it. But the z command is still working. I'm on mac os mojave 10.14.6.

Thanks in advance,
Dimitri

commented

my guess is you are using bash?

you probably installed something that alters PROMPT_COMMAND and doesn't play nicely with what's already there.
or, you just lost the step that sources z and updates PROMPT_COMMAND in the first place.

Yes I'm using bash. Indeed there is a script that alters the PROMPT_COMMAND. Just moved the step that sources z to the bottom of the file. It works now. Thanks!