vinay03 / bash-helpers

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bash Helpers

Table of Contents

Installation

  1. Clone this repository in your User's root directory

  2. Edit one of the following files according to your base operating system :

  • ~/.bashrc for Linux
  • ~/.bash_profile for MacOS
  1. 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

Bash Self Update Command

You can run bash-self-update command to update these scripts from time-to-time.

Print Help

Run following command to print comands help in terminal bashhelp

Uninstall

  1. Edit one of the following files according to your base operating system :
  • ~/.bashrc for Linux
  • ~/.bash_profile for MacOS
  1. Remove following or similar code

    source ~/bash-helpers/include-helpers.sh --all

About


Languages

Language:Shell 100.0%