From 26d2f960341ef7e142541d80a058d8546e59e725 Mon Sep 17 00:00:00 2001 From: Ahmed Abdelhalim Date: Tue, 4 Nov 2025 00:54:00 +0100 Subject: Fix including bashrc on linux when available and override it in profile --- .bash_profile | 5 +++++ 1 file changed, 5 insertions(+) (limited to '.bash_profile') diff --git a/.bash_profile b/.bash_profile index c44f3f2..d50e067 100644 --- a/.bash_profile +++ b/.bash_profile @@ -6,6 +6,11 @@ elif [ -d /usr/local/Homebrew ]; then eval "$(/usr/local/Homebrew/bin/brew shellenv)" fi +# ==== *nix include bashrc if found and override here +if [ -f "$HOME/.bashrc" ]; then + source "$HOME/.bashrc" +fi + export CLICOLOR=1 export LSCOLORS=gxfxcxdxbxegedabagacad # Mac OS custorm colors (not LS_COLORS as unix) defaultscheme "exfxcxdxbxegedabagacad" export LS_COLORS="$LS_COLORS:di=00;36:ln=00;35:ex=00;31" # Unix/Bash Readline custom colors -- cgit v1.2.3