diff --git a/zsh/.config/zsh/.zshrc b/zsh/.config/zsh/.zshrc index 328090a..be02348 100644 --- a/zsh/.config/zsh/.zshrc +++ b/zsh/.config/zsh/.zshrc @@ -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 || :