mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-15 01:48:34 -07:00
parent
9ecde7f732
commit
c781d708da
@ -1,5 +1,8 @@
|
||||
source_env() {
|
||||
if [[ -f .env ]]; then
|
||||
# test .env syntax
|
||||
zsh -fn .env || echo 'dotenv: error when sourcing `.env` file' >&2
|
||||
|
||||
if [[ -o a ]]; then
|
||||
source .env
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user