fetch plan.cat pw from pass
This commit is contained in:
parent
d27064c1cd
commit
e5a58e8075
1 changed files with 3 additions and 1 deletions
|
|
@ -2,5 +2,7 @@
|
|||
|
||||
set -e
|
||||
|
||||
PASSWORD=$(pass show personal/plan.cat)
|
||||
|
||||
T=`mktemp` && curl -so $T https://plan.cat/\~travisshears && $EDITOR $T && \
|
||||
curl -su travisshears -F "plan=<$T" https://plan.cat/stdin
|
||||
curl -su travisshears:$PASSWORD -F "plan=<$T" https://plan.cat/stdin
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue