From 49589e2da0ffecb2aaccb1e7d2440c539bc6fb49 Mon Sep 17 00:00:00 2001 From: ridiculousfish Date: Sun, 14 Apr 2013 13:38:56 -0700 Subject: Added note about how to install ncurses, and what to do on EC2 Addresses https://github.com/fish-shell/fish-shell/pull/509 --- README.md | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) (limited to 'README.md') diff --git a/README.md b/README.md index d0871323..d8badb73 100644 --- a/README.md +++ b/README.md @@ -13,6 +13,8 @@ Detailed user documentation is available by running `help` within fish, and also ## Building +fish is written in a sane subset of C++98, with a few components from C++TR1. It builds successfully with g++ 4.2 or later, and with clang. It also will build as C++11. + fish can be built using autotools or Xcode. ### Autotools Build @@ -32,10 +34,36 @@ fish can be built using autotools or Xcode. xcodebuild install sudo ditto /tmp/fish.dst / +## Help, it didn't build! + +If fish reports that it could not find curses, try installing a curses development package and build again. + +On Debian or Ubuntu you want: + + sudo apt-get install libncurses5-dev libncursesw5-dev + +on RedHat, CentOS, or Amazon EC2: + + sudo yum install ncurses-devel + ## Packages for Linux Nightly builds for several Linux distros can be downloaded from +## Switching to fish + +If you wish to use fish as your default shell, use the following command: + + chsh -s /usr/local/bin/fish + +chsh will prompt you for your password, and change your default shell. + +To switch your default shell back, you can run: + + chsh -s /bin/bash + +Substitute /bin/bash with /bin/tcsh or /bin/zsh as appropriate. + ## Contact Us Questions, comments, rants and raves can be posted to the official fish mailing list at or join us on our IRC channel #fish at irc.oftc.net -- cgit v1.2.3