commit f7c84c5c9d3b953646891c49a4f7a5900d919050
parent 1a79d4a6a39209de3e1ad2abf704c9125d7f307f
Author: Anders Damsgaard Christensen <adc@geo.au.dk>
Date: Wed, 28 Sep 2016 08:36:49 -0700
add weather and calendar bindings
Diffstat:
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git a/.zshrc b/.zshrc
@@ -56,6 +56,8 @@ function fname() { find . -iname "*$@*"; }
function sayfile() { festival --tts $@; }
function tnew { tmux new-session -As `basename $PWD` }
function w3mtor { torify w3m http://3g2upl4pq6kufc4m.onion/ }
+#function weather { curl wttr.in/SanDiego; }
+function weather { curl wttr.in; }
# Start tmux on shell login
#[[ -z "$TMUX" ]] && exec tmux
@@ -243,6 +245,8 @@ alias big='osascript ~/.termtile/resize.scpt '
alias cen='osascript ~/.termtile/center.scpt '
alias sha256sum='shasum -a 256'
+# calendar aliases
+alias cala="gcalcli agenda"
#. /Users/ad/torch/install/bin/torch-activate