Update shell/+bash
This commit is contained in:
parent
77302fd4c5
commit
bfa44821dd
|
@ -1,3 +1,7 @@
|
||||||
|
#
|
||||||
|
# ~/.bash_profile
|
||||||
|
#
|
||||||
|
|
||||||
# set 256 color profile where possible
|
# set 256 color profile where possible
|
||||||
if [[ $COLORTERM == gnome-* && $TERM == xterm ]] && infocmp gnome-256color >/dev/null 2>&1; then
|
if [[ $COLORTERM == gnome-* && $TERM == xterm ]] && infocmp gnome-256color >/dev/null 2>&1; then
|
||||||
export TERM=gnome-256color
|
export TERM=gnome-256color
|
||||||
|
@ -8,7 +12,7 @@ fi
|
||||||
|
|
||||||
## Bash rcfiles ###########################
|
## Bash rcfiles ###########################
|
||||||
|
|
||||||
source $HOME/.dotfiles/common.sh
|
source $HOME/.dotfiles/shell/common.sh
|
||||||
|
|
||||||
PATH="$DOTFILES/bin:/usr/local/{bin,sbin}:$PATH"
|
PATH="$DOTFILES/bin:/usr/local/{bin,sbin}:$PATH"
|
||||||
for bin in "$ENABLED_DIR"/*/bin; do
|
for bin in "$ENABLED_DIR"/*/bin; do
|
||||||
|
@ -19,13 +23,14 @@ export PATH
|
||||||
|
|
||||||
## Bash rcfiles ###########################
|
## Bash rcfiles ###########################
|
||||||
|
|
||||||
source ~/.bash/config
|
load shell/+bash/config.bash
|
||||||
|
|
||||||
cache rbenv init - --no-rehash
|
cache rbenv init - --no-rehash
|
||||||
cache pyenv init - --no-rehash
|
cache pyenv init - --no-rehash
|
||||||
if is-interactive; then
|
if is-interactive; then
|
||||||
cache fasd --init posix-alias bash-hook bash-ccomp bash-ccomp-install
|
cache fasd --init posix-alias bash-hook bash-ccomp bash-ccomp-install
|
||||||
cache tmuxifier init -
|
cache tmuxifier init -
|
||||||
source ~/.bash/prompt
|
load shell/+bash/prompt.bash
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Done!
|
||||||
|
|
|
@ -1 +1,6 @@
|
||||||
[ -n "$PS1" ] && source ~/.bash_profile;
|
#
|
||||||
|
# ~/.bashrc
|
||||||
|
#
|
||||||
|
|
||||||
|
# If not running interactively, don't do anything
|
||||||
|
[[ $- != *i* ]] || source ~/.bash_profile;
|
||||||
|
|
Loading…
Reference in a new issue