diff --git a/.bashrc b/.bashrc index 83e1af8..02dc0ce 100644 --- a/.bashrc +++ b/.bashrc @@ -48,23 +48,31 @@ export PATH="$PATH:/Users/mochmann/.dotnet/tools" export PATH="/usr/local/opt/mysql@5.7/bin:$PATH" export PATH="/usr/local/opt/libpq/bin:$PATH" export PATH="/usr/local/share/dotnet:$PATH" -export CC=clang -export CXX=clang++ export PATH="/usr/local/lib/python3.9/site-packages:$PATH" export PATH="/usr/local/Cellar/mono/6.12.0.122_1/bin/:$PATH" export PATH="~/.composer/vendor/bin:$PATH" export PATH="~/apps:$PATH" export PATH="~/apps/instantclient:$PATH" +export PATH="/opt/homebrew/opt/llvm/bin:$PATH" + +export CC=clang +export CXX=clang++ +export CMAKE_CXX_COMPILER=/opt/homebrew/opt/llvm/bin/clang++ if [[ "$OSTYPE" == "darwin"* ]] then export PATH="/Applications/Emacs.app/Contents/MacOS:$PATH" + export LIBRARY_PATH="$LIBRARY_PATH:$(brew --prefix)/lib" fi if [ -f ~/.venv/bin/activate ]; then source ~/.venv/bin/activate fi +shopt -q login_shell +if [ $? -ne 0 ]; then + source ~/.bash_profile +fi # COLORS