From 62b1337cc44125c3c155b0ec41e6cac5264ce685 Mon Sep 17 00:00:00 2001 From: Alan Orth Date: Wed, 20 Jan 2021 09:28:07 +0200 Subject: [PATCH] .zshrc: Remove macOS stuff --- .zshrc | 24 +----------------------- 1 file changed, 1 insertion(+), 23 deletions(-) diff --git a/.zshrc b/.zshrc index cd57900..73fc77d 100644 --- a/.zshrc +++ b/.zshrc @@ -20,29 +20,7 @@ autoload -Uz compinit compinit # OS-specific things -if [[ "$OSTYPE" =~ ^darwin.*$ ]]; 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 +if [[ "$OSTYPE" =~ ^linux.*$ ]]; then PATH=~/.local/bin:$PATH # System Node.js with local "global" package prefix, for DSpace build environment: