aboutsummaryrefslogtreecommitdiffstats
path: root/.aliases
diff options
context:
space:
mode:
authorMathias Bynens <mathias@qiwi.be>2014-06-07 15:59:44 +0200
committerMathias Bynens <mathias@qiwi.be>2014-06-07 15:59:44 +0200
commit3b4eb3efb692aa4d19a1e2c30c2ed9a65e9c7d8c (patch)
treeaa8ed43008a0de86082b679d3912ac6be5fffcd9 /.aliases
parente0308459473e424701166a65fadced5e1ea2702f (diff)
downloaddotfiles-3b4eb3efb692aa4d19a1e2c30c2ed9a65e9c7d8c.tar.gz
dotfiles-3b4eb3efb692aa4d19a1e2c30c2ed9a65e9c7d8c.tar.bz2
dotfiles-3b4eb3efb692aa4d19a1e2c30c2ed9a65e9c7d8c.zip
Remove some things that I don’t use
This commit drops some aliases, functions, and settings from the project that I wasn’t using at all. It also cleans up some of the remaining code.
Diffstat (limited to '.aliases')
-rw-r--r--.aliases17
1 files changed, 5 insertions, 12 deletions
diff --git a/.aliases b/.aliases
index bdac6b3..db4d8e9 100644
--- a/.aliases
+++ b/.aliases
@@ -38,9 +38,6 @@ export LS_COLORS='no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:do=01;35:bd=40
# Enable aliases to be sudo’ed
alias sudo='sudo '
-# Gzip-enabled `curl`
-alias gurl='curl --compressed'
-
# Get week number
alias week='date +%V'
@@ -78,9 +75,9 @@ command -v md5sum > /dev/null || alias md5sum="md5"
command -v sha1sum > /dev/null || alias sha1sum="shasum"
# JavaScriptCore REPL
-jscbin="/System/Library/Frameworks/JavaScriptCore.framework/Versions/A/Resources/jsc"
-[ -e "${jscbin}" ] && alias jsc="${jscbin}"
-unset jscbin
+jscbin="/System/Library/Frameworks/JavaScriptCore.framework/Versions/A/Resources/jsc";
+[ -e "${jscbin}" ] && alias jsc="${jscbin}";
+unset jscbin;
# Trim new lines and copy to clipboard
alias c="tr -d '\n' | pbcopy"
@@ -88,9 +85,6 @@ alias c="tr -d '\n' | pbcopy"
# Recursively delete `.DS_Store` files
alias cleanup="find . -type f -name '*.DS_Store' -ls -delete"
-# ROT13-encode text. Works for decoding, too! ;)
-alias rot13='tr a-zA-Z n-za-mN-ZA-M'
-
# Empty the Trash on all mounted volumes and the main HDD
# Also, clear Apple’s System Logs to improve shell startup speed
alias emptytrash="sudo rm -rfv /Volumes/*/.Trashes; sudo rm -rfv ~/.Trash; sudo rm -rfv /private/var/log/asl/*.asl"
@@ -138,7 +132,6 @@ command -v grunt > /dev/null && alias grunt="grunt --stack"
# Stuff I never really use but cannot delete either because of http://xkcd.com/530/
alias stfu="osascript -e 'set volume output muted true'"
alias pumpitup="osascript -e 'set volume 7'"
-alias hax="growlnotify -a 'Activity Monitor' 'System error' -m 'WTF R U DOIN'"
# Kill all the tabs in Chrome to free up memory
# [C] explained: http://www.commandlinefu.com/commands/view/402/exclude-grep-from-your-grepped-output-of-ps-alias-included-in-description
@@ -150,5 +143,5 @@ alias afk="/System/Library/CoreServices/Menu\ Extras/User.menu/Contents/Resource
# Reload the shell (i.e. invoke as a login shell)
alias reload="exec $SHELL -l"
-# Faster npm for europeans
-command -v npm > /dev/null && alias npme="npm --registry http://registry.npmjs.eu"
+# Faster npm for Europeans
+command -v npm > /dev/null && alias npme="npm --registry http://registry.npmjs.eu/"