.zshrc: Remove old environment variables

This commit is contained in:
Alan Orth 2020-11-30 23:07:18 +02:00
parent e685596749
commit 9158ac85a1
Signed by: alanorth
GPG Key ID: 0FB860CC9C45B1B9

17
.zshrc
View File

@ -42,26 +42,9 @@ if [[ "$OSTYPE" =~ ^darwin.*$ ]]; then
# Add BasicTeX to PATH # Add BasicTeX to PATH
# See: https://tug.org/mactex/morepackages.html # See: https://tug.org/mactex/morepackages.html
PATH=$PATH:/usr/local/texlive/2017basic/bin/x86_64-darwin PATH=$PATH:/usr/local/texlive/2017basic/bin/x86_64-darwin
# Manually manage Ruby shit for DSpace build environment (anything is better than RVM)
# DSpace Mirage 2 build explicitly looks for GEM_HOME and GEM_PATH
export GEM_HOME=~/.gem/ruby/2.5.1
export GEM_PATH=~/.gem/ruby/2.5.1
PATH=$PATH:~/.gem/ruby/2.5.1/bin
# Use node@8 from Homebrew instead of NVM
PATH=$PATH:/usr/local/opt/node@8/bin
PATH=$PATH:/usr/local/opt/postgresql@9.5/bin
elif [[ "$OSTYPE" =~ ^linux.*$ ]]; then elif [[ "$OSTYPE" =~ ^linux.*$ ]]; then
PATH=~/.local/bin:$PATH PATH=~/.local/bin:$PATH
# Manually manage Ruby shit for DSpace build environment (anything is better than RVM)
# DSpace Mirage 2 build explicitly looks for GEM_HOME and GEM_PATH
export GEM_HOME=~/.gem/ruby/2.7.0
export GEM_PATH=~/.gem/ruby/2.7.0
PATH=$PATH:~/.gem/ruby/2.7.0/bin
# System Node.js with local "global" package prefix, for DSpace build environment: # System Node.js with local "global" package prefix, for DSpace build environment:
# $ npm config set prefix ~/.node_modules # $ npm config set prefix ~/.node_modules
# $ npm install -g bower grunt grunt-cli # $ npm install -g bower grunt grunt-cli