]> git.donarmstrong.com Git - home-base.git/commitdiff
* add /var/list/.bin if we're running on liszt
authorDon Armstrong <don@donarmstrong.com>
Fri, 30 Jan 2009 18:33:41 +0000 (18:33 +0000)
committerDon Armstrong <don@donarmstrong.com>
Fri, 30 Jan 2009 18:33:41 +0000 (18:33 +0000)
.bashrc

diff --git a/.bashrc b/.bashrc
index 602d3a810fda11412ce1b9b3588a1db788dc3d29..06c0ab08c5248526ce70cc4b692b2ef1956eb1c5 100644 (file)
--- a/.bashrc
+++ b/.bashrc
@@ -125,7 +125,13 @@ if [ "$PS1" ]; then
        LANG=C
     fi;
     export LANG
        LANG=C
     fi;
     export LANG
+    
+    # If we're running on liszt, include /var/list/.bin in the path
+    if [ "$(hostname)" == "liszt" ] && [ -d /var/list/.bin ]; then
+       PATH="/var/list/.bin:$PATH"
+    fi;
     export PATH="~/bin:$PATH"
     export PATH="~/bin:$PATH"
+    
     if [ ! -e ~/tmp ]; then
        mkdir ~/tmp;
     fi;
     if [ ! -e ~/tmp ]; then
        mkdir ~/tmp;
     fi;