From 8d69c2537adc4500e1d15d76a9c5d5c0be47927b Mon Sep 17 00:00:00 2001 From: Yann Herklotz Date: Thu, 25 Jul 2019 13:37:02 +0200 Subject: Update environment variables and add direnv and nix support --- zsh/.zsh/export.zsh | 3 ++- zsh/.zsh/startup.zsh | 10 ++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/zsh/.zsh/export.zsh b/zsh/.zsh/export.zsh index b66fe00..f21e766 100644 --- a/zsh/.zsh/export.zsh +++ b/zsh/.zsh/export.zsh @@ -7,6 +7,7 @@ export TERM='xterm-256color' export PATH="${HOME}/.gem/ruby/2.6.0/bin:/usr/local/bin:${PATH}" export PATH="/usr/bin:${PATH}" export PATH="${HOME}/.yarn/bin:${PATH}" -export PATH="${PATH}:/opt/Xilinx/Vivado/2018.3/bin" +export PATH="${PATH}:/opt/Xilinx/Vivado/2019.1/bin" export PATH="${PATH}:/opt/intelFPGA_lite/18.1/quartus/bin" export PATH="${HOME}/.local/bin:${PATH}" +export PATH="${HOME}/.cargo/bin:${PATH}" 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 -- cgit