homebrew-core/Formula/zsh-history-substring-search.rb
BrewTestBot 95884bae22 Formula files style updates.
Closes Homebrew/homebrew#42407.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-08-03 14:21:42 +01:00

17 lines
576 B
Ruby

class ZshHistorySubstringSearch < Formula
desc "Zsh port of Fish shell's history search"
homepage "https://github.com/zsh-users/zsh-history-substring-search"
url "https://github.com/zsh-users/zsh-history-substring-search/archive/v1.0.0.tar.gz"
sha256 "2b25a06c6d98f8443cfe33187cd31850febaf243c67e551a70cc0030d18443e7"
def install
inreplace "README.md", "source zsh-history", "source #{opt_prefix}/zsh-history"
prefix.install Dir["*.zsh"]
end
def caveats; <<-EOS.undent
For setup instructions:
more "#{opt_prefix}/README.md"
EOS
end
end