From 96da7b6ba15a64abea7c136737e9f744fa3823ea Mon Sep 17 00:00:00 2001 From: Mathias Bynens Date: Thu, 25 Jul 2013 13:00:50 +0200 Subject: .aliases: Add `timer` `timer` can be used as a stopwatch. Hat tip: https://twitter.com/tow8ie/status/360077953238962176 --- .aliases | 3 +++ 1 file changed, 3 insertions(+) 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' -- cgit v1.2.3