mirror of
https://github.com/robbyrussell/oh-my-zsh.git
synced 2026-10-02 16:03:47 +02:00
1 parent
8961a3794c
commit
9ecde7f732
1 file changed
+2
-2
@@ -1,5 +1,3 @@
|
|||||||
#!/bin/zsh
|
|
||||||
|
|
||||||
source_env() {
|
source_env() {
|
||||||
if [[ -f .env ]]; then
|
if [[ -f .env ]]; then
|
||||||
if [[ -o a ]]; then
|
if [[ -o a ]]; then
|
||||||
@@ -14,3 +12,5 @@ source_env() {
|
|||||||
|
|
||||||
autoload -U add-zsh-hook
|
autoload -U add-zsh-hook
|
||||||
add-zsh-hook chpwd source_env
|
add-zsh-hook chpwd source_env
|
||||||
|
|
||||||
|
source_env
|
||||||
Reference in new issue
Block a user