bashrc: Export GPAW setups

This commit is contained in:
2020-01-13 08:46:20 +01:00
parent 827870bc01
commit 0f7d4db0a3

View File

@@ -18,6 +18,11 @@ if [ "$(hostname)" == "kubaDesktop" ] || [ "$(hostname)" == "kubaArch-Laptop" ];
source /usr/share/git/completion/git-prompt.sh
fi
if [ "$(hostname)" == "kubaDesktop" ] || [ "$(hostname)" == "kubaArch-Laptop" ]; then
GPAW_SETUP_BASE="/home/kuba/gpaw-setups/0.9.20000/"
export GPAW_SETUP_PATH="${GPAW_SETUP_BASE}gpaw-basis-pvalence-0.9.20000/:${GPAW_SETUP_BASE}gpaw-setups-0.9.20000/"
fi
if xhost >& /dev/null ; then
# X is running
xhost +local:kuba > /dev/null