dotfiles/core/bash/.bash_profile

17 lines
390 B
Bash

# vi: set ft=sh ts=4 sw=0 sts=-1 sr noet nosi tw=80 fdm=manual:
# shellcheck shell=bash
# shellcheck disable=2155,1090
# load .profile since .bash_profile takes priority
if [[ -f ~/.profile ]]; then
source ~/.profile
fi
# only load .bashrc for aliases and functions in
# login shells if shell is interactive
case "$-" in *i*)
if [[ -f ~/.bashrc ]]; then
source ~/.bashrc
fi
;;
esac