aboutsummaryrefslogtreecommitdiffstats
path: root/.aliases
diff options
context:
space:
mode:
authorMathias Bynens <mathias@qiwi.be>2013-07-25 13:00:50 +0200
committerMathias Bynens <mathias@qiwi.be>2013-07-25 13:00:50 +0200
commit96da7b6ba15a64abea7c136737e9f744fa3823ea (patch)
treece4f03502aba48af61a9044f2de369c22bd83610 /.aliases
parent02b0cc74c39ce4c94337aec96611f4326e70dd85 (diff)
downloaddotfiles-96da7b6ba15a64abea7c136737e9f744fa3823ea.tar.gz
dotfiles-96da7b6ba15a64abea7c136737e9f744fa3823ea.tar.bz2
dotfiles-96da7b6ba15a64abea7c136737e9f744fa3823ea.zip
.aliases: Add `timer`
`timer` can be used as a stopwatch. Hat tip: https://twitter.com/tow8ie/status/360077953238962176
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'