From decd709def67526c270e37d888693d5ef6dca990 Mon Sep 17 00:00:00 2001 From: "Simen A. W. Olsen" Date: Sat, 21 Nov 2020 14:01:35 +0100 Subject: a bunch of additions --- .bash_profile | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to '.bash_profile') diff --git a/.bash_profile b/.bash_profile index 3659ef5..00c32ad 100644 --- a/.bash_profile +++ b/.bash_profile @@ -1,6 +1,12 @@ # branches and stuff in my SH PS1='\w\[\033[0;32m\]$( git branch 2> /dev/null | cut -f2 -d\* -s | sed "s/^ / [/" | sed "s/$/]/" )\[\033[0m\] \$ ' +# Load .bashrc, which loads: ~/.{bash_prompt,aliases,functions,path,dockerfunc,extra,exports} +if [[ -r "${HOME}/.bashrc" ]]; then + # shellcheck source=/dev/null + source "${HOME}/.bashrc" +fi + # Tell grep to highlight matches export GREP_OPTIONS='--color=auto' @@ -8,10 +14,6 @@ export GREP_OPTIONS='--color=auto' export CLICOLOR=1 export LSCOLORS=Exfxcxdxbxegedabagacad -alias l='ls -l' -# Add VSCode to PATH -export PATH="$PATH:/Applications/Visual Studio Code.app/Contents/Resources/app/bin" - # Volta export VOLTA_HOME="$HOME/.volta" export PATH="$VOLTA_HOME/bin:$PATH" -- cgit v1.2.3