From 178ffef0226b45ad4b1862c7e9223cd539788bcc Mon Sep 17 00:00:00 2001 From: Jonas Gunz Date: Wed, 26 Feb 2020 13:48:33 +0100 Subject: removed bashit --- .bash_profile | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) (limited to '.bash_profile') 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 -- cgit v1.2.3