From 5070770a181c2fea0dbd17034b22ce3221cbd287 Mon Sep 17 00:00:00 2001 From: Ryan Kavanagh Date: Wed, 9 Dec 2020 12:43:40 -0500 Subject: update path on demeter to also use /opt/local/sbin --- .zshrc | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.zshrc b/.zshrc index b873f2f..192e555 100644 --- a/.zshrc +++ b/.zshrc @@ -47,12 +47,16 @@ export GIT_AUTHOR_NAME=$NAME export DARCS_EMAIL="$NAME <$EMAIL>" export QUILT_PATCHES=debian/patches export GEM_BIN="$(gem environment gempath | cut -d':' -f1)/bin" -export PATH=${HOME}/bin:/usr/sbin:/sbin:$PATH:${GEM_BIN}:${HOME}/.local/bin/ +if [[ `hostname` = "demeter.rak.ac" ]]; then + export PATH=${HOME}/bin:/opt/local/bin:/opt/local/sbin:/usr/sbin:/sbin:$PATH:${GEM_BIN}:${HOME}/.local/bin/ + export MANPATH=/opt/local/share/man:$MANPATH +else + export PATH=${HOME}/bin:/usr/sbin:/sbin:$PATH:${GEM_BIN}:${HOME}/.local/bin/ +fi export CCACHE_DIR=/ccache #export HTTP_PROXY="http://localhost:3128/" export MANWIDTH=80 export MANOPT="-L en" -export BTS_SENDMAIL_COMMAND="msmtp" export PYTHONSTARTUP=~/.pythonrc.py export PAGER=less export PDFVIEWER=evince -- cgit v1.2.3