fish shell formula

fish is a user friendly command line shell for UNIX-like operating
systems such as Linux.
This commit is contained in:
August Lilleaas 2009-09-02 21:27:58 +02:00 committed by Max Howell
parent 1bea6b4f2f
commit 0e35890e98

21
Formula/fish.rb Normal file
View file

@ -0,0 +1,21 @@
require 'brewkit'
class Fish <Formula
@url='http://fishshell.org/files/1.23.1/fish-1.23.1.tar.gz'
@homepage='http:://fishshell.org/'
@md5='4b2436843e63bebba467cc4add11428a'
def deps
LibraryDep.new 'readline'
end
def install
system "./configure", "--prefix=#{prefix}", "--without-xsel"
system "make install"
end
def caveats
"You will need to add #{HOMEBREW_PREFIX}/bin/fish to /etc/shells"+
"Run `chsh -s #{HOMEBREW_PREFIX}/bin/fish' to make fish your default shell."
end
end