fish shell formula
fish is a user friendly command line shell for UNIX-like operating systems such as Linux.
This commit is contained in:
parent
1bea6b4f2f
commit
0e35890e98
1 changed files with 21 additions and 0 deletions
21
Formula/fish.rb
Normal file
21
Formula/fish.rb
Normal 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
|
Loading…
Reference in a new issue