From d7e9e66ff76dfa27d707b619a79c56501240055b Mon Sep 17 00:00:00 2001 From: Michael Campagnaro Date: Sat, 18 Feb 2017 13:08:12 -0500 Subject: [PATCH] Cleanup some old aliases and functions --- aliases | 1 - functions | 23 +---------------------- 2 files changed, 1 insertion(+), 23 deletions(-) diff --git a/aliases b/aliases index 8236cef..7eb168c 100644 --- a/aliases +++ b/aliases @@ -35,7 +35,6 @@ alias bld='brew link --overwrite --dry-run' alias bower='noglob bower' alias bu='bundle update' alias bo='bundle open' -alias chrome='google-chrome-stable' alias clipboard='xclip -selection c' alias cloc='cloc --no3 --by-file-by-lang .' alias cls=clear diff --git a/functions b/functions index 9b90d87..d9b0d24 100644 --- a/functions +++ b/functions @@ -59,26 +59,17 @@ function git-on-master { git rebase master } -function rrg { - rake routes | grep $1 -} - function take { mkdir $1 cd $1 } -# Allows commit message without typing quotes (can't have quotes in the commit msg though). -function gc { - git commit -m "$*" -} - # Search google for a term function google() { if [[ $platform == 'Darwin' ]]; then open /Applications/Google\ Chrome.app/ "http://www.google.com/search?q= $1"; else - crome "http://www.google.com/search?q= $1"; + chrome "http://www.google.com/search?q= $1"; fi } @@ -95,15 +86,3 @@ function chrome () { function hist() { cat ~/.history|cut -d ';' -f 2- 2>/dev/null| awk '{a[$1]++ } END{for(i in a){print a[i] " " i}}'|sort -rn|head } - -function bump_gem_version { - if [[ $# -eq 0 ]]; then - echo "usage: $0 " - else - echo "Committing version bump" - git add . && git commit -m "Version ${1}" - echo "Creating tag v$1" - git tag -a v${1} -m "Tagging v${1}" - git push origin && git push origin --tags - fi -}