Commit 9ecde7f7 authored by Marc Cornellà's avatar Marc Cornellà
Browse files

dotenv: call function on startup

Fixes #7017
parent 8961a379
#!/bin/zsh
source_env() {
if [[ -f .env ]]; then
if [[ -o a ]]; then
......@@ -14,3 +12,5 @@ source_env() {
autoload -U add-zsh-hook
add-zsh-hook chpwd source_env
source_env
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment