aboutsummaryrefslogtreecommitdiffstats
path: root/.aliases
diff options
context:
space:
mode:
Diffstat (limited to '.aliases')
-rw-r--r--.aliases3
1 files changed, 3 insertions, 0 deletions
diff --git a/.aliases b/.aliases
index 6f5a601..07f25d7 100644
--- a/.aliases
+++ b/.aliases
@@ -49,6 +49,9 @@ alias gurl='curl --compressed'
# Get week number
alias week='date +%V'
+# Stopwatch
+alias timer='echo "Timer started. Stop with Ctrl-D." && date && time cat && date'
+
# Get OS X Software Updates, and update installed Ruby gems, Homebrew, npm, and their installed packages
alias update='sudo softwareupdate -i -a; brew update; brew upgrade; brew cleanup; npm update npm -g; npm update -g; sudo gem update'