From 2c420ef728f68916984fd1a83ab87f9875b6866c Mon Sep 17 00:00:00 2001 From: Fabian Homborg Date: Sun, 1 Aug 2021 14:01:49 +0200 Subject: [PATCH] docs: Document that commands with space will be kept until the next --- doc_src/interactive.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc_src/interactive.rst b/doc_src/interactive.rst index 79fe2e891..13a367a7c 100644 --- a/doc_src/interactive.rst +++ b/doc_src/interactive.rst @@ -529,7 +529,7 @@ By pressing :kbd:`Alt`\ +\ :kbd:`↑` and :kbd:`Alt`\ +\ :kbd:`↓`, a history s History searches are case-insensitive unless the search string contains an uppercase character. You can stop a search to edit your search string by pressing :kbd:`Esc` or :kbd:`Page Down`. -Prefixing the commandline with a space will prevent the entire line from being stored in the history. +Prefixing the commandline with a space will prevent the entire line from being stored in the history. It will still be available for recall until the next command is executed, but will not be stored on disk. This is to allow you to fix misspellings and such. The command history is stored in the file ``~/.local/share/fish/fish_history`` (or ``$XDG_DATA_HOME/fish/fish_history`` if that variable is set) by default. However, you can set the