mirror of
https://github.com/nushell/nushell.git
synced 2025-06-30 22:50:14 +02:00
Add pathvar
command (#3670)
* Add pathvar command Signed-off-by: nathom <nathanthomas707@gmail.com> * Add pathvar command to context Signed-off-by: nathom <nathanthomas707@gmail.com> * Add pathvar reset command Signed-off-by: nathom <nathanthomas707@gmail.com> * Update help message Signed-off-by: nathom <nathanthomas707@gmail.com> * Remove insert command Signed-off-by: nathom <nathanthomas707@gmail.com> * Remove unused import Signed-off-by: nathom <nathanthomas707@gmail.com> * Remove insert mod Signed-off-by: nathom <nathanthomas707@gmail.com> * Support for windows path separator Signed-off-by: nathom <nathanthomas707@gmail.com> * Clear clippy errors Signed-off-by: nathom <nathanthomas707@gmail.com> * Remove empty file Signed-off-by: nathom <nathanthomas707@gmail.com> * Formatting Signed-off-by: nathom <nathanthomas707@gmail.com>
This commit is contained in:
@ -27,6 +27,12 @@ pub fn create_default_context(interactive: bool) -> Result<EvaluationContext, Bo
|
||||
whole_stream_command(Cd),
|
||||
whole_stream_command(Remove),
|
||||
whole_stream_command(Open),
|
||||
whole_stream_command(Pathvar),
|
||||
whole_stream_command(PathvarAdd),
|
||||
whole_stream_command(PathvarRemove),
|
||||
whole_stream_command(PathvarReset),
|
||||
whole_stream_command(PathvarAppend),
|
||||
whole_stream_command(PathvarSave),
|
||||
whole_stream_command(Config),
|
||||
whole_stream_command(ConfigGet),
|
||||
whole_stream_command(ConfigSet),
|
||||
|
Reference in New Issue
Block a user