.zshrc: Remove macOS stuff
This commit is contained in:
parent
485b7af00b
commit
62b1337cc4
24
.zshrc
24
.zshrc
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user