bash: add nix env

This commit is contained in:
masterzu 2019-01-16 12:58:23 +01:00
parent 3b20d47039
commit 8b2c5408f6
1 changed files with 3 additions and 0 deletions

View File

@ -84,6 +84,9 @@ test -z "$TMUX" -a "$TERM" == "st-256color" && {
test -n "$(tmux ls 2>/dev/null)" && exec tmux attach || exec tmux test -n "$(tmux ls 2>/dev/null)" && exec tmux attach || exec tmux
} }
# added by Nix installer
if [ -e /home/patrick/.nix-profile/etc/profile.d/nix.sh ]; then . /home/patrick/.nix-profile/etc/profile.d/nix.sh; fi
# golang env # golang env
export PATH=$PATH:/home/patrick/src/golang/go1.11.2/bin export PATH=$PATH:/home/patrick/src/golang/go1.11.2/bin
export GOPATH=/home/patrick/devel/golang export GOPATH=/home/patrick/devel/golang