dotfiles

configuration files for shell, text editor, graphical environment, etc.
git clone git://src.adamsgaard.dk/dotfiles
Log | Files | Refs | README | LICENSE Back to index

commit 6d29c8ebb87d40f4fc858449508d281768cba1d2
parent 47cadb2efdb51ae3b8f58bf773ea6e9460c0611a
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date:   Fri, 22 Nov 2019 09:26:11 +0100

Use pass for phone numbers

Diffstat:
M.local/bin/sendtext | 12++++++------
1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/.local/bin/sendtext b/.local/bin/sendtext @@ -1,6 +1,6 @@ #!/bin/sh set -e -my_number="+18582473666" +my_number="$(pass Telephone/anders-twilio)" version=0.1 show_help() { @@ -74,19 +74,19 @@ message="$(cat)" for r in "$@"; do case "$r" in susan) - r="+4542742942" + r="$(pass Telephone/susan)" ;; anders) - r="+4542743142" + r="$(pass Telephone/anders)" ;; anders-us) - r="+18582478944" + r="$(pass Telephone/anders-us)" ;; christian) - r="+4530246587" + r="$(pass Telephone/christian)" ;; simon) - r="+4551887891" + r="$(pass Telephone/simon)" ;; esac send_twilio_text "$r"