From cabc5aa8c309851460736af48a7b38fb7d26a485 Mon Sep 17 00:00:00 2001 From: dhilipsiva Date: Mon, 4 Mar 2013 11:48:04 +0530 Subject: [PATCH] Backup #4 Signed-off-by: dhilipsiva --- .bash_profile | 12 ++++++------ .gitconfig | 2 +- backup.sh | 2 +- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.bash_profile b/.bash_profile index 22b4754..23cecec 100644 --- a/.bash_profile +++ b/.bash_profile @@ -31,7 +31,7 @@ function gh { } # A python test environment to play expriment something. -function _test { +function @test { deactivate . ~/ENV/test/bin/activate pip freeze > ~/test-env-requirements.txt @@ -41,7 +41,7 @@ function _test { alias syn="pull && push && gh" # Set of essential libraries to install in a new virtualenv -function _install_py_musthaves { +function @install_py_musthaves { curl https://gist.github.com/gists/4176838/download | pip install } @@ -51,11 +51,11 @@ export PATH="/usr/local/heroku/bin:$PATH" [[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function* # Shortcut to google search from commandline. Handy, huh? -function _google { +function @google { open "https://google.com/search?q=$*" } -function _hello { +function @hello { echo hello } @@ -64,13 +64,13 @@ export PATH="/usr/local/sbin:$PATH" alias q="exit" -function _misc_code_snippets { +function @misc_code_snippets { cd ~/Desktop/WIP/misc-code-snippets ./backup.sh exit } -function _commit { +function @commit { git commit --signoff -m "$*" } diff --git a/.gitconfig b/.gitconfig index 486a386..01d72e4 100644 --- a/.gitconfig +++ b/.gitconfig @@ -1,5 +1,5 @@ [user] - name = DhilipSiva Bijju + name = dhilipsiva email = dhilipsiva@gmail.com [credential] helper = osxkeychain diff --git a/backup.sh b/backup.sh index 3ccdb7f..e44ee4e 100755 --- a/backup.sh +++ b/backup.sh @@ -19,7 +19,7 @@ echo 'adding files to git...' git add . echo 'commiting changes if any...' -_commit "Backup #4" +@commit "Backup #4" echo 'pushing to origin...' git push origin master