rupa / z

z - jump around
Do What The F*ck You Want To Public License
16.39k stars 1.17k forks source link

z stopped indexing new directories #274

Closed tarasowski closed 5 years ago

tarasowski commented 5 years ago

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

rupa commented 5 years ago

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.

tarasowski commented 5 years ago

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!