diff --git a/zshrc.org b/zshrc.org index 5376183..498cf07 100644 --- a/zshrc.org +++ b/zshrc.org @@ -94,21 +94,22 @@ Each environment has slightly different setups, which will be tangled to differe #+end_src *** Misc helpers - #+begin_src sh :tangle ".zshrc" - - + - wttr.in + #+begin_src sh :tangle ".zshrc" wttr() { local location=Toronto [[ $(tput cols) -le 124 ]] && local narrow=n; curl -H "Accept-Language: ${LANG%_*}" wttr.in/"${1:-$location}?T$narrow" } - - #ifttt - ifttt () { - curl -X POST https://maker.ifttt.com/trigger/$1/with/key/$ifttt_apikey - } #+end_src + - ifttt + #+begin_src shell + ifttt () { + curl -X POST https://maker.ifttt.com/trigger/$1/with/key/$ifttt_apikey + } + #+end_src +*** konsole helpers *** emacs helpers #+begin_src sh :tangle ".zshrc"