From 65eb6cfbfe45ded5674ba958143118b2ef67d9a8 Mon Sep 17 00:00:00 2001 From: Fabian Boehm Date: Sat, 15 Mar 2025 16:33:57 +0100 Subject: [PATCH] docs: Remove pre-2.4 caveats 2.4 is almost 9 years old and 69% of commits to fish behind. It is well past worth mentioning. --- doc_src/cmds/history.rst | 2 +- doc_src/cmds/source.rst | 5 ----- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/doc_src/cmds/history.rst b/doc_src/cmds/history.rst index 5e7660389..254db771c 100644 --- a/doc_src/cmds/history.rst +++ b/doc_src/cmds/history.rst @@ -52,7 +52,7 @@ The following options are available: These flags can appear before or immediately after one of the sub-commands listed above. **-C** or **--case-sensitive** - Does a case-sensitive search. The default is case-insensitive. Note that prior to fish 2.4.0 the default was case-sensitive. + Does a case-sensitive search. The default is case-insensitive. **-c** or **--contains** Searches items in the history that contain the specified text string. This is the default for the **--search** flag. This is not currently supported by the **delete** subcommand. diff --git a/doc_src/cmds/source.rst b/doc_src/cmds/source.rst index 24f83b1bf..60519a57a 100644 --- a/doc_src/cmds/source.rst +++ b/doc_src/cmds/source.rst @@ -41,8 +41,3 @@ Example source ~/.config/fish/config.fish # Causes fish to re-read its initialization file. - -Caveats -------- - -In fish versions prior to 2.3.0, the :envvar:`argv` variable would have a single element (the name of the sourced file) if no arguments are present. Otherwise, it would contain arguments without the name of the sourced file. That behavior was very confusing and unlike other shells such as bash and zsh.