- clone repository on your home folder
git clone git@github.com:peterojo/bash.d.git ~/.bash.d
- run the installer -- installer will append to your original .bashrc script
cd ~/.bash.d
make install
refresh
The file ~/.bash.d/conf/10-colored-ps1
offers a set of simple colored PS1.
Makefile already has a list of scripts for switching colors, so just choose one of them
make green
refresh
The refresh
command is an alias for source ~/.bashrc
which simply reloads your terminal.
These instructions only work for bash users, users of alternative shells like zsh or fish have to edit commands in Makefile
to update the corresponding files for their terminals e.g .zshrc
for zsh users.