aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/fish.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula/fish.rb')
-rw-r--r--Library/Formula/fish.rb21
1 files changed, 21 insertions, 0 deletions
diff --git a/Library/Formula/fish.rb b/Library/Formula/fish.rb
new file mode 100644
index 000000000..c84bb8111
--- /dev/null
+++ b/Library/Formula/fish.rb
@@ -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