diff options
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 |
