dotfiles

Author: Kyle Fuller <inbox@kylefuller.co.uk> 2013-04-25 23:00:20 +0100 +0100
Committer: Kyle Fuller <inbox@kylefuller.co.uk> 2013-04-25 23:00:20 +0100 +0100
Commit: 65b8793d43191b9589943ec5a0446ad509e84331
Parent: 1d8fefd073bc0d3cce52b33e86c34998af47d7f9


Minor tweaks and cleanup to .rc
diff --git a/.rc b/.rc
index 7e87361546109f69dddd36c83514ff7d2848636c..1c97e1bfc6061246c766524140c5446cf7d9bfe5 100644
--- a/.rc
+++ b/.rc
@@ -27,27 +27,17 @@ ssht() {
   ssh $1 -t tmux
 }
 
-# wg <filename> <url>
-alias wg="wget -O"
-
 alias snip="curl -F 'paste=<-' http://s.drk.sc"
-
-sprungef() {
-  curl -F "paste=@$1" http://snippt.herokuapp.com
-}
-
 alias gsnip='git diff | snip'
-gapp() {
-  curl $1 | git apply
-}
 
 alias mac="openssl rand -hex 6 | sed 's/\(..\)/\1:/g; s/.$//'"
 alias serve="python -m SimpleHTTPServer"
 
-# Source a local .profile if it exists
-[[ -s "$HOME/.profile" ]] && source "$HOME/.profile"
+# git
 
-export PATH=/usr/local/bin:/usr/local/share/python:$PATH
+apply() {
+  curl $1 | git apply
+}
 
 version() {
     COMMITS=$(git rev-list HEAD | wc -l)
@@ -59,3 +49,10 @@     git shortlog --no-merges $1..HEAD | pbcopy
     changes=$(git rev-list $1..HEAD | wc -l)
     echo "Release notes for $(version) are in your clipboard, $((changes)) changes"
 }
+
+
+# Source a local .profile if it exists
+[[ -s "$HOME/.profile" ]] && source "$HOME/.profile"
+
+export PATH=/usr/local/bin:/usr/local/share/python:$PATH
+