Last active
August 29, 2015 14:07
-
-
Save wilmoore/1cebe3c57e2fde2aa7d6 to your computer and use it in GitHub Desktop.
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
require 'formula' | |
class ZshNotify < Formula | |
homepage 'https://github.com/marzocchi/zsh-notify' | |
head 'https://github.com/marzocchi/zsh-notify.git' | |
depends_on 'terminal-notifier' | |
def install | |
prefix.install Dir['*'] | |
end | |
def caveats; <<-EOS.undent | |
For Bash or Zsh, put something like this in your $HOME/.bashrc or $HOME/.zshrc: | |
export SYS_NOTIFIER=$(brew --prefix terminal-notifier)/bin/terminal-notifier | |
source $(brew --prefix zsh-notify)/notify.plugin.zsh | |
EOS | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment