From 0f7d4db0a380fc0a086b2a00470d836483583183 Mon Sep 17 00:00:00 2001 From: Jakub Fojt Date: Mon, 13 Jan 2020 08:46:20 +0100 Subject: [PATCH] bashrc: Export GPAW setups --- .bashrc.kuba | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.bashrc.kuba b/.bashrc.kuba index fb42d7a..85cb306 100755 --- a/.bashrc.kuba +++ b/.bashrc.kuba @@ -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