mirror of
https://github.com/robbyrussell/oh-my-zsh.git
synced 2025-12-06 07:20:40 +01:00
11 lines
131 B
Bash
11 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
|