diff --git a/zshrc.org b/zshrc.org index 96a92f7..84f4672 100644 --- a/zshrc.org +++ b/zshrc.org @@ -22,6 +22,17 @@ This is my ~.zshrc~; it will be used in many environments: Each environment has slightly different setups, which will be tangled to different files +*** Include + First, include a number of confidential data (such as API keys and + such) + #+BEGIN_SRC sh :tangle ".zshrc" + source .config/confidential.sh + # This defines a number of env variables: + # ANDROID_A3=xxxx + # ANDROID_BLU=xxx + # ANDROID_IP=xxx.xxx.xxx.xxx + # ifttt_apikey=xyz + #+end_src *** KDE helpers #+BEGIN_SRC sh :tangle ".zshrc" kde-current-activity () { @@ -47,10 +58,6 @@ Each environment has slightly different setups, which will be tangled to differe adb shell am broadcast --user 0 -a net.dinglish.tasker.run_task -e task "$1" } - ANDROID_A3=A3201809076708 - ANDROID_BLU=6LFUQ86DYLOFCANR - ANDROID_IP=192.168.0.22 - android-remote-keyboard() { # should set this up in a tmux session @@ -99,7 +106,7 @@ Each environment has slightly different setups, which will be tangled to differe #ifttt ifttt () { - curl -X POST https://maker.ifttt.com/trigger/$1/with/key/JLJw_lpzFTzDQetjix9Hr + curl -X POST https://maker.ifttt.com/trigger/$1/with/key/$ifttt_apikey } #+end_src *** emacs helpers