helm/shell/+bash/.bash_profile

32 lines
762 B
Bash
Raw Normal View History

2014-09-19 15:24:34 -07:00
# set 256 color profile where possible
if [[ $COLORTERM == gnome-* && $TERM == xterm ]] && infocmp gnome-256color >/dev/null 2>&1; then
export TERM=gnome-256color
elif infocmp xterm-256color >/dev/null 2>&1; then
export TERM=xterm-256color
fi
2015-12-20 20:39:37 -08:00
## Bash rcfiles ###########################
2017-03-27 19:24:20 -07:00
source $HOME/.dotfiles/common.sh
2015-12-20 20:39:37 -08:00
2017-03-27 19:24:20 -07:00
PATH="$DOTFILES/bin:/usr/local/{bin,sbin}:$PATH"
for bin in "$ENABLED_DIR"/*/bin; do
[[ -e "$bin" ]] && PATH="$bin:$PATH"
2015-12-20 20:39:37 -08:00
done
export PATH
## Bash rcfiles ###########################
2014-09-19 15:24:34 -07:00
2016-02-25 21:11:30 -08:00
source ~/.bash/config
cache rbenv init - --no-rehash
cache pyenv init - --no-rehash
2016-02-25 21:11:30 -08:00
if is-interactive; then
cache fasd --init posix-alias bash-hook bash-ccomp bash-ccomp-install
cache tmuxifier init -
source ~/.bash/prompt
fi