2013-01-04 05:16:44 -05:00
|
|
|
|
2014-12-09 01:27:11 -05:00
|
|
|
# If you want to use Liquid Prompt without bothering about its configuration,
|
|
|
|
# just run the following command:
|
2013-01-04 05:16:44 -05:00
|
|
|
# cp example.bashrc ~/.bashrc
|
|
|
|
|
2014-12-09 01:27:11 -05:00
|
|
|
# The following is a minimalistic Bash config file
|
2013-01-04 05:16:44 -05:00
|
|
|
|
2014-12-09 01:27:11 -05:00
|
|
|
# Use the system config if it exists
|
2013-01-04 05:16:44 -05:00
|
|
|
if [ -f /etc/bashrc ]; then
|
2016-07-18 16:22:07 -04:00
|
|
|
. /etc/bashrc # --> Read /etc/bashrc, if present.
|
|
|
|
elif [ -f /etc/bash.bashrc ]; then
|
|
|
|
. /etc/bash.bashrc # --> Read /etc/bash.bashrc, if present.
|
2013-01-04 05:16:44 -05:00
|
|
|
fi
|
|
|
|
|
2016-07-18 16:22:07 -04:00
|
|
|
# The following lines are only for interactive shells
|
|
|
|
[[ $- = *i* ]] || return
|
|
|
|
|
2014-12-09 01:27:11 -05:00
|
|
|
# Use Bash completion, if installed
|
2013-01-04 05:16:44 -05:00
|
|
|
if [ -f /etc/bash_completion ]; then
|
|
|
|
. /etc/bash_completion
|
|
|
|
fi
|
|
|
|
|
2014-12-09 01:27:11 -05:00
|
|
|
# Use Liquid Prompt
|
2016-07-18 16:22:07 -04:00
|
|
|
source ~/liquidprompt/liquidprompt
|
2013-01-04 05:16:44 -05:00
|
|
|
|