2018-12-02 23:43:08 +00:00
|
|
|
#!/bin/bash
|
2018-12-03 14:22:12 +00:00
|
|
|
set -euo pipefail
|
2018-12-02 23:43:08 +00:00
|
|
|
|
2019-08-11 19:27:58 +00:00
|
|
|
DIFF=$(${HOME}/bin/tmux-timediff)
|
2018-12-03 10:02:09 +00:00
|
|
|
[ -n "${DIFF}" ] && DIFF="(${DIFF})"
|
2018-12-02 23:43:08 +00:00
|
|
|
|
2019-12-23 15:01:32 +00:00
|
|
|
printf '\uf017 %s %s\n' "$(date "+%a %Y-%m-%d %H:%M:%S")" "${DIFF}"
|