Add lmod and gpaw module

vimrc: Colorcolumn in python
This commit is contained in:
2020-02-14 16:38:40 +01:00
parent 5aee564810
commit f41b947fc5
4 changed files with 27 additions and 4 deletions

View File

@@ -4,6 +4,13 @@
# If not running interactively, don't do anything
[[ $- != *i* ]] && return
source_existing() {
if [ -f "$1" ]; then
source "$1"
fi
}
alias ls='ls --color=auto'
export KRB5_CONFIG=".etcfiles/krb5.conf"
export EDITOR="vim"
@@ -17,10 +24,12 @@ alias pip=pip3
alias python=python3
# Source git prompt
if [ -f ~/scripts/git-prompt.sh ]; then
source ~/scripts/git-prompt.sh
fi
source ~/.bash_prompt.kuba
source_existing ~/scripts/git-prompt.sh
source_existing ~/.bash_prompt.kuba
# Source lmod module setup
source_existing /usr/share/lmod/lmod/init/profile
[ -x "$(command -v module)" ] && module use ~/.modules.kuba/
if [ "$(hostname)" == "kubaDesktop" ] || [ "$(hostname)" == "kubaArch-Laptop" ]; then
GPAW_SETUP_BASE="/home/kuba/gpaw-setups/0.9.20000/"