Files
fish-shell/sphinx_doc_src/cmds
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
..
2019-03-31 11:05:33 +02:00
2019-03-31 11:15:57 +02:00
2019-03-31 11:15:57 +02:00
2019-03-31 11:05:33 +02:00
2019-03-31 11:05:33 +02:00
2019-03-31 11:15:57 +02:00
2019-03-31 11:15:57 +02:00
2019-03-31 11:05:33 +02:00
2019-03-31 11:05:33 +02:00
2019-03-31 11:15:57 +02:00
2019-03-31 11:28:13 +02:00
2019-03-31 11:05:33 +02:00
2019-04-06 20:39:16 +02:00
2019-05-30 19:13:42 +02:00
2019-03-31 11:05:33 +02:00
2019-03-31 11:24:04 +02:00
2019-05-05 14:01:07 +02:00
2019-03-31 11:05:33 +02:00
2019-03-31 11:24:04 +02:00
2019-03-31 11:05:33 +02:00
2019-03-31 11:05:33 +02:00
2019-03-31 11:05:33 +02:00
2019-03-31 11:05:33 +02:00
2019-03-31 11:05:33 +02:00
2019-03-31 11:05:33 +02:00
2019-03-31 11:15:57 +02:00
2019-03-31 11:05:33 +02:00
2019-03-31 11:05:33 +02:00
2019-06-11 14:10:39 +02:00
2019-03-31 11:05:33 +02:00
2019-03-31 11:05:33 +02:00
2019-03-31 11:35:02 +02:00
2019-05-05 14:01:07 +02:00
2019-05-05 14:01:07 +02:00
2019-03-31 11:05:33 +02:00
2019-03-31 11:35:02 +02:00
2019-03-31 11:05:33 +02:00
2019-03-31 11:05:33 +02:00
2019-06-10 18:45:10 +02:00
2019-03-31 11:28:13 +02:00
2019-03-31 11:05:33 +02:00
2019-03-31 11:05:33 +02:00
2019-03-31 11:35:02 +02:00
2019-03-31 11:28:13 +02:00
2019-03-31 11:28:13 +02:00
2019-03-31 11:05:33 +02:00
2019-04-30 12:44:55 +02:00
2019-03-31 11:05:33 +02:00
2019-03-31 11:28:13 +02:00
2019-03-31 11:05:33 +02:00
2019-03-31 11:05:33 +02:00
2019-05-29 11:01:45 +02:00
2019-03-31 11:05:33 +02:00
2019-03-31 11:24:04 +02:00
2019-03-31 11:05:33 +02:00
2019-06-06 19:14:11 +02:00
2019-03-31 11:05:33 +02:00
2019-05-14 19:26:52 +02:00
2019-06-16 16:40:14 -07:00
2019-03-31 11:05:33 +02:00
2019-03-31 11:05:33 +02:00
2019-03-31 11:35:02 +02:00
2019-03-31 11:35:02 +02:00
2019-03-31 11:05:33 +02:00
2019-04-30 12:44:55 +02:00
2019-03-31 11:05:33 +02:00
2019-03-31 11:05:33 +02:00
2019-05-05 14:01:07 +02:00
2019-03-31 11:05:33 +02:00
2019-03-31 11:24:04 +02:00