feat(env): add direnv shell setup and installation via zinit

This commit is contained in:
2020-09-11 18:05:39 +01:00
parent af1ab144df
commit c0508d6d31
2 changed files with 9 additions and 0 deletions

8
zsh/direnv.zsh Normal file
View File

@@ -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

1
zshrc
View File

@@ -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"