summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Phillips <david@sighup.nz>2017-03-05 15:18:08 +1300
committerDavid Phillips <david@sighup.nz>2017-03-05 15:18:08 +1300
commit4ee14fed1c0070b2bb4f534c24a56f00e2aa21ea (patch)
tree2dcc40f41511f383e474580947296b55e55df16f
parent9326c9f10541e83da5e525c1e001e75f5cd1f56e (diff)
downloaddotfiles-4ee14fed1c0070b2bb4f534c24a56f00e2aa21ea.tar.xz
Add XAG spot price to bashrc greeting
-rw-r--r--bashrc1
1 files changed, 1 insertions, 0 deletions
diff --git a/bashrc b/bashrc
index 9fd103a..0299796 100644
--- a/bashrc
+++ b/bashrc
@@ -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)))"