Browse Source

Move around exports, add sourcing for bashrc in bash_profile

master
Taylor Bockman 4 years ago
parent
commit
6723708fa9
  1. 4
      dotfiles/bash/bash_profile
  2. 26
      dotfiles/bash/bashrc

4
dotfiles/bash/bash_profile

@ -0,0 +1,4 @@
if [[ -f ~/.bashrc ]]; then
source ~/.bashrc
fi

26
dotfiles/bash/bashrc

@ -51,18 +51,6 @@ weather() {
# ------------------ END FUNCTIONS ------------------ #
# -------------- EXPORTS --------------#
export CC=$(which clang)
export CXX=$(which clang++)
export OPENSSL_ROOT_DIR=$(which openssl)
export PATH="/usr/local/opt/openjdk/bin:$PATH"
# Ignore duplicates in history to make history less of a hassle to use.
export HISTCONTROL=ignoredups
# ------------ END EXPORTS ------------#
# ---------------- ALIASES ----------------#
@ -78,6 +66,20 @@ alias vim='nvim'
# -------------- END ALIASES --------------#
# -------------- EXPORTS --------------#
export EDITOR=vim
export CC=$(which clang)
export CXX=$(which clang++)
export OPENSSL_ROOT_DIR=$(which openssl)
export PATH="/usr/local/opt/openjdk/bin:$PATH"
# Ignore duplicates in history to make history less of a hassle to use.
export HISTCONTROL=ignoredups
# ------------ END EXPORTS ------------#
# ----------------------------------------- INITIALIZATIONS -------------------------------------- #
if which pyenv-virtualenv-init > /dev/null; then eval "$(pyenv virtualenv-init -)"; fi

Loading…
Cancel
Save