X-Git-Url: https://git.madduck.net/etc/mutt.git/blobdiff_plain/3f60a48a03a03af682424be032112bccc1062102..9697fb1471e041b28c583426c7e113e2ea621fa9:/.mutt/get-timestamp?ds=sidebyside diff --git a/.mutt/get-timestamp b/.mutt/get-timestamp index 4a1c524..5d00f32 100755 --- a/.mutt/get-timestamp +++ b/.mutt/get-timestamp @@ -7,6 +7,10 @@ # set -eu +if [ -z "${__RLWRAPPED:-}" ] && [ -x $(command -v rlwrap) ]; then + __RLWRAPPED=true exec rlwrap "$0" "$@" +fi + printf 'When should I tickle you about this message? ' >/dev/tty read timespec