Add vimpager formula
Remove unnecessary mv call. Tricksy homebrews. Add caveat for setting up vimpager Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
parent
90092cb4e0
commit
000dc7cd96
1 changed files with 18 additions and 0 deletions
18
Formula/vimpager.rb
Normal file
18
Formula/vimpager.rb
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
require 'formula'
|
||||||
|
|
||||||
|
class Vimpager < Formula
|
||||||
|
url 'http://www.vim.org/scripts/download_script.php?src_id=13024'
|
||||||
|
version '1.3'
|
||||||
|
homepage 'http://www.vim.org/scripts/script.php?script_id=1723'
|
||||||
|
md5 '2ace56c96fb47cd6f34e47b2d6707729'
|
||||||
|
|
||||||
|
def install
|
||||||
|
bin.install 'download_script.php?src_id=13024' => 'vimpager'
|
||||||
|
end
|
||||||
|
|
||||||
|
def caveats; <<-EOS.undent
|
||||||
|
To use vimpager as your default pager, add `export PAGER=vimpager` to your
|
||||||
|
shell configuration.
|
||||||
|
EOS
|
||||||
|
end
|
||||||
|
end
|
Loading…
Reference in a new issue