diff options
Diffstat (limited to '.bash_profile')
-rw-r--r-- | .bash_profile | 21 |
1 files changed, 13 insertions, 8 deletions
diff --git a/.bash_profile b/.bash_profile index 5f73e6a..8dc994e 100644 --- a/.bash_profile +++ b/.bash_profile @@ -1,13 +1,18 @@ +# vi:syntax=sh # -# ~/.bash_profile +# .bash_profile # -alias vim=nvim +if [[ -f ~/.files ]]; then + source ~/.files +else + DOTFILEBASE="/home/jonas/dotfiles" +fi -export EDITOR=nvim -export VISUAL=nvim +for f in $DOTFILEBASE/bash/*.profile ; do + source $f +done -PATH=~/bin:$PATH -[[ -f ~/.files ]] && source ~/.files && PATH="$DOTFILEBASE/scripts:$PATH" - -[[ -f ~/.bashrc ]] && . ~/.bashrc +if [[ -f ~/.bashrc ]]; then + source ~/.bashrc +fi |