AGM features + bash prompt facilities
Requirements:
- bash
Installation:
-
clone the repo
-
run
./agm.sh setup
-
configure your prompt with
agm-configure
If your prompt were already updated, add --forceex:
agm-configure --force
When I run those environment on my workstation, I'm setting several things.
-
Add git-prompt.sh in /etc/profile.d
Fedora:
sudo cp/usr/share/doc/git-core-doc/contrib/completion/git-prompt.sh
Ubuntu:
Nothing to do. Already loaded if git is installed.
-
On the agm-configure, I'm selecting the chris2.prpt
This one is a general prompt
It is based on git function that needs to be loaded in your bashrc