diff options
author | David Phillips <david@sighup.nz> | 2017-03-05 15:18:08 +1300 |
---|---|---|
committer | David Phillips <david@sighup.nz> | 2017-03-05 15:18:08 +1300 |
commit | 4ee14fed1c0070b2bb4f534c24a56f00e2aa21ea (patch) | |
tree | 2dcc40f41511f383e474580947296b55e55df16f /bashrc | |
parent | 9326c9f10541e83da5e525c1e001e75f5cd1f56e (diff) | |
download | dotfiles-4ee14fed1c0070b2bb4f534c24a56f00e2aa21ea.tar.xz |
Add XAG spot price to bashrc greeting
Diffstat (limited to 'bashrc')
-rw-r--r-- | bashrc | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -130,3 +130,4 @@ if [ -f ~/.cache/weather/forecast ]; then fi [ -d ~/Maildir/new/ ] && [ "$(ls ~/Maildir/new/)" ] && echo 'New mail' +[ -f ~/.cache/XAGNZD ] && echo "$(cat ~/.cache/XAGNZD) (at $(date +"%a %d %H:%M" --date=@$(stat -c %Y ~/.cache/XAGNZD)))" |