From 4286b049ca0f95594bfef4c2834f344607e84f58 Mon Sep 17 00:00:00 2001 From: Fabian Boehm Date: Fri, 5 Jan 2024 16:49:49 +0100 Subject: [PATCH] docs: Fix two formatting errors sphinx *really* needs an empty line after a `::` code block starter --- CHANGELOG.rst | 1 + doc_src/cmds/commandline.rst | 1 + 2 files changed, 2 insertions(+) diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 28c31ae54..ad73b4950 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -219,6 +219,7 @@ This release of fish contains a number of fixes for problems identified in fish Notable improvements and fixes ------------------------------ - ``abbr --erase`` now also erases the universal variables used by the old abbr function. That means:: + abbr --erase (abbr --list) can now be used to clean out all old abbreviations (:issue:`9468`). diff --git a/doc_src/cmds/commandline.rst b/doc_src/cmds/commandline.rst index 5f575a6fe..12291d6b8 100644 --- a/doc_src/cmds/commandline.rst +++ b/doc_src/cmds/commandline.rst @@ -135,6 +135,7 @@ which gives the current *process* (what is being completed), tokenized into sepa If you are then also interested in the in-progress token, add :: + set -l current (commandline -ct) Note that this makes it easy to render fish's infix matching moot - if possible it's best if the completions just print all possibilities and leave the matching to the current token up to fish's logic.