README alias recommendation

This commit is contained in:
Gandalf 2021-03-04 20:25:39 +01:00
parent 59309ba5ed
commit b65a65733c
2 changed files with 10 additions and 1 deletions

View file

@ -13,3 +13,12 @@ sipgate doesn't accept pdf files larger than 30 pages or 10MB.
`balance.sh` just gives your account balance. `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`

View file

@ -9,4 +9,4 @@ do
DATE=$(echo $JSON | jq '.created' | sed -e 's:"::g' ) DATE=$(echo $JSON | jq '.created' | sed -e 's:"::g' )
TARGET=$(echo $JSON | jq '.target' | 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" echo "Fax $LINE vom $(date +%d.%m.%Y -d $DATE) an $TARGET: $STATUS"
done < .fax_history done < $BASEPATH/.fax_history