Closed srijanshetty closed 9 years ago
LGTM.
You are using zsh's AUTO_NAME_DIRS
option, aren't you?
We should fix this by unsetting this option temporarily / locally instead when assigning to these globals probably.
@blueyed : Yes. Now, I'm unsure as to disable AUTO_NAME_DIRS or to unset globals. Is there a way to eliminate the globals?
Unsetting them is not an option, but it seems like we can just get rid of them. See #34.
I'll merge it once Travis tests pass.
@srijanshetty Thanks for the report, and bringing it to our attention!
Having less code/globals is always nice! :)
_autoenv_source_dir & _autoenv_chpwd_prev_dir are globally set and they pollute my prompt when I cd into those directories