-
-
Save eiel/5361485 to your computer and use it in GitHub Desktop.
通知するだけ。 コマンドの最後に ;t とつけて使う。 必須 gem install terminal-notifier
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
# -*- coding: utf-8 -*- | |
message = ARGV.join(" ") | |
if message.empty? | |
message = 'なにか終わったかも'end | |
system "terminal-notifier -message #{message} -execute 'open -a iTerm.app'" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment