rtx / direnv setup

This commit is contained in:
Andrew Tomaka 2023-11-10 20:41:24 -05:00
parent 256a59daa1
commit a344ac5e35
Signed by: atomaka
GPG Key ID: 61209BF70A5B18BE
1 changed files with 7 additions and 1 deletions

View File

@ -24,7 +24,13 @@ zstyle ':completion:*' matcher-list 'm:{a-zA-Z}={A-Za-z}'
setopt auto_cd
eval "$(rtx activate zsh)"
if which direnv > /dev/null; then
eval "$(direnv hook zsh)"
fi
if which rtx > /dev/null; then
eval "$(rtx activate zsh)"
fi
if [ -f $HOME/.orbstack/shell/init.zsh ]; then
source $HOME/.orbstack/shell/init.zsh 2>/dev/null || :