Last active
August 29, 2015 13:57
-
-
Save f440/9359431 to your computer and use it in GitHub Desktop.
brew install ./zaw.rb --HEAD
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 Zaw < Formula | |
| homepage 'https://github.com/zsh-users/zaw' | |
| head 'https://github.com/zsh-users/zaw.git' | |
| def install | |
| (share/'zaw').install Dir['*'] | |
| end | |
| def caveats | |
| <<-EOS.undent | |
| To activate this widget, add the following at the end of your .zshrc: | |
| source #{HOMEBREW_PREFIX}/share/zaw/zaw.zsh | |
| You will also need to force reload of your .zshrc: | |
| source ~/.zshrc | |
| EOS | |
| end | |
| end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment