Skip to content

Instantly share code, notes, and snippets.

@cpCharlesBoyd
Created February 1, 2013 19:26
Show Gist options
  • Save cpCharlesBoyd/4693461 to your computer and use it in GitHub Desktop.
Save cpCharlesBoyd/4693461 to your computer and use it in GitHub Desktop.
part of my ~/.bashrc file
export TESTS=/opt/linux_tests
export PROJECT=$TESTS/projects
export PRODUCTION=$TESTS/production
export TS=/opt/testsuite
function backup { cp $1 ~/.backup/ ; }
function tidy { backup $1 ; perltidy $1 ; mv "$1.tdy" $1 ; }
function gitup { cd $TS ; git pull ; cd - ; cd $TESTS ; git pull ; cd - ; }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment