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:
Alexander Kahn 2010-12-09 11:56:40 -05:00 committed by Mike McQuaid
parent 90092cb4e0
commit 000dc7cd96

18
Formula/vimpager.rb Normal file
View 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