commit 2a0b632827a1ae3a3b3377c58518c7ca78a6af88 parent d44417ffb1f3d0a81227c0b0342180829f587006 Author: Anders Damsgaard <anders.damsgaard@geo.au.dk> Date: Wed, 3 Feb 2016 14:24:26 -0800 only read bash_profile if it exists Diffstat:
M | .zshrc | | | 4 | +++- |
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/.zshrc b/.zshrc @@ -226,4 +226,6 @@ alias sha256sum='shasum -a 256' #. /Users/ad/torch/install/bin/torch-activate -source ~/.bash_profile +if [ -f ~/.bash_profile ]; then + source ~/.bash_profile +fi