commit ccee7f45c5d772f88ca484e1bb58ea9b852ecd59
parent 633b035f73821da715faad48f50c3599ac9f048c
Author: Anders Damsgaard Christensen <adc@geo.au.dk>
Date: Mon, 9 Jan 2017 14:19:23 -0800
only activate torch if present on system
Diffstat:
1 file changed, 2 insertions(+), 5 deletions(-)
diff --git a/.zshrc b/.zshrc
@@ -254,13 +254,10 @@ alias sha256sum='shasum -a 256'
# calendar aliases
alias cala="gcalcli agenda"
-#. /Users/ad/torch/install/bin/torch-activate
-
[ -f ~/.bash_profile ] && source ~/.bash_profile
[ -d /home/ad/pism ] && export PATH=/home/ad/pism/bin:$PATH
[ -d ~/code/issm/trunk ] && export ISSM_DIR=~/code/issm/trunk
+[ -f ~/torch ] && source ~/torch/install/bin/torch-activate
+export GOPATH=$HOME/src/golang
export GPG_TTY=`tty`
-
-export GOPATH=$HOME/src/golang
-. $HOME/torch/install/bin/torch-activate