mirror of
https://github.com/fish-shell/fish-shell
synced 2024-11-10 07:04:29 +00:00
f7cc1743c6
Call fish_should_add_to_history to see if a command should be saved If it returns 0, it will be saved, if it returns anything else, it will be ephemeral. It gets the right-trimmed text as the argument. If it doesn't exist, we do the historical behavior of checking for a leading space. That means you can now turn that off by defining a `fish_should_add_to_history` that just doesn't check it. documentation based on #9298 |
||
---|---|---|
.. | ||
cmds | ||
python_docs_theme | ||
commands.rst | ||
completions.rst | ||
conf.py | ||
contributing.rst | ||
design.rst | ||
faq.rst | ||
fish_for_bash_users.rst | ||
fish_indent_lexer.py | ||
fish_synopsis.py | ||
index.rst | ||
interactive.rst | ||
language.rst | ||
license.rst | ||
prompt.rst | ||
relnotes.rst | ||
tutorial.rst |