mirror of
https://github.com/jimeh/dotfiles.git
synced 2026-02-19 11:26:41 +00:00
feat(env): add direnv shell setup and installation via zinit
This commit is contained in:
8
zsh/direnv.zsh
Normal file
8
zsh/direnv.zsh
Normal 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
1
zshrc
@@ -106,6 +106,7 @@ source "$DOTZSH/vterm.zsh"
|
|||||||
|
|
||||||
# Development
|
# Development
|
||||||
source "$DOTZSH/docker.zsh"
|
source "$DOTZSH/docker.zsh"
|
||||||
|
source "$DOTZSH/direnv.zsh"
|
||||||
source "$DOTZSH/golang.zsh"
|
source "$DOTZSH/golang.zsh"
|
||||||
source "$DOTZSH/google-cloud.zsh"
|
source "$DOTZSH/google-cloud.zsh"
|
||||||
source "$DOTZSH/kubernetes.zsh"
|
source "$DOTZSH/kubernetes.zsh"
|
||||||
|
|||||||
Reference in New Issue
Block a user