modules: Add jfojt and trossi gpaw modules
Add gpaw-setups module
This commit is contained in:
11
.bashrc.kuba
11
.bashrc.kuba
@@ -6,9 +6,7 @@
|
||||
[[ $- != *i* ]] && return
|
||||
|
||||
source_existing() {
|
||||
if [ -f "$1" ]; then
|
||||
source "$1"
|
||||
fi
|
||||
[ -f "$1" ] && source "$1"
|
||||
}
|
||||
|
||||
alias ls='ls --color=auto'
|
||||
@@ -29,12 +27,7 @@ source_existing ~/.bash_prompt.kuba
|
||||
|
||||
# Source lmod module setup
|
||||
source_existing /usr/share/lmod/lmod/init/profile
|
||||
[ -x "$(command -v module)" ] && module use "$HOME/.modules.kuba/"
|
||||
|
||||
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
|
||||
[ -e /usr/share/lmod/lmod/init/profile ] && module use "$HOME/.modules.kuba/"
|
||||
|
||||
if xhost >& /dev/null ; then
|
||||
# X is running
|
||||
|
||||
Reference in New Issue
Block a user