aboutsummaryrefslogtreecommitdiffstats
path: root/zsh/.zsh/startup.zsh
diff options
context:
space:
mode:
authorYann Herklotz <git@yannherklotz.com>2019-07-25 13:37:02 +0200
committerYann Herklotz <git@yannherklotz.com>2019-07-25 13:37:02 +0200
commit8d69c2537adc4500e1d15d76a9c5d5c0be47927b (patch)
treeb69cd5787c7e978c0843ddb8cf60138bdc15e7be /zsh/.zsh/startup.zsh
parent2574dc30cb2ceb1c303d8149cf8b7d0b4e8e8db9 (diff)
downloaddotfiles-8d69c2537adc4500e1d15d76a9c5d5c0be47927b.tar.gz
dotfiles-8d69c2537adc4500e1d15d76a9c5d5c0be47927b.zip
Update environment variables and add direnv and nix support
Diffstat (limited to 'zsh/.zsh/startup.zsh')
-rw-r--r--zsh/.zsh/startup.zsh10
1 files changed, 10 insertions, 0 deletions
diff --git a/zsh/.zsh/startup.zsh b/zsh/.zsh/startup.zsh
index e69de29..e8caf69 100644
--- a/zsh/.zsh/startup.zsh
+++ b/zsh/.zsh/startup.zsh
@@ -0,0 +1,10 @@
+# Nix
+if [ -e '/nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh' ]; then
+ . '/nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh'
+fi
+
+# direnv
+
+eval "$(direnv hook zsh)"
+
+# End Nix