forked from extern/nushell
Move the history and tutor commands out of core_commands (#5813)
* move history and tutor commands from core to misc * add in the Misc Category for the history and tutor commands
This commit is contained in:
@ -48,7 +48,6 @@ pub fn create_default_context(cwd: impl AsRef<Path>) -> EngineState {
|
||||
For,
|
||||
Help,
|
||||
Hide,
|
||||
History,
|
||||
If,
|
||||
Ignore,
|
||||
Overlay,
|
||||
@ -60,7 +59,6 @@ pub fn create_default_context(cwd: impl AsRef<Path>) -> EngineState {
|
||||
Metadata,
|
||||
Module,
|
||||
Source,
|
||||
Tutor,
|
||||
Use,
|
||||
Version,
|
||||
};
|
||||
@ -134,6 +132,12 @@ pub fn create_default_context(cwd: impl AsRef<Path>) -> EngineState {
|
||||
Zip,
|
||||
};
|
||||
|
||||
// Misc
|
||||
bind_command! {
|
||||
History,
|
||||
Tutor,
|
||||
};
|
||||
|
||||
// Path
|
||||
bind_command! {
|
||||
Path,
|
||||
|
Reference in New Issue
Block a user