mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-14 01:40:09 +00:00
10 lines
131 B
Bash
10 lines
131 B
Bash
#!/bin/zsh
|
|
|
|
source_env() {
|
|
if [[ -f .env ]]; then
|
|
source .env
|
|
fi
|
|
}
|
|
|
|
autoload -U add-zsh-hook
|
|
add-zsh-hook chpwd source_env
|