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 ^^^^^^^^^^^^^^^^