Oziputils
General purpouse utils for personal use
Profile configuration file with svn and git lookups
Installation of the profile
- Rename the bash_profiles/.profile_git_svn_check to .profile
- Place the .profile under your home directory
- Relaunch terminal
if you have .profile already just copy the functions and the PS1 export
Usage
Just go to any SVN or GIT directory, your prompt will indicate the type of version control and the current branch and also the current revision number on svn
Examples:
[ozipi@Ox0 ~/stuff/code/utils ] cd oziputils/
[ozipi@Ox0 ~/stuff/code/utils/oziputils (git::master) ]
[ozipi@Ox0 ~/stuff/code/as3/repos ] cd oztoc/oztoc/
[ozipi@Ox0 ~/stuff/code/as3/repos/oztoc/oztoc (svn::65:/trunk) ]
Enjoy!