diff options
author | Jonas Gunz <himself@jonasgunz.de> | 2020-02-26 13:48:33 +0100 |
---|---|---|
committer | Jonas Gunz <himself@jonasgunz.de> | 2020-02-26 13:48:33 +0100 |
commit | 178ffef0226b45ad4b1862c7e9223cd539788bcc (patch) | |
tree | 765e23862f50479dd48ab312f6cb9aa0fa202a86 /.bash_profile | |
parent | 724bb024d49f2883c186e80a016abd9b956bba96 (diff) | |
download | dotfiles-178ffef0226b45ad4b1862c7e9223cd539788bcc.tar.gz |
removed bashit
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 |