The user-friendly command line shell.
Go to file
maxfl 0a5e7be129 Add index ranges
Builtin 'set' now can set variable index ranges:
  set test[1..3] a b c #works
  set test[-1..-3] a b c #works if variable have enough elements
  set test[2..-2]  a b c #works
  set test[1..3 -1..-2] a b c b b #works

Expand now can parse index ranges. But not handle for now.

TODO:
  * Add variable substitution index ranges: echo $PATH[-1..1]
  * Add command substitution index range: echo (seq 10)[-1..-4]
  * Add process substitution indexes and ranges: echo %vim[-1]
2012-07-07 10:57:28 +08:00
build_tools Update make_tarball.sh to respect new branch name 2012-07-01 14:19:39 -07:00
doc_src Set single-line default prompt 2012-07-07 10:17:24 +08:00
etc Move special handling of DISPLAY environment variable from etc/config.fish to fish itself to reduce number of fork calls made at launch 2012-03-06 15:52:16 -08:00
FishsFish.xcodeproj Lots of modernization changed 2012-05-09 02:33:42 -07:00
po remove trialing spaces #2 2010-09-18 10:18:26 +08:00
share Tweaked __fish_print_help to not spew errors 2012-07-06 16:31:06 -07:00
tests Add a test case for switch error code (issue #161) 2012-06-24 13:43:44 -07:00
.gitattributes Added .gitattributes to ignore new build_tools directory from archival 2012-05-10 02:10:39 -07:00
.gitignore update .gitignore 2010-10-05 21:14:43 +08:00
autoload.cpp Fix for wrong sense for determining when an autoloaded function has changed 2012-07-06 15:30:41 -07:00
autoload.h A little better support for non-term-256 colors in web config 2012-03-31 15:17:14 -07:00
builtin_commandline.cpp Merge branch 'master' into CPlusPlus 2012-04-18 13:41:39 -07:00
builtin_complete.cpp Replaced some calls to unescape with unescape_string 2012-05-09 02:55:36 -07:00
builtin_jobs.cpp Add new line after printing job information with jobs builtin. 2012-06-07 21:07:34 +05:30
builtin_set.cpp Add index ranges 2012-07-07 10:57:28 +08:00
builtin_test.cpp Fixed builtin_test to properly handle "just a strings" in combining expressions, like 'test foo -a bar'. This was causing error messages in the help function. 2012-05-20 12:58:03 -07:00
builtin_ulimit.cpp Large set of changes to migrate sb_out and sb_err to wcstring 2012-02-22 10:51:06 -08:00
builtin.cpp Fix read default prompt. It's now single line. 2012-07-06 15:31:45 -07:00
builtin.h Work towards getting function.h off of shared_ptr 2012-05-17 19:38:08 -07:00
CHANGELOG do not escape 'commandline' output without the -o flag 2012-01-25 00:11:00 +01:00
color.cpp Fix lots of bugs related to the static analyzer 2012-03-26 01:21:10 -07:00
color.h Added term256 support to set_color tool 2012-03-13 14:23:10 -07:00
common.cpp Untangle unescaping responsibilities in highlight.cpp. Fix cd autosuggestions to properly handle quotes. Factor out some of the quote unescaping behavior from reader.cpp to parse_util.cpp. 2012-07-06 14:34:53 -07:00
common.h Untangle unescaping responsibilities in highlight.cpp. Fix cd autosuggestions to properly handle quotes. Factor out some of the quote unescaping behavior from reader.cpp to parse_util.cpp. 2012-07-06 14:34:53 -07:00
complete.cpp Disable process expansion in autosuggestions 2012-06-29 16:40:54 -07:00
complete.h Remove string_buffer_t (!) 2012-03-03 22:08:34 -08:00
config.guess Update to latest config.sub and config.guess versions 2006-03-02 02:28:21 +10:00
config.sub Update to latest config.sub and config.guess versions 2006-03-02 02:28:21 +10:00
configure.ac Check for libiconv_open if we can't find iconv_open 2012-06-10 00:33:01 -07:00
create_wajig_completions.py Add the file that generated the wajig completions to the tree. This should not be installed but it should be included with the tarball. The file was written by Reuben Thomas. 2006-11-04 00:26:45 +10:00
Doxyfile remove trialing spaces #2 2010-09-18 10:18:26 +08:00
Doxyfile.help.in remove trialing spaces #2 2010-09-18 10:18:26 +08:00
Doxyfile.user remove trialing spaces #2 2010-09-18 10:18:26 +08:00
env_universal_common.cpp Fix for https://github.com/fish-shell/fish-shell/issues/135 2012-06-16 13:05:58 -07:00
env_universal_common.h Adopt wcstring in env_set 2012-05-09 03:06:10 -07:00
env_universal.cpp Adopt wcstring in env_set 2012-05-09 03:06:10 -07:00
env_universal.h Adopt wcstring in env_set 2012-05-09 03:06:10 -07:00
env.cpp Add support for querying variables with scope options as requested in issue #132 2012-06-18 22:52:33 +05:30
env.h Adopt wcstring in env_set 2012-05-09 03:06:10 -07:00
event.cpp Fix for wrong sense for determining when an autoloaded function has changed 2012-07-06 15:30:41 -07:00
event.h Signal handling cleanup and improved safety 2012-06-04 14:20:01 -07:00
exec.cpp Work towards getting function.h off of shared_ptr 2012-05-17 19:38:08 -07:00
exec.h A bunch of changes working towards eliminating all memory allocation after fork() 2012-03-08 23:21:07 -08:00
expand.cpp Add index ranges 2012-07-07 10:57:28 +08:00
expand.h Disable process expansion in autosuggestions 2012-06-29 16:40:54 -07:00
fallback.cpp Some changes to migrate towards C++ and a multithreaded model 2011-12-26 19:18:46 -08:00
fallback.h Some changes to migrate towards C++ and a multithreaded model 2011-12-26 19:18:46 -08:00
fish_indent.cpp insert_tabs called wcstring::append with arguments in the wrong order 2012-06-01 14:38:41 -07:00
fish_pager.cpp fix logic 2012-06-29 18:53:22 -07:00
fish_tests.cpp Untangle unescaping responsibilities in highlight.cpp. Fix cd autosuggestions to properly handle quotes. Factor out some of the quote unescaping behavior from reader.cpp to parse_util.cpp. 2012-07-06 14:34:53 -07:00
fish.cpp Move special handling of DISPLAY environment variable from etc/config.fish to fish itself to reduce number of fork calls made at launch 2012-03-06 15:52:16 -08:00
fish.spec.in remove trialing spaces #2 2010-09-18 10:18:26 +08:00
fishd.cpp Lots of modernization changed 2012-05-09 02:33:42 -07:00
function.cpp Got function.h and function.cpp off of shared_ptr (hooray) 2012-05-18 14:00:36 -07:00
function.h Got function.h and function.cpp off of shared_ptr (hooray) 2012-05-18 14:00:36 -07:00
highlight.cpp Untangle unescaping responsibilities in highlight.cpp. Fix cd autosuggestions to properly handle quotes. Factor out some of the quote unescaping behavior from reader.cpp to parse_util.cpp. 2012-07-06 14:34:53 -07:00
highlight.h Untangle unescaping responsibilities in highlight.cpp. Fix cd autosuggestions to properly handle quotes. Factor out some of the quote unescaping behavior from reader.cpp to parse_util.cpp. 2012-07-06 14:34:53 -07:00
history.cpp Support for importing fish 1.x's history and format, and also bash 2012-06-15 16:24:05 -07:00
history.h Support for importing fish 1.x's history and format, and also bash 2012-06-15 16:24:05 -07:00
input_common.cpp Fix lots of bugs related to the static analyzer 2012-03-26 01:21:10 -07:00
input_common.h Lots of work on web config 2012-03-25 16:00:17 -07:00
input.cpp Fix for https://github.com/fish-shell/fish-shell/issues/209 2012-07-06 16:25:59 -07:00
input.h Add command to temporarily suppress the autosuggestion feature 2012-07-01 15:37:10 -07:00
INSTALL Add text to INSTALL describing how to go back to the old shell. 2012-06-10 01:35:30 -07:00
install-sh remove trialing spaces #2 2010-09-18 10:18:26 +08:00
intern.cpp Put fish on a diet. Tracked down the biggest memory hogs and fixed them. Total allocations down by a factor of 3 or so, live allocations a few KB. 2012-03-03 15:22:03 -08:00
intern.h Made intern'd strings thread safe. 2012-01-23 20:02:15 -08:00
internalize_scripts.py Python 3 compatibility fix in internalize_scripts.py 2012-05-30 11:42:32 +02:00
io.cpp A bunch of changes working towards eliminating all memory allocation after fork() 2012-03-08 23:21:07 -08:00
io.h Fixed a crash on inputs like ls x>| less, where x doesn't exist in current directory. 2012-03-16 00:34:09 +05:30
iothread.cpp Fix lots of bugs related to the static analyzer 2012-03-26 01:21:10 -07:00
iothread.h Added some fork tests, fixed some bugs it found 2012-02-29 17:55:50 -08:00
key_reader.cpp Make key_reader build and work 2012-05-09 03:30:09 -07:00
kill.cpp Lots of modernization changed 2012-05-09 02:33:42 -07:00
kill.h Clean up the kill ring 2012-03-03 21:46:06 -08:00
lru.h Define a virtual destructor for lru.h 2012-05-04 18:37:12 -07:00
make_completions.py Python3 fixes in make_completions.py 2012-06-05 20:40:51 -07:00
make_vcs_completions.fish remove trialing spaces #2 2010-09-18 10:18:26 +08:00
Makefile.in only touch user_doc if doxygen installed 2012-06-17 15:04:20 -07:00
mimedb.cpp Fix lots of bugs related to the static analyzer 2012-03-26 01:21:10 -07:00
mimedb.h Add header guards to the header files. 2005-10-05 01:11:39 +10:00
output.cpp Squashed commit of the following: 2012-06-21 10:24:49 -07:00
output.h Added term256 support to set_color tool 2012-03-13 14:23:10 -07:00
parse_util.cpp Untangle unescaping responsibilities in highlight.cpp. Fix cd autosuggestions to properly handle quotes. Factor out some of the quote unescaping behavior from reader.cpp to parse_util.cpp. 2012-07-06 14:34:53 -07:00
parse_util.h Untangle unescaping responsibilities in highlight.cpp. Fix cd autosuggestions to properly handle quotes. Factor out some of the quote unescaping behavior from reader.cpp to parse_util.cpp. 2012-07-06 14:34:53 -07:00
parser_keywords.cpp Made tests compile again 2012-05-07 12:55:13 -07:00
parser_keywords.h Made tests compile again 2012-05-07 12:55:13 -07:00
parser.cpp Fix for what I believe to be a bug in fish trunk where you can't always successfully control-C out of some while loops 2012-06-04 15:10:35 -07:00
parser.h Signal handling cleanup and improved safety 2012-06-04 14:20:01 -07:00
path.cpp path_make_canonical mishandles empty string. 2012-06-04 12:00:59 -07:00
path.h Restore implicit cd for paths starting with ., .., or ~ 2012-06-02 14:04:25 -07:00
postfork.cpp Fix compile error (oops) 2012-03-27 19:10:21 -07:00
postfork.h More work towards improving relationship between multithreading and fork 2012-02-29 16:14:51 -08:00
print_help.cpp Lots of warnings fixes and const correctness 2012-01-14 03:41:50 -08:00
print_help.h Lots of warnings fixes and const correctness 2012-01-14 03:41:50 -08:00
proc.cpp Signal handling cleanup and improved safety 2012-06-04 14:20:01 -07:00
proc.h Signal handling cleanup and improved safety 2012-06-04 14:20:01 -07:00
reader.cpp Set single-line default prompt 2012-07-07 10:17:24 +08:00
reader.h Lots of work on web config 2012-03-25 16:00:17 -07:00
README Initial revision 2005-09-20 23:26:39 +10:00
release_notes.html Updated relnotes 2012-06-05 01:22:25 -07:00
runbash.sh Fixed setting PATH variable in import_bash_settings.py 2012-04-22 00:18:40 +05:30
sanity.cpp More work towards autosuggesting completions 2012-02-25 18:54:49 -08:00
sanity.h Some changes to migrate towards C++ and a multithreaded model 2011-12-26 19:18:46 -08:00
screen.cpp Disble futimes() calls in hopes of fixing https://github.com/fish-shell/fish-shell/issues/122 2012-06-16 12:30:20 -07:00
screen.h Lots of work on web config 2012-03-25 16:00:17 -07:00
seq.in Merged changes from codemonkey and grissiom branches 2010-11-12 02:07:14 +11:00
set_color.cpp Remove some dead variables. 2012-03-25 23:31:03 -07:00
signal.cpp SIGXCPY should be SIGXCPU 2012-06-10 03:36:02 -07:00
signal.h Make sure signals aren't blocked while autoloading, also add a few consistency checks to see that signals aren't blocked in critical places 2006-10-30 07:09:11 +10:00
tokenizer.cpp Fix lots of bugs related to the static analyzer 2012-03-26 01:21:10 -07:00
tokenizer.h Added some const correctness 2012-02-24 09:33:30 -08:00
user_doc.head.html remove trialing spaces #2 2010-09-18 10:18:26 +08:00
util.cpp Removed buffer_t 2012-03-04 02:45:51 -08:00
util.h Removed buffer_t 2012-03-04 02:45:51 -08:00
wgetopt.cpp Incorporate Siteshwar's patch for building on Linux 2012-01-05 13:58:48 -08:00
wgetopt.h Some changes to migrate towards C++ and a multithreaded model 2011-12-26 19:18:46 -08:00
wildcard.cpp Work towards getting function.h off of shared_ptr 2012-05-17 19:38:08 -07:00
wildcard.h Work towards getting function.h off of shared_ptr 2012-05-17 19:38:08 -07:00
wutil.cpp Fixed declaration of wrealpath() function on FreeBSD 2012-06-23 10:59:53 +05:30
wutil.h Remove string_buffer_t (!) 2012-03-03 22:08:34 -08:00
xdgmime.cpp Some initial changes to use CLO_EXEC, with an eye towards some day using it correctly. 2012-03-02 00:27:40 -08:00
xdgmime.h Some changes to migrate towards C++ and a multithreaded model 2011-12-26 19:18:46 -08:00
xdgmimealias.cpp Some initial changes to use CLO_EXEC, with an eye towards some day using it correctly. 2012-03-02 00:27:40 -08:00
xdgmimealias.h Initial revision 2005-09-20 23:26:39 +10:00
xdgmimeglob.cpp Some initial changes to use CLO_EXEC, with an eye towards some day using it correctly. 2012-03-02 00:27:40 -08:00
xdgmimeglob.h Some changes to migrate towards C++ and a multithreaded model 2011-12-26 19:18:46 -08:00
xdgmimeint.cpp Initial C++ conversion 2011-12-26 19:11:54 -08:00
xdgmimeint.h Initial revision 2005-09-20 23:26:39 +10:00
xdgmimemagic.cpp Some initial changes to use CLO_EXEC, with an eye towards some day using it correctly. 2012-03-02 00:27:40 -08:00
xdgmimemagic.h Initial revision 2005-09-20 23:26:39 +10:00
xdgmimeparent.cpp Some initial changes to use CLO_EXEC, with an eye towards some day using it correctly. 2012-03-02 00:27:40 -08:00
xdgmimeparent.h Initial revision 2005-09-20 23:26:39 +10:00
xsel-1.2.0.tar.gz upgrade xsel to 1.2.0 2010-09-18 10:14:14 +08:00

How to find documentation for fish
==================================

The fish documentation is distributed in an intermediate format. To
view it, you have to type:

  % make user_doc

Which will create the directory user_doc, containing html
documentation for fish. If you build and install fish, the
documentation will be available through the 'help' builtin.

After installation, you can start fish by typing fish in the
terminal. After fish has started, try using the help command for more
information.