diff options
| author | Brad Beyenhof | 2013-03-14 20:50:42 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2013-05-04 13:07:29 -0700 |
| commit | 61a8aa2fa211ac247ac5b1a1c47a6d5ac110cac2 (patch) | |
| tree | 20bf86e8ac9facf625d90137fb2e34ea664c9c99 /Library | |
| parent | d8c3f1b4793929d94865a7d9efc5e47697b6dc64 (diff) | |
| download | homebrew-61a8aa2fa211ac247ac5b1a1c47a6d5ac110cac2.tar.bz2 | |
liquidprompt 1.3
Liquidprompt is a shell (bash and zsh) dynamic prompt updater, which
notifies you about local version-control repository status, remaining
battery power, and other things.
Closes #18483.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/liquidprompt.rb | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/Library/Formula/liquidprompt.rb b/Library/Formula/liquidprompt.rb new file mode 100644 index 000000000..f79e46c08 --- /dev/null +++ b/Library/Formula/liquidprompt.rb @@ -0,0 +1,27 @@ +require 'formula' + +class Liquidprompt < Formula + homepage 'https://github.com/nojhan/liquidprompt' + url 'https://github.com/nojhan/liquidprompt/archive/v_1.3.tar.gz' + sha1 '0ea54fbdce49368c4c25740fb86e19caffa7ef28' + + def install + (share+'liquidprompt').install 'liquidpromptrc-dist' + bin.install 'liquidprompt' + end + + def caveats; <<-EOS.undent + Add the following lines to your bash or zsh config (e.g. ~/.bash_profile): + if [ -f $(brew --prefix)/bin/liquidprompt ]; then + . $(brew --prefix)/bin/liquidprompt + fi + + If you'd like to reconfigure options, you may do so in ~/.liquidpromptrc. + A sample file you may copy and modify has been installed to + #{HOMEBREW_PREFIX}/share/liquidprompt/liquidpromptrc-dist + + Don't modify the PROMPT_COMMAND variable elsewhere in your shell config; + that will break things. + EOS + end +end |
