dotfiles

Author: Kyle Fuller <kyle@fuller.li> 2021-04-05 21:10:07 +0100 +0100
Committer: Kyle Fuller <kyle@fuller.li> 2021-04-05 21:10:07 +0100 +0100
Commit: c91478184e606232675b977a8334cbc3feeb07a1
Parent: 302649c61ab6f348e04317a02d45efe11b581142


refactor(sh): remove unused aliases
diff --git a/.rc b/.rc
index d64ee3cab2ac64a4c03e7ad5436512b81216c278..518afe88a136391393aa464aa19e9971d67aaf9d 100644
--- a/.rc
+++ b/.rc
@@ -11,37 +11,5 @@ export EDITOR=vim
 export LSCOLORS=Gxfxcxdxbxegedabagacad
 alias ls='ls -G'
 
-openx () {
-  # http://orta.github.io/rebase/on/opening-xcode-projects-and-workspaces/
-
-  if test -n "$(find . -maxdepth 1 -name '*.xcworkspace' -print -quit)"; then
-    open *.xcworkspace
-  else
-    if test -n "$(find . -maxdepth 1 -name '*.xcodeproj' -print -quit)"; then
-      open *.xcodeproj
-    else
-      echo "No Xcode workspace or project found"
-    fi
-  fi
-}
-
-alias snip="curl -F 'paste=<-' http://s.drk.sc"
-alias mac="openssl rand -hex 6 | sed 's/\(..\)/\1:/g; s/.$//'"
-alias serve="python -m SimpleHTTPServer"
-
-# git
-
-version() {
-    COMMITS=$(git rev-list HEAD | wc -l)
-    echo "$(git describe --tags --always --dirty) ($((COMMITS)))"
-}
-
-changelog() {
-    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"
-