mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-08-07 06:08:39 +02:00
Export .env if you just open a new session
Otherwise you need to move from directories to make it works
This commit is contained in:
parent
c3b072eace
commit
a4460d7389
1 changed files with 1 additions and 0 deletions
|
|
@ -8,3 +8,4 @@ source_env() {
|
||||||
|
|
||||||
autoload -U add-zsh-hook
|
autoload -U add-zsh-hook
|
||||||
add-zsh-hook chpwd source_env
|
add-zsh-hook chpwd source_env
|
||||||
|
add-zsh-hook precmd source_env
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue