From 4ee14fed1c0070b2bb4f534c24a56f00e2aa21ea Mon Sep 17 00:00:00 2001 From: David Phillips Date: Sun, 5 Mar 2017 15:18:08 +1300 Subject: Add XAG spot price to bashrc greeting --- bashrc | 1 + 1 file changed, 1 insertion(+) 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)))" -- cgit v1.1