26 lines
667 B
Plaintext
26 lines
667 B
Plaintext
|
|
# If you want to use Liquid Prompt without bothering about its configuration,
|
|
# just run the following command:
|
|
# cp example.bashrc ~/.bashrc
|
|
|
|
# The following is a minimalistic Bash config file
|
|
|
|
# Use the system config if it exists
|
|
if [ -f /etc/bashrc ]; then
|
|
. /etc/bashrc # --> Read /etc/bashrc, if present.
|
|
elif [ -f /etc/bash.bashrc ]; then
|
|
. /etc/bash.bashrc # --> Read /etc/bash.bashrc, if present.
|
|
fi
|
|
|
|
# The following lines are only for interactive shells
|
|
[[ $- = *i* ]] || return
|
|
|
|
# Use Bash completion, if installed
|
|
if [ -f /etc/bash_completion ]; then
|
|
. /etc/bash_completion
|
|
fi
|
|
|
|
# Use Liquid Prompt
|
|
source ~/liquidprompt/liquidprompt
|
|
|