diff options
Diffstat (limited to 'bitcoin-bal')
-rwxr-xr-x | bitcoin-bal | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitcoin-bal b/bitcoin-bal index 1fd7fb3..11331a6 100755 --- a/bitcoin-bal +++ b/bitcoin-bal @@ -1,5 +1,5 @@ #!/usr/bin/env bash btc=$(hledger bal cur:BTC ^as | tail -n1 | tr -d ' BTC') -usd=$(echo "$1 * $btc" | bc) +usd=$(hledger bal cur:BTC ^as -V | tail -n1 | tr -d ' USD') echo "$btc BTC" echo "$usd USD" |