You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
42 lines
924 B
Bash
42 lines
924 B
Bash
# If not running interactively, don't do anything
|
|
[ -z "$PS1" ] && return
|
|
|
|
if [ -f ~/.bash/environment ]; then
|
|
source ~/.bash/environment
|
|
fi
|
|
|
|
if [ -f ~/.bash/colors ]; then
|
|
source ~/.bash/colors
|
|
fi
|
|
|
|
if [ -f ~/.bash/functions ]; then
|
|
source ~/.bash/functions
|
|
fi
|
|
|
|
if [ -f ~/.bash/aliases ]; then
|
|
source ~/.bash/aliases
|
|
fi
|
|
|
|
if [ -f ~/.bash/git-flow-completion ]; then
|
|
source ~/.bash/git-flow-completion
|
|
fi
|
|
|
|
if [ -f ~/.bash/prompt ]; then
|
|
source ~/.bash/prompt
|
|
fi
|
|
|
|
if [ -f ~/opt/bash/env ]; then
|
|
source ~/opt/bash/env
|
|
fi
|
|
|
|
# enable programmable completion features (you don't need to enable
|
|
# this, if it's already enabled in /etc/bash.bashrc and /etc/profile
|
|
# sources /etc/bash.bashrc).
|
|
if [ -f /etc/bash_completion ] && ! shopt -oq posix; then
|
|
source /etc/bash_completion
|
|
fi
|
|
|
|
if [ -f /opt/local/etc/profile.d/bash_completion.sh ]; then
|
|
source /opt/local/etc/profile.d/bash_completion.sh
|
|
fi
|