From 6869b14fb5b277695a906762518bfeee3e702fc4 Mon Sep 17 00:00:00 2001 From: Fabian Boehm Date: Sat, 9 Mar 2024 12:08:18 +0100 Subject: [PATCH] docs: Add fish_should_add_to_history to commands list --- doc_src/cmds/fish_should_add_to_history.rst | 2 +- doc_src/commands.rst | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/doc_src/cmds/fish_should_add_to_history.rst b/doc_src/cmds/fish_should_add_to_history.rst index a72ed4fdf..2175e3c21 100644 --- a/doc_src/cmds/fish_should_add_to_history.rst +++ b/doc_src/cmds/fish_should_add_to_history.rst @@ -1,7 +1,7 @@ .. _cmd-fish_should_add_to_history: fish_should_add_to_history - decide whether a command should be added to the history -================================================================================= +==================================================================================== Synopsis -------- diff --git a/doc_src/commands.rst b/doc_src/commands.rst index 9d640dc30..719e8c9e1 100644 --- a/doc_src/commands.rst +++ b/doc_src/commands.rst @@ -61,6 +61,7 @@ Known functions are a customization point. You can change them to change how you - :doc:`fish_command_not_found ` to tell fish what to do when a command is not found. - :doc:`fish_title ` to change the terminal's title. - :doc:`fish_greeting ` to show a greeting when fish starts. +- :doc:`fish_should_add_to_history ` to determine if a command should be added to history Helper functions ^^^^^^^^^^^^^^^^