diff --git a/.bashrc b/.bashrc index 774a9aa..78c104d 100644 --- a/.bashrc +++ b/.bashrc @@ -74,12 +74,9 @@ if [[ $- =~ 'i' ]]; then stty -ixon fi - # OS specific config. case `uname` in Darwin) - alias ls='ls -G' - export PG_DATA=/usr/local/var/postgres gitx() { @@ -103,6 +100,10 @@ case `uname` in java -version } + # Homebrew + [[ -x /usr/local/bin/brew ]] && eval "$(/usr/local/bin/brew shellenv)" + [[ -x /opt/homebrew/bin/brew ]] && eval "$(/opt/homebrew/bin/brew shellenv)" + # Bash completion if [[ -f "$(brew --prefix)/etc/bash_completion" ]]; then . "$(brew --prefix)/etc/bash_completion"