diff options
author | David Phillips <david@sighup.nz> | 2019-03-09 20:25:24 +1300 |
---|---|---|
committer | David Phillips <david@sighup.nz> | 2019-03-09 20:25:24 +1300 |
commit | ccc4870b6eda36b03d1a94e15af00dd06be08fa3 (patch) | |
tree | 1e87b1b3f4b82698f5d966686da3e64b3745e96e | |
parent | aff198f833caa7cb2fe4569435a2211ba5aeff0e (diff) | |
download | dotfiles-ccc4870b6eda36b03d1a94e15af00dd06be08fa3.tar.xz |
Make date usage POSIX
-rw-r--r-- | bashrc | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -46,5 +46,5 @@ fi [ -d ~/Maildir/new/ ] && [ "$(ls ~/Maildir/new/)" ] && echo 'New mail' [ -z "$(ls -A ~/.cache/currency 2>/dev/null)" ] || for c in ~/.cache/currency/* ; do - echo "$(cat $c) (at $(date +"%a %d %H:%M" --date=@$(stat -c %Y $c)))" + echo "$(cat $c) (at $(date -d $(stat -c %Y $c) +"%a %d %H:%M"))" done |