diff options
author | Yann Herklotz <git@yannherklotz.com> | 2019-07-25 13:37:02 +0200 |
---|---|---|
committer | Yann Herklotz <git@yannherklotz.com> | 2019-07-25 13:37:02 +0200 |
commit | 8d69c2537adc4500e1d15d76a9c5d5c0be47927b (patch) | |
tree | b69cd5787c7e978c0843ddb8cf60138bdc15e7be /zsh | |
parent | 2574dc30cb2ceb1c303d8149cf8b7d0b4e8e8db9 (diff) | |
download | dotfiles-8d69c2537adc4500e1d15d76a9c5d5c0be47927b.tar.gz dotfiles-8d69c2537adc4500e1d15d76a9c5d5c0be47927b.zip |
Update environment variables and add direnv and nix support
Diffstat (limited to 'zsh')
-rw-r--r-- | zsh/.zsh/export.zsh | 3 | ||||
-rw-r--r-- | zsh/.zsh/startup.zsh | 10 |
2 files changed, 12 insertions, 1 deletions
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 |