diff --git a/zsh/direnv.zsh b/zsh/direnv.zsh new file mode 100644 index 0000000..b4358ae --- /dev/null +++ b/zsh/direnv.zsh @@ -0,0 +1,8 @@ +# +# direnv setup +# + +zinit from"gh-r" as"program" mv"direnv* -> direnv" \ + atclone'./direnv hook zsh > zhook.zsh' atpull'%atclone' \ + pick"direnv" src="zhook.zsh" for \ + direnv/direnv diff --git a/zshrc b/zshrc index f78aa6e..ab470cb 100644 --- a/zshrc +++ b/zshrc @@ -106,6 +106,7 @@ source "$DOTZSH/vterm.zsh" # Development source "$DOTZSH/docker.zsh" +source "$DOTZSH/direnv.zsh" source "$DOTZSH/golang.zsh" source "$DOTZSH/google-cloud.zsh" source "$DOTZSH/kubernetes.zsh"