liquidprompt 1.8
Move liquidprompt script to share & notify in info. Closes Homebrew/homebrew#25925. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>master
parent
8bd363f0b0
commit
324129e319
|
@ -2,23 +2,23 @@ require 'formula'
|
||||||
|
|
||||||
class Liquidprompt < Formula
|
class Liquidprompt < Formula
|
||||||
homepage 'https://github.com/nojhan/liquidprompt'
|
homepage 'https://github.com/nojhan/liquidprompt'
|
||||||
url 'https://github.com/nojhan/liquidprompt/archive/v_1.7.tar.gz'
|
url 'https://github.com/nojhan/liquidprompt/archive/v_1.8.tar.gz'
|
||||||
sha1 'db7f24b20f09480b3491c5250f30f7ccd67ee44e'
|
sha1 'ad481e98b0f6ed251cd65cb01464da151929f081'
|
||||||
|
|
||||||
def install
|
def install
|
||||||
(share+'liquidprompt').install 'liquidpromptrc-dist'
|
share.install 'liquidpromptrc-dist'
|
||||||
bin.install 'liquidprompt'
|
share.install 'liquidprompt'
|
||||||
end
|
end
|
||||||
|
|
||||||
def caveats; <<-EOS.undent
|
def caveats; <<-EOS.undent
|
||||||
Add the following lines to your bash or zsh config (e.g. ~/.bash_profile):
|
Add the following lines to your bash or zsh config (e.g. ~/.bash_profile):
|
||||||
if [ -f $(brew --prefix)/bin/liquidprompt ]; then
|
if [ -f #{HOMEBREW_PREFIX}/share/liquidprompt ]; then
|
||||||
. $(brew --prefix)/bin/liquidprompt
|
. #{HOMEBREW_PREFIX}/share/liquidprompt
|
||||||
fi
|
fi
|
||||||
|
|
||||||
If you'd like to reconfigure options, you may do so in ~/.liquidpromptrc.
|
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
|
A sample file you may copy and modify has been installed to
|
||||||
#{HOMEBREW_PREFIX}/share/liquidprompt/liquidpromptrc-dist
|
#{HOMEBREW_PREFIX}/share/liquidpromptrc-dist
|
||||||
|
|
||||||
Don't modify the PROMPT_COMMAND variable elsewhere in your shell config;
|
Don't modify the PROMPT_COMMAND variable elsewhere in your shell config;
|
||||||
that will break things.
|
that will break things.
|
||||||
|
|
Loading…
Reference in New Issue