.zshrc: Remove macOS stuff

This commit is contained in:
Alan Orth 2021-01-20 09:28:07 +02:00
parent 485b7af00b
commit 62b1337cc4
Signed by: alanorth
GPG Key ID: 0FB860CC9C45B1B9

24
.zshrc
View File

@ -20,29 +20,7 @@ autoload -Uz compinit
compinit compinit
# OS-specific things # OS-specific things
if [[ "$OSTYPE" =~ ^darwin.*$ ]]; then if [[ "$OSTYPE" =~ ^linux.*$ ]]; then
# explicitly add Homebrew binary paths just in case Terminal doesn't inherit it from macOS, for example Alacritty.
PATH=$PATH:/usr/local/bin:/usr/local/sbin
# Add brew stuff to MANPATH
MANPATH=/usr/local/share/man:/usr/local/opt/postgresql@9.5/share/man:$PATH
# opt out of Homebrew analytics
# see: https://github.com/Homebrew/brew/blob/master/share/doc/homebrew/Analytics.md
export HOMEBREW_NO_ANALYTICS=1
export HOMEBREW_NO_EMOJI=1
export HOMEBREW_NO_AUTO_UPDATE=1
# use some GNU stuff from homebrew: coreutils findutils gnu-sed
# requires at least: coreutils findutils gnu-sed
PATH="/usr/local/opt/coreutils/libexec/gnubin:/usr/local/opt/findutils/libexec/gnubin:/usr/local/opt/gnu-sed/libexec/gnubin:$PATH"
alias grep='ggrep'
# Add BasicTeX to PATH
# See: https://tug.org/mactex/morepackages.html
PATH=$PATH:/usr/local/texlive/2017basic/bin/x86_64-darwin
elif [[ "$OSTYPE" =~ ^linux.*$ ]]; then
PATH=~/.local/bin:$PATH PATH=~/.local/bin:$PATH
# System Node.js with local "global" package prefix, for DSpace build environment: # System Node.js with local "global" package prefix, for DSpace build environment: