Created
July 8, 2015 09:01
-
-
Save takesato/d1d0bba927c2b5a66c35 to your computer and use it in GitHub Desktop.
コマンド実行したら terminal-notify で通知.
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
local COMMAND="" | |
precmd() { | |
terminal-notifier -message $COMMAND | |
COMMAND="" | |
} | |
preexec () { | |
COMMAND="${1}" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
terminal-notifer のところを slack の web-hook とかに変えると色々捗りそう