A Customized Bash Prompt with minimal themes.
Git Clone the repo
git clone https://github.com/Smacx0/T-bash.git
cd T-bash/
realpath tbash.sh
Add the below lines to .bash_profile
or .bashrc
file present in your home directory.
if [ -f /<path_to_file>/tbash.sh ]; then
source "/<path_to_file>/tbash.sh";
export PROMPT_COMMAND="${PROMPT_COMMAND:-echo -n}; update_terminal_prompt; echo"
fi
tbash.sh
file contains the list of global variables, which allow you to set theme and enable / disable of displaying git / hg branch names.
config.ini
file contains the colour mapping of the tbash shell script.