To show the actual git branch of a project when you are in bash put the following function into your profile (e.g. .bash_profile):
Tag Archives: Shell Script
I had to find a class in a directory with a huge count of jars… JBoss AS 7 in this case.
Inspired by Christian’s blog entry about rlwrap (german), I decided to share my functions and settings for Bourne Again shell and Oracle SQL*Plus.