Prompt for git repositories
Haskell environment installed
- Compile with the command:
stack build
-
Copy the compiled file git-prompt-exe into your home directory
-
Copy the file .gitprompt.sh into your home directory
-
Source the file .gitprompt.sh in your profile for bash. In Mac OS it is the file .profile
For fish shell copy the file fish_prompt.fish into ~/.config/fish/functions