summaryrefslogtreecommitdiffstats
path: root/.bash_profile
blob: 94e087be76a30fe655a05d79b7ee8c2a9056cf79 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/bin/bash 
# shellcheck disable=SC1091 
# Disables file doesn't exist warning

if [ -f "$HOME/.profile" ]; then
  source "$HOME/.profile"
fi

# *nix include bashrc if found and override here
if [ -f "$HOME/.bashrc" ]; then
  source "$HOME/.bashrc"
fi

# Homebrew Apple M1/Intel fixing of $PATH and loading bash_completion
if [ -d /opt/homebrew ]; then
  eval "$(/opt/homebrew/bin/brew shellenv)"
  source "/opt/homebrew/etc/bash_completion"
elif [ -d /usr/local/Homebrew ]; then
  eval "$(/usr/local/Homebrew/bin/brew shellenv)"
  source "/usr/local/Homebrew/etc/bash_completion"
fi

# Mac OS custorm colors (not LS_COLORS as unix) defaultscheme "exfxcxdxbxegedabagacad"
export LSCOLORS=gxfxcxdxbxegedabagacad
# Silence new macOS warning about bash
export BASH_SILENCE_DEPRECATION_WARNING=1