diff options
author | Guangxiong Lin <[email protected]> | 2022-05-26 20:39:17 +0800 |
---|---|---|
committer | Guangxiong Lin <[email protected]> | 2022-05-26 20:39:17 +0800 |
commit | a86ffb5e935055dc04711c2564e825e1e9230a54 (patch) | |
tree | adabd6d9adb6e30fb6324b454c24aaa5aed5e204 | |
parent | 01d553eaa984138359d033bae2aecaf78f1e2e81 (diff) | |
download | dotfiles-a86ffb5e935055dc04711c2564e825e1e9230a54.tar.gz dotfiles-a86ffb5e935055dc04711c2564e825e1e9230a54.tar.bz2 dotfiles-a86ffb5e935055dc04711c2564e825e1e9230a54.zip |
Add direnv config
-rw-r--r-- | .zshrc | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -33,3 +33,7 @@ source $HOME/.zrc [[ $(uname) == Darwin ]] && [ -r $HOME/.macos ] && source $HOME/.macos [ -r $HOME/.zsh_local ] && source $HOME/.zsh_local + +if command -v direnv &> /dev/null; then + eval "$(direnv hook zsh)" +fi |