commit 1d3aad5c8798fe510131c700bda58f3ee5a88977
parent 89d0a08ed80f1c07a535dd47b9f81ee3b672c818
Author: Anders Damsgaard <anders.damsgaard@geo.au.dk>
Date:   Mon, 25 May 2015 15:01:00 +0200
fix hostname resolution, upgrade anaconda pkgs on osx
Diffstat:
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/.zshrc b/.zshrc
@@ -181,7 +181,7 @@ fi
 
 source ~/.tmuxinator/tmuxinator.zsh
 
-if [[ "$HOSTNAME" == "flaptop" ]]; then
+if [[ $(echo $HOSTNAME | grep flaptop) ]]; then
     #source ~/.xsh
     export PATH=~/anaconda/bin:$PATH
 fi
diff --git a/bin/uu b/bin/uu
@@ -11,6 +11,7 @@ elif [[ "$UNAMESTR" == 'Darwin' ]]; then
     brew update && \
         brew upgrade --all && \
         brew cleanup
+    conda update --all
 else
     echo "Platform not supported"
     exit 1