Skip to content

Instantly share code, notes, and snippets.

@high5
Created June 9, 2019 04:20
Show Gist options
  • Save high5/d5f60caa6457783eed4d57f999de3da5 to your computer and use it in GitHub Desktop.
Save high5/d5f60caa6457783eed4d57f999de3da5 to your computer and use it in GitHub Desktop.
Golang製の「ttimer」をシェルスクリプトでwrapしてより便利に使う。ポモドローぽくデフォルト25分の設定
minute="25"
if [ $# = 1 ]; then
ttimer $1
exit 1
fi
ttimer $minute
@high5
Copy link
Author

high5 commented Jun 9, 2019

最初にttimerをインストールしておく必要がある
ttimer

$ brew install ttimer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment