fish-shell/sphinx_doc_src
Fabian Homborg 9b54a53758
Prevent not-yet-loaded functions from loaded when erased (#5951)
* Prevent not-yet-loaded functions from loaded when erased

Today, `functions --erase $function` does nothing if the function
hasn't been autoloaded yet.

E.g. run, in an interactive session

    > functions --erase ls
    > type ls

and be amazed that it still shows our default `ls --color=auto`
wrapper function.

This seems counter-intuitive - removing a function ought to remove it,
whether it had been executed before or not.

* doc/changelog
2019-06-22 11:08:36 +02:00
..
_static docs/tutorial: Fix prompt display 2019-05-25 11:47:44 +02:00
cmds Prevent not-yet-loaded functions from loaded when erased (#5951) 2019-06-22 11:08:36 +02:00
commands.rst docs: Remove explicit .html links 2019-04-30 13:11:33 +02:00
conf.py Reformat all files 2019-05-05 12:09:25 +02:00
design.rst docs: Remove explicit .html links 2019-04-30 13:11:33 +02:00
faq.rst docs/faq: Fix header formatting 2019-06-06 19:14:11 +02:00
fish_indent_lexer.py Reformat all files 2019-05-05 12:09:25 +02:00
index.rst docs: Document indexing double-variable-expansion 2019-06-19 12:56:01 +02:00
license.rst docs: Remove -# formatting 2019-06-06 19:14:11 +02:00
tutorial.rst docs/tutorial: Fix list link 2019-06-06 22:52:14 +02:00