Browse Source

Move around exports, add sourcing for bashrc in bash_profile

Taylor Bockman 5 years ago
parent
commit
b9ff738a88
  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 ------------------ # # ------------------ 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 ----------------# # ---------------- ALIASES ----------------#
@ -78,6 +66,20 @@ alias vim='nvim'
# -------------- END ALIASES --------------# # -------------- 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 -------------------------------------- # # ----------------------------------------- INITIALIZATIONS -------------------------------------- #
if which pyenv-virtualenv-init > /dev/null; then eval "$(pyenv virtualenv-init -)"; fi if which pyenv-virtualenv-init > /dev/null; then eval "$(pyenv virtualenv-init -)"; fi

Loading…
Cancel
Save