general utils, bash snippets
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bash_profiles
geo
README.textile

README.textile

Oziputils

General purpouse utils for personal use

Profile configuration file with svn and git lookups

Installation of the profile

  1. Rename the bash_profiles/.profile_git_svn_check to .profile
  2. Place the .profile under your home directory
  3. 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!