tl;dr
brew tap kei-sato/addevent
brew install addevent
# 30分後の自分に通知
addevent -M 30 "金曜ロードショー"
こんな人におすすめしたい
- Mac OS X Yosemite 10.10 以降を使っている
- GUIでポチポチするよりコマンドの方が早いと思っている
- スケジュール管理には基本的にカレンダーを使う
おすすめの使い方
Googleカレンダーと同期
Calendar.app > 環境設定 > アカウント > Googleアカウントを追加
コマンドで追加したアカウントを選択
$ addevent -d 1 "an event"
0 xxxxxxxxxxx
1 youraccount@gmail.com
2 xxxxxxxxxxx
which would you like to use? [Numeber] > 1
カレンダー番号を指定してエイリアス
~/.bashrc
alias ae='addevent -c 1'
使用例
# 仕事帰りに買い物
addevent -H 8 "イトーヨーカドー"
# 明後日飲み会2時間。10分前に通知
addevent -d 2 -H 19 -t 120 -i -10 "ひつじや@四ツ谷"
# 通知はしなくていい
addevent -n -d 2 "仕事休み"
手動インストール
ただのシェルスクリプトなので、ダウンロードしてパーミッション変えればOK
FPATH=/usr/local/bin/addevent
[[ -f $FPATH ]] && echo "
####################
$FPATH exists. This will be destroyed!
Please make a backup of this file.
####################"
wget -O "$FPATH" https://gist.githubusercontent.com/kei-sato/f55c4eafb5e689b7ce03/raw/32addd9feed46fed16fe1dc529033910d8f98761/addevent
chmod +x "$FPATH"