diff --git a/bashrc b/bashrc index 2774345..6d85ff4 100644 --- a/bashrc +++ b/bashrc @@ -5,6 +5,12 @@ # If not running interactively, don't do anything [ -z "$PS1" ] && return +if [ "$(uname -s)" == "Darwin" ] ; then + export CURRENT_OS=macos +else + export CURRENT_OS=linux +fi + # Add an entry to PATH, iff it's not already there. addpath() { wanted_path=$1