aboutsummaryrefslogtreecommitdiffhomepage
path: root/.zshrc
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2023-09-01 09:27:05 +0900
committernsfisis <nsfisis@gmail.com>2023-09-02 01:18:23 +0900
commitf8d23391c64acfd9db15816aa2522ce0ef4ad1a5 (patch)
treed455cea2f448f3b0da0673b6e5cc80f0d00cb67a /.zshrc
parentf1e3ca6f971c2c5177174896e1fa3e6f695ca2a1 (diff)
downloaddotfiles-f8d23391c64acfd9db15816aa2522ce0ef4ad1a5.tar.gz
dotfiles-f8d23391c64acfd9db15816aa2522ce0ef4ad1a5.tar.zst
dotfiles-f8d23391c64acfd9db15816aa2522ce0ef4ad1a5.zip
home-manager: introduce nix flake
Diffstat (limited to '.zshrc')
-rw-r--r--.zshrc4
1 files changed, 3 insertions, 1 deletions
diff --git a/.zshrc b/.zshrc
index ff82737..95980bb 100644
--- a/.zshrc
+++ b/.zshrc
@@ -441,4 +441,6 @@ export PATH="$HOME/.cargo/bin:$PATH"
export PATH="$HOME/.deno/bin:$PATH"
export PATH=/usr/local/go/bin:$PATH
-eval "$(direnv hook zsh)"
+if type direnv >/dev/null 2>&1; then
+ eval "$(direnv hook zsh)"
+fi