commit 791f08b3e74d2372104edc6995370b3e3f93511c parent 5c44c44675e4706db0fe0d7153694fafef9304f9 Author: Anders Damsgaard <anders.damsgaard@geo.au.dk> Date: Mon, 10 Feb 2014 14:51:46 +0100 Run OpenFOAM script if it exists Diffstat:
M | .bashrc | | | 5 | +++++ |
M | .zshrc | | | 5 | +++++ |
2 files changed, 10 insertions(+), 0 deletions(-)
diff --git a/.bashrc b/.bashrc @@ -129,3 +129,8 @@ else export PYTHONPATH=${PYTHONPATH}://home/adc/code/lmgc90/LMGC90v2/builds/Lmgc90_v2/lib fi export PATH=${PATH}:/home/adc/code/lmgc90/LMGC90v2/src/LMGC90v2_dev/addons + +# OpenFOAM from unofficial Ubuntu repositories +if [ -f /opt/openfoam222/etc/bashrc ]; then + . /opt/openfoam222/etc/bashrc +fi diff --git a/.zshrc b/.zshrc @@ -97,3 +97,8 @@ export XDG_CONFIG_HOME="/home/adc/.config" # Environment variables export PATH=$HOME/bin:$PATH + +# OpenFOAM from unofficial Ubuntu repositories +if [ -f /opt/openfoam222/etc/bashrc ]; then + . /opt/openfoam222/etc/bashrc +fi