helm/shell/+bash/.bash_profile
2017-04-25 23:29:43 -04:00

32 lines
762 B
Bash

# 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
## Bash rcfiles ###########################
source $HOME/.dotfiles/common.sh
PATH="$DOTFILES/bin:/usr/local/{bin,sbin}:$PATH"
for bin in "$ENABLED_DIR"/*/bin; do
[[ -e "$bin" ]] && PATH="$bin:$PATH"
done
export PATH
## Bash rcfiles ###########################
source ~/.bash/config
cache rbenv init - --no-rehash
cache pyenv init - --no-rehash
if is-interactive; then
cache fasd --init posix-alias bash-hook bash-ccomp bash-ccomp-install
cache tmuxifier init -
source ~/.bash/prompt
fi