From b65a65733ca9c44e731d6bd4f38801fe987598bb Mon Sep 17 00:00:00 2001 From: Gandalf Date: Thu, 4 Mar 2021 20:25:39 +0100 Subject: [PATCH] README alias recommendation --- README.md | 9 +++++++++ status.sh | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 046ca0e..04fa563 100644 --- a/README.md +++ b/README.md @@ -13,3 +13,12 @@ sipgate doesn't accept pdf files larger than 30 pages or 10MB. `balance.sh` just gives your account balance. +## Recommendation +Put +``` +alias fax="/your/path/to/this/project/fax.sh" +alias faxstatus="/your/path/to/this/project/status.sh" +alias faxbalance="/your/path/to/this/project/balance.sh" +``` +into your `.bash_rc` + diff --git a/status.sh b/status.sh index ccc774e..e5c7ae0 100755 --- a/status.sh +++ b/status.sh @@ -9,4 +9,4 @@ do DATE=$(echo $JSON | jq '.created' | sed -e 's:"::g' ) TARGET=$(echo $JSON | jq '.target' | sed -e 's:"::g' ) echo "Fax $LINE vom $(date +%d.%m.%Y -d $DATE) an $TARGET: $STATUS" -done < .fax_history +done < $BASEPATH/.fax_history