Add lmod and gpaw module
vimrc: Colorcolumn in python
This commit is contained in:
17
.bashrc.kuba
17
.bashrc.kuba
@@ -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/"
|
||||
|
||||
Reference in New Issue
Block a user