fish-shell/doc_src
Kurtis Rader ee1d310651 Implement history search --reverse (#4375)
* Implement `history search --reverse`

It should be possible to have `history search` output ordered oldest to
newest like nearly every other shell including bash, ksh, zsh, and csh.
We can't make this the default because too many people expect the
current behavior. This simply makes it possible for people to define
their own abbreviations or functions that provide behavior they are
likely used to if they are transitioning to fish from another shell.

This also fixes a bug in the `history` function with respect to how it
handles the `-n` / `--max` flag.

Fixes #4354

* Fix comment for format_history_record()
2017-09-14 15:44:17 -07:00
..
abbr.txt rewrite abbr function 2017-08-03 14:35:06 -07:00
alias.txt Fix alias doc typo 2016-10-30 21:25:21 -07:00
and.txt Clarify docs on $status with and/or/begin/end 2017-08-14 18:18:10 -07:00
argparse.txt change how argparse handles boolean flags 2017-07-20 18:26:04 -07:00
ascii_fish.png Lossless recompress of images with pngcrush+zopfli 2016-06-18 10:03:26 -07:00
begin.txt Clarify docs on $status with and/or/begin/end 2017-08-14 18:18:10 -07:00
bg.txt Improve bg argument handling 2017-04-04 14:59:43 +02:00
bind.txt document bind behavior when mixing command types 2017-08-06 20:49:30 -07:00
block.txt fix some documentation errors 2017-07-11 22:50:55 -07:00
break.txt Make line length, wrapping and spacing consistent 2014-09-03 14:43:26 +01:00
breakpoint.txt Make line length, wrapping and spacing consistent 2014-09-03 14:43:26 +01:00
builtin.txt Make line length, wrapping and spacing consistent 2014-09-03 14:43:26 +01:00
case.txt Make line length, wrapping and spacing consistent 2014-09-03 14:43:26 +01:00
cd.txt implement cdh command 2017-07-05 13:25:18 -07:00
cdh.txt implement cdh command 2017-07-05 13:25:18 -07:00
command.txt implement command -a 2017-06-23 15:43:37 -07:00
commandline.txt commandline docs: Add examples for the filters 2015-09-11 21:05:55 +02:00
commands.hdr.in Update menus for consistency 2014-09-07 17:35:19 +01:00
complete.txt Added option to use completion source order without re-sorting 2017-07-26 13:18:34 -07:00
contains.txt contains: add documentation regarding the use of -- 2014-10-26 19:02:03 +08:00
continue.txt Make line length, wrapping and spacing consistent 2014-09-03 14:43:26 +01:00
count.txt Various additions and fixes 2014-09-03 14:43:27 +01:00
design.hdr Fix typo 2017-07-18 23:37:14 +02:00
dirh.txt limit size of cd history to 25 directories 2016-03-23 13:36:00 -07:00
dirs.txt Document dirs -c 2015-09-11 11:33:04 +02:00
disown.txt implement disown builtin 2017-04-29 19:20:03 +08:00
echo.txt trivial fixes to make doxygen happy 2016-04-23 12:26:57 -07:00
else.txt Make line length, wrapping and spacing consistent 2014-09-03 14:43:26 +01:00
emit.txt fix some documentation errors 2017-07-11 22:50:55 -07:00
end.txt Clarify docs on $status with and/or/begin/end 2017-08-14 18:18:10 -07:00
eval.txt Make line length, wrapping and spacing consistent 2014-09-03 14:43:26 +01:00
exec.txt Make line length, wrapping and spacing consistent 2014-09-03 14:43:26 +01:00
exit.txt Updated exit.txt reference to source 2015-03-18 16:22:29 -04:00
false.txt Make false/true into builtins 2014-09-29 13:39:35 -07:00
faq.hdr docs: improve set -Ux language and example 2017-08-14 18:18:09 -07:00
fg.txt Fix documentation 2016-07-16 20:22:41 -07:00
fish.txt Add '--init-command', '-C' to the command line switches. 2017-06-29 20:59:58 -07:00
fish_breakpoint_prompt.txt implement the fish_breakpoint_prompt function 2017-06-20 17:18:59 -07:00
fish_config.txt Make line length, wrapping and spacing consistent 2014-09-03 14:43:26 +01:00
fish_indent.txt make fish_indent options consistent with fish 2016-07-05 20:22:44 -07:00
fish_key_reader.txt fish_key_reader: Add --version option 2017-07-04 22:55:47 +02:00
fish_mode_prompt.txt fix some documentation errors 2017-07-11 22:50:55 -07:00
fish_opt.txt implement fish_opt helper command 2017-07-12 22:38:32 -07:00
fish_prompt.txt Make line length, wrapping and spacing consistent 2014-09-03 14:43:26 +01:00
fish_right_prompt.txt update lexicon for latest docs 2016-04-04 15:23:56 -07:00
fish_update_completions.txt Documentation update 2014-09-03 14:43:24 +01:00
fish_vi_mode.txt Deprecate fish_vi_mode 2016-04-26 15:21:15 +02:00
for.txt Hoist for loop control var to enclosing scope (#4376) 2017-09-08 21:14:26 -07:00
FORMATTING.md 'Correct' error to eror in lexicon_filter 2017-02-12 15:39:22 -08:00
funced.txt document [alt-enter] behavior in funced command 2017-04-21 17:15:56 -07:00
funcsave.txt docs: Improve autoloading/event documentation 2015-09-11 11:33:04 +02:00
function.txt fix some documentation errors 2017-07-11 22:50:55 -07:00
functions.txt rename --metadata to --details 2017-04-30 20:21:40 -07:00
help.txt Allow browser for help to be chosen indenpendent of $BROWSER. 2016-11-25 18:35:22 -08:00
history.txt Implement history search --reverse (#4375) 2017-09-14 15:44:17 -07:00
if.txt Fix documentation links to or and and command 2016-05-24 17:16:30 -07:00
index.hdr.in Add vertical bar escape \| to documentation 2017-08-19 15:22:57 +08:00
isatty.txt isatty: revert to previous behaviour 2015-02-01 18:18:34 +08:00
jobs.txt Various additions and fixes 2014-09-03 14:43:27 +01:00
license.hdr Check-in MuParser source 2017-08-23 14:43:45 -07:00
math.txt Revert part of "Revert "Cache math expressions"" 2017-09-01 21:55:50 +08:00
nextd.txt implement cdh command 2017-07-05 13:25:18 -07:00
not.txt Make line length, wrapping and spacing consistent 2014-09-03 14:43:26 +01:00
open.txt Don't use open function if a command exists 2016-10-26 15:48:42 +02:00
or.txt Clarify docs on $status with and/or/begin/end 2017-08-14 18:18:10 -07:00
popd.txt implement cdh command 2017-07-05 13:25:18 -07:00
prevd.txt implement cdh command 2017-07-05 13:25:18 -07:00
printf.txt Fix imbalanced backticks 2016-07-16 20:22:41 -07:00
prompt_pwd.txt Fix documentation 2016-07-16 20:22:41 -07:00
psub.txt return to psub --file being the default 2017-07-17 14:33:51 -07:00
pushd.txt implement cdh command 2017-07-05 13:25:18 -07:00
pwd.txt Simplify styling 2014-09-03 14:43:25 +01:00
random.txt fix random.1 man page 2016-12-24 13:52:49 -08:00
read.txt docs: update language in read documentation 2017-08-14 18:18:10 -07:00
realpath.txt make fish's realpath compatible with GNU realpath 2016-10-04 20:19:44 -07:00
return.txt Make line length, wrapping and spacing consistent 2014-09-03 14:43:26 +01:00
set.txt docs: tidy language in set notes 2017-08-09 23:25:00 +08:00
set_color.txt Add italics, dim, reverse video to set_color (#3650) 2016-12-30 11:33:25 -08:00
source.txt clarify documentation for the source command 2016-04-06 17:18:06 -07:00
status.txt implement status function when in a breakpoint 2017-06-23 22:14:21 -07:00
string.txt Clarify string match without -r partial match 2017-09-08 16:33:34 +02:00
suspend.txt Update suspend docs. When used, show how to resume 2016-07-01 01:18:07 -07:00
switch.txt Make line length, wrapping and spacing consistent 2014-09-03 14:43:26 +01:00
test.txt document need for double-quotes around test args 2017-07-25 17:04:59 -07:00
trap.txt document trap ... EXIT 2017-03-14 21:02:02 -07:00
true.txt Make false/true into builtins 2014-09-29 13:39:35 -07:00
tutorial.hdr Document how to erase a path from $PATH variable 2017-07-22 21:29:41 -07:00
type.txt update type to use argparse 2017-07-13 15:19:02 -07:00
ulimit.txt Various additions and fixes 2014-09-03 14:43:27 +01:00
umask.txt Make line length, wrapping and spacing consistent 2014-09-03 14:43:26 +01:00
user_doc.css Make error color in tutorial a more pastel red 2017-02-12 15:41:31 -08:00
user_doc.footer.html Documentation update 2014-09-03 14:43:24 +01:00
user_doc.header.html Upgrade git:// and http:// URLs to https:// 2017-02-17 21:31:44 +08:00
vared.txt Make line length, wrapping and spacing consistent 2014-09-03 14:43:26 +01:00
while.txt Fix documentation links to or and and command 2016-05-24 17:16:30 -07:00