* 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 602d3a8..06c0ab0 100644 (file)
--- a/.bashrc
+++ b/.bashrc
@@ -125,7 +125,13 @@ if [ "$PS1" ]; then
        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"
+    
     if [ ! -e ~/tmp ]; then
        mkdir ~/tmp;
     fi;