This script will allow you to customize your terminals without the need of installing anything.
It will display the current user, the current path, and when inside a git repository, it will display the branch name and the number of modified files.
- GIT
- Clone this repository
- Edit the file
~/.bashrc
or~/.profile
and add the following code at the end of the file:
CUSTOM_BASH_DESIGN_FILE_PATH=~/.bash_design
if [ -f $CUSTOM_BASH_DESIGN_FILE_PATH ]; then
. $CUSTOM_BASH_DESIGN_FILE_PATH
fi
Please make sure to replace CUSTOM_BASH_DESIGN_FILE_PATH
value with the path for .bash_design
file from your cloned repository.
- Ubuntu 20.04
- Ubuntu 18.04
- gnome-terminal
- Terminator