#!/bin/zsh if [ -n "$WTF_WORK_END" -a -e $HOME/.wtf ] && which wtf &>/dev/null; then export WTF_REST=$(wtf raw -d $WTF_WORK_END diff); export WTF_REST_FORMATTED="$(printf "%.2f days\n" $((WTF_REST/28800.0)))" fi