From 920f69311444aa7774f99c4121c8d72aba2cf54b Mon Sep 17 00:00:00 2001 From: Buddy Sandidge Date: Mon, 19 Nov 2012 12:08:55 -0800 Subject: [PATCH] Add BS_OS and BS_ENV environment variables --- bash/environment | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/bash/environment b/bash/environment index 30c4be4..23332e6 100644 --- a/bash/environment +++ b/bash/environment @@ -44,6 +44,16 @@ _add-path ~/code/cli/bin _add-path ~/code/ci/phpunit-git-deploy/bin _add-path ~/.bin +if [[ `uname` == 'Darwin' ]]; then + export BS_OS='osx' +elif [[ `uname` == 'Linux' ]]; then + export BS_OS='linux' +fi + +if [[ `hostname` == 'LTMBPBSANDIDGE.local' ]]; then + export BS_ENV='work' +fi + export EDITOR='vim' # python virtualenvwrapper