-
Clone this repository in your User's root directory
-
Edit one of the following files according to your base operating system :
~/.bashrc
for Linux~/.bash_profile
for MacOS
-
Append following code and save it.
source ~/bash-helpers/include-helpers.sh --all
NOTE:
Instead of--all
you can mention any one or more of the following flags.-g | --git
: To use git helper comands.-d | --docker
: To use docker helper comands.-p | --prompt
: To use modified prompt message that features git related information
You can run bash-self-update
command to update these scripts from time-to-time.
Run following command to print comands help in terminal
bashhelp
- Edit one of the following files according to your base operating system :
~/.bashrc
for Linux~/.bash_profile
for MacOS
-
Remove following or similar code
source ~/bash-helpers/include-helpers.sh --all