# .bash_profile # Adrian Abeyta # don't do anything if not running interactively [[ $- != *i* ]] && return # include user home bins if they exist if [ -d "$HOME/bin" ] ; then PATH="$HOME/bin:$PATH" fi if [ -d "$HOME/.local/bin" ] ; then PATH="$HOME/.local/bin:$PATH" fi # load the dotfiles for file in ~/.{env,path,functions,aliases,prompt}; do [ -r "$file" ] && [ -f "$file" ] && \ source "$file"; done; unset file # fun scripts if is_true "${HAVE_FUN:-}"; then source ~/.fun fi shopt -s nocaseglob; # case-insensitive globbing shopt -s histappend; # append to bash history file shopt -s cdspell; # autocorrect typos in path names when cd'ing shopt -s checkwinsize # update col/line values on each command