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:
parent
631ea30440
commit
4d32b84f5c
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user