No description
Find a file
2014-05-04 15:06:40 -07:00
build_tools Pass --always to git describe to ensure we always get a version 2014-02-05 16:20:09 -08:00
doc_src Change terminology in docs from 'environment variables' -> 'shell variables' 2014-04-29 07:27:56 +02:00
etc
fish.xcodeproj fishd to link against fish_version.o in Xcode build 2014-05-02 23:36:47 -07:00
osx Check effective credentials of socket peers 2014-04-28 10:41:27 +08:00
po translations: update new strings, convert all to UTF-8 2014-03-13 21:56:04 +08:00
share Fix python completion to work for pypy 2014-05-03 15:06:57 -07:00
tests Set the job property of block_t before expanding arguments associated 2014-04-02 00:32:08 -07:00
.gitattributes
.gitignore Remove old pager remnants, including documentation and references in the 2014-03-15 14:24:05 -07:00
.travis.yml .travis.yml: reduce verbosity of IRC notifications 2014-02-11 09:47:29 +08:00
autoload.cpp Use source instead of . in autoload.cpp. 2014-04-04 15:59:41 +02:00
autoload.h Run restyle.sh to enforce style rules. 2014-03-31 10:01:39 -07:00
builtin.cpp Fix memory leak when displaying bind list. 2014-05-01 09:23:23 +02:00
builtin.h Fix line number reporting in new parser 2014-03-20 21:32:02 -07:00
builtin_commandline.cpp Run restyle.sh to enforce style rules. 2014-03-31 10:01:39 -07:00
builtin_complete.cpp Run restyle.sh to enforce style rules. 2014-03-31 10:01:39 -07:00
builtin_jobs.cpp Revert "Merge pull request #1317 from pullreq/cpp" 2014-02-28 02:16:48 -08:00
builtin_printf.cpp Revert "Merge pull request #1317 from pullreq/cpp" 2014-02-28 02:16:48 -08:00
builtin_set.cpp Revert "Merge pull request #1317 from pullreq/cpp" 2014-02-28 02:16:48 -08:00
builtin_set_color.cpp Make set_color fail silently if there is no argument (reintroducing 2014-03-27 13:46:33 -07:00
builtin_test.cpp Revert "Merge pull request #1317 from pullreq/cpp" 2014-02-28 02:16:48 -08:00
builtin_ulimit.cpp Revert "Merge pull request #1317 from pullreq/cpp" 2014-02-28 02:16:48 -08:00
CHANGELOG
color.cpp
color.h
common.cpp Initial work on strategy_named_pipe universal notifier. 2014-05-04 15:06:40 -07:00
common.h Initial work on strategy_named_pipe universal notifier. 2014-05-04 15:06:40 -07:00
complete.cpp Use adjusted_pos when determining the token for tab completing 2014-05-03 00:15:13 -07:00
complete.h Remove old fish_pager source and implementation 2014-03-15 14:00:18 -07:00
config.guess
config.sub
configure.ac Merge branch 'master' into death_of_fishd 2014-05-03 15:33:48 -07:00
CONTRIBUTING.md
create_wajig_completions.py
Doxyfile Revert "Merge pull request #1317 from pullreq/cpp" 2014-02-28 02:16:48 -08:00
Doxyfile.help
Doxyfile.user
env.cpp Shorten compilation times 2014-05-01 09:46:27 +02:00
env.h Migrate universal variables to env_var_t structure. Encapsulate 2014-04-25 16:09:26 -07:00
env_universal.cpp Merge branch 'master' into death_of_fishd 2014-05-03 15:33:48 -07:00
env_universal.h Migrate machine and hostname identification from fishd.cpp to 2014-04-25 17:45:22 -07:00
env_universal_common.cpp Initial work on strategy_named_pipe universal notifier. 2014-05-04 15:06:40 -07:00
env_universal_common.h Initial work on strategy_named_pipe universal notifier. 2014-05-04 15:06:40 -07:00
event.cpp Fixed various Undefined Behavior occurrences. 2014-03-07 18:28:16 +01:00
event.h
exec.cpp Remove the close_old field from io_fd_t, which is never actually 2014-04-16 15:31:28 -07:00
exec.h
expand.cpp Run restyle.sh to enforce style rules. 2014-03-31 10:01:39 -07:00
expand.h Excise use of parser_t's error() functionality. Thread a 2014-03-21 17:13:33 -07:00
fallback.cpp Check effective credentials of socket peers 2014-04-28 10:41:27 +08:00
fallback.h Check effective credentials of socket peers 2014-04-28 10:41:27 +08:00
fish.cpp Shorten compilation times 2014-05-01 09:46:27 +02:00
fish_indent.cpp Shorten compilation times 2014-05-01 09:46:27 +02:00
fish_tests.cpp Make inotify-based universal variable notifier tests pass 2014-05-03 19:57:20 -07:00
fish_version.cpp Shorten compilation times 2014-05-01 09:46:27 +02:00
fish_version.h Shorten compilation times 2014-05-01 09:46:27 +02:00
fishd.cpp Merge branch 'master' into death_of_fishd 2014-05-03 15:33:48 -07:00
function.cpp Fix line number reporting in new parser 2014-03-20 21:32:02 -07:00
function.h Fix line number reporting in new parser 2014-03-20 21:32:02 -07:00
highlight.cpp Remove an unnecessary parse pass in highlight.cpp (oops) 2014-04-05 16:09:02 -07:00
highlight.h Merge branch 'master' into 1218_rebase 2014-03-29 14:19:45 -07:00
history.cpp Merge branch 'master' into death_of_fishd 2014-05-03 15:33:48 -07:00
history.h Run restyle.sh to enforce style rules. 2014-03-31 10:01:39 -07:00
input.cpp Attempt to silence some warnings 2014-04-27 17:23:19 -07:00
input.h Run restyle.sh to enforce style rules. 2014-03-31 10:01:39 -07:00
input_common.cpp Early implementation of inotify-based universal variable notifier for 2014-05-01 16:44:37 -07:00
input_common.h
install-sh
intern.cpp Revert "Merge pull request #1317 from pullreq/cpp" 2014-02-28 02:16:48 -08:00
intern.h
io.cpp Minor cleanup of redirection functions 2014-04-11 09:50:12 -07:00
io.h Remove the close_old field from io_fd_t, which is never actually 2014-04-16 15:31:28 -07:00
iothread.cpp Attempt to silence some warnings 2014-04-27 17:23:19 -07:00
iothread.h Initial work on strategy_named_pipe universal notifier. 2014-05-04 15:06:40 -07:00
key_reader.cpp Squelch some more warnings on Linux 2014-04-27 18:27:34 -07:00
kill.cpp Revert "Merge pull request #1317 from pullreq/cpp" 2014-02-28 02:16:48 -08:00
kill.h
lru.h
Makefile.in Use precompiled parse files. 2014-05-02 10:31:04 +02:00
mimedb.cpp Fix handle leak in get_description() 2014-05-01 10:14:12 +02:00
mimedb.h
output.cpp White is not identical to normal 2014-04-30 15:44:51 +02:00
output.h
pager.cpp Run restyle.sh to enforce style rules. 2014-03-31 10:01:39 -07:00
pager.h Run restyle.sh to enforce style rules. 2014-03-31 10:01:39 -07:00
parse_constants.h Run restyle.sh to enforce style rules. 2014-03-31 10:01:39 -07:00
parse_execution.cpp Fix a duplicated variable, and defeat some warnings in fish_tests 2014-04-27 18:44:21 -07:00
parse_execution.h Run restyle.sh to enforce style rules. 2014-03-31 10:01:39 -07:00
parse_productions.cpp Run restyle.sh to enforce style rules. 2014-03-31 10:01:39 -07:00
parse_productions.h Bringup of function definitions, switch statements with new parser 2013-12-27 03:58:42 -08:00
parse_tree.cpp Correctly complete redirections. Fixes #1296 2014-05-02 01:22:39 -07:00
parse_tree.h Run restyle.sh to enforce style rules. 2014-03-31 10:01:39 -07:00
parse_util.cpp Run restyle.sh to enforce style rules. 2014-03-31 10:01:39 -07:00
parse_util.h Remove additional dead code from old parser 2014-03-20 21:32:03 -07:00
parser.cpp Attempt to silence some warnings 2014-04-27 17:23:19 -07:00
parser.h Remove the now-unused parser_t::job_create 2014-04-14 12:40:17 -07:00
parser_keywords.cpp Revert "Merge pull request #1317 from pullreq/cpp" 2014-02-28 02:16:48 -08:00
parser_keywords.h
path.cpp Revert "Merge pull request #1317 from pullreq/cpp" 2014-02-28 02:16:48 -08:00
path.h
postfork.cpp Minor cleanup of redirection functions 2014-04-11 09:50:12 -07:00
postfork.h
print_help.cpp Revert "Merge pull request #1317 from pullreq/cpp" 2014-02-28 02:16:48 -08:00
print_help.h
proc.cpp Squelch some more warnings on Linux 2014-04-27 18:27:34 -07:00
proc.h Update style and formatting to conform to fish style guide. 2014-01-15 01:40:40 -08:00
reader.cpp Run restyle.sh to enforce style rules. 2014-03-31 10:01:39 -07:00
reader.h Run restyle.sh to enforce style rules. 2014-03-31 10:01:39 -07:00
README.md README.md: document build and runtime dependencies even better. 2014-03-10 10:09:52 +08:00
release_notes.html
sanity.cpp Revert "Merge pull request #1317 from pullreq/cpp" 2014-02-28 02:16:48 -08:00
sanity.h
screen.cpp Properly check for miliseconds during screen update 2014-05-01 11:00:13 +02:00
screen.h Run restyle.sh to enforce style rules. 2014-03-31 10:01:39 -07:00
signal.cpp Revert "Merge pull request #1317 from pullreq/cpp" 2014-02-28 02:16:48 -08:00
signal.h
tokenizer.cpp Revert "Merge pull request #1317 from pullreq/cpp" 2014-02-28 02:16:48 -08:00
tokenizer.h Fix issues related to redirections and block level IO with new parser 2013-12-28 16:18:38 -08:00
user_doc.head.html
utf8.cpp Included missing stdint.h header in utf8.cpp 2014-03-23 15:09:43 +05:30
utf8.h Naive reimplementation of utf2wcs and wcs2utf in 2014-03-23 13:06:24 -07:00
util.cpp Revert "Merge pull request #1317 from pullreq/cpp" 2014-02-28 02:16:48 -08:00
util.h
wgetopt.cpp Revert "Merge pull request #1317 from pullreq/cpp" 2014-02-28 02:16:48 -08:00
wgetopt.h
wildcard.cpp Enhance file_id_t to have richer information, to guard against inode 2014-04-28 15:14:33 -07:00
wildcard.h
wutil.cpp Enhance file_id_t to have richer information, to guard against inode 2014-04-28 15:14:33 -07:00
wutil.h Include a missing header for uint64_t 2014-04-29 10:09:38 -07:00
xdgmime.cpp Revert "Merge pull request #1317 from pullreq/cpp" 2014-02-28 02:16:48 -08:00
xdgmime.h Update Free Software Foundation address. 2013-12-13 21:51:52 +01:00
xdgmimealias.cpp Revert "Merge pull request #1317 from pullreq/cpp" 2014-02-28 02:16:48 -08:00
xdgmimealias.h Update Free Software Foundation address. 2013-12-13 21:51:52 +01:00
xdgmimeglob.cpp Revert "Merge pull request #1317 from pullreq/cpp" 2014-02-28 02:16:48 -08:00
xdgmimeglob.h Update Free Software Foundation address. 2013-12-13 21:51:52 +01:00
xdgmimeint.cpp Revert "Merge pull request #1317 from pullreq/cpp" 2014-02-28 02:16:48 -08:00
xdgmimeint.h Update Free Software Foundation address. 2013-12-13 21:51:52 +01:00
xdgmimemagic.cpp Revert "Merge pull request #1317 from pullreq/cpp" 2014-02-28 02:16:48 -08:00
xdgmimemagic.h Update Free Software Foundation address. 2013-12-13 21:51:52 +01:00
xdgmimeparent.cpp Revert "Merge pull request #1317 from pullreq/cpp" 2014-02-28 02:16:48 -08:00
xdgmimeparent.h Update Free Software Foundation address. 2013-12-13 21:51:52 +01:00

fish - the friendly interactive shell Build Status

fish is a smart and user-friendly command line shell for OS X, Linux, and the rest of the family. fish includes features like syntax highlighting, autosuggest-as-you-type, and fancy tab completions that just work, with no configuration required.

For more on fish's design philosophy, see the design document.

Quick Start

fish generally works like other shells, like bash or zsh. A few important differences can be found at http://fishshell.com/tutorial.html by searching for the magic phrase 'unlike other shells'.

Detailed user documentation is available by running help within fish, and also at http://fishshell.com/docs/2.0/index.html

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. autoconf 2.60 or later is required.

fish depends on a curses implementation, such as ncurses. The headers and libraries are required for building.

fish requires gettext for translation support.

Building the documentation requires Doxygen 1.5 or newer.

Autotools Build

autoconf
./configure
make [gmake on BSD]
sudo make install

Xcode Development Build

  • Build the base target in Xcode
  • Run the fish executable, for example, in DerivedData/fish/Build/Products/Debug/base/bin/fish

Xcode Build and Install

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

On RedHat, CentOS, or Amazon EC2:

sudo yum install ncurses-devel

Runtime Dependencies

fish requires a curses implementation, such as ncurses, to run.

fish requires a number of utilities to operate, which should be present on any Unix, GNU/Linux or OS X system. These include (but are not limited to) hostname, grep, awk, sed, which, and getopt. fish also requires the bc program.

Translation support requires the gettext program.

Some optional features of fish, such as the manual page completion parser and the web configuration tool, require Python.

In order to generate completions from man pages compressed with either lzma or xz, you may need to install an extra Python package. Python versions prior to 2.6 are not supported. For Python versions 2.6 to 3.2 you need to install the module backports.lzma. How to install it depends on your system and how you installed Python. Most Linux distributions should include it as a package named backports-lzma (or similar). From version 3.3 onwards, Python already includes the required module.

Packages for Linux

Instructions on how to find builds for several Linux distros are at https://github.com/fish-shell/fish-shell/wiki/Nightly-builds

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 https://lists.sourceforge.net/lists/listinfo/fish-users or join us on our IRC channel #fish at irc.oftc.net.

Found a bug? Have an awesome idea? Please open an issue on this github page.