LoginSignup
19
18

More than 5 years have passed since last update.

tmuxのステータスラインにGuardのエラーを通知する

Last updated at Posted at 2013-04-18

事情があって別のマシンにsshして仕事をしていて、Guardが回しているテストがこけたときの通知をどうしようかなーと考えていました。

少し調べたら、ncを使う方法などもあるようですが、tmuxのステータスラインに通知する方法を見つけました。

Guardfileに以下を書き込むと有効になります。

Guardfile
notification :tmux, display_message: true, color_location: "status-left-bg"

tmuxのdisplay-messageというコマンドを使っているようです。

過去ログを見たい時は<prefix>~で見ることもできます。便利。

19
18
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
19
18