ozipi / oziputils

general utils, bash snippets

Home Page:http://ozipi.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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!

About

general utils, bash snippets

http://ozipi.com