1
0
mirror of https://github.com/Tarrasch/zsh-autoenv.git synced 2024-11-29 09:50:59 +02:00

Unset global variabels.

_autoenv_source_dir & _autoenv_chpwd_prev_dir are globally set
and they pollute my prompt when I cd into those directories.
This commit is contained in:
Srijan R Shetty 2015-05-25 18:37:44 +05:30
parent 631ea30440
commit 4d32b84f5c

View File

@ -355,3 +355,7 @@ add-zsh-hook chpwd _autoenv_chpwd_handler
# Look in current directory already.
_autoenv_chpwd_handler
# Unset global varaibles
unset _autoenv_source_dir
unset _autoenv_chpwd_prev_dir