A Simple Bash Style With Git Branch Detection
Files
This could go into .bashrc, .bash_profile or .zshrc - your respective shell config file.
Args
Some aliases for easier handling
| |
Then we need a function which parses the current git branch (git has to be installed)…
| |
…and input the branch unto your PS1 (current theme) like so:
| |
Then I added some more styling for OSX as well as for ls
| |
Misc
And some honorable mentions for OSX as well would be:Add MAMP PHP to your path
| |
And add the current locale like German, UTF-8 as well
| |