nofap-tracker() { if [ -z "$1" ]; then echo -n "Last served Satan, the NWO, and repulsive digusting filthy whores" $(datediff $(date -u -d @$(date "+%s" -d "$(< ~/nofap-date)") +"%Y-%m-%dT%H:%M:%S") now -f '%d days, %H hours, %M minutes ago.') echo " ($(< ~/nofap-date))" ; elif [ $1 == "-set" ] && [ $# -gt 1 ]; then echo -n $(date +"%A, %B %e %Y %l:%M %P %Z" -d "$(echo "${@:2}")") > ~/nofap-date chflags hidden ~/nofap-date echo "Date set to: $(< ~/nofap-date)" ; fi }