#!/bin/sh [ "$1" = "info" ] && echo "show timer" && exit 2 . "$core_path/lib" usage() { cat << EOF $subcmd -- show timer usage: $subcmd [options] options: -h, --help show help actions: EOF } . "$core_path/update" echo "lap $lap, $([ $running -eq 1 ] && echo "running" || echo "paused"), $(fmt_time $remaining)"