From b0bf54614f7f7fe3ef7637243eda49618d30f7e3 Mon Sep 17 00:00:00 2001 From: Yash Thakur <45539777+ysthakur@users.noreply.github.com> Date: Sat, 13 Jul 2024 10:52:39 -0400 Subject: [PATCH] Don't add touch command to default context twice (#13371) # Description Touch was added to the shell command context twice, once with the other filesystem commands and once with the format commands. I removed that second occurrence of touch, because I'm assuming it was only added there because "Touch" starts with "To." # User-Facing Changes None --- crates/nu-command/src/default_context.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/crates/nu-command/src/default_context.rs b/crates/nu-command/src/default_context.rs index b270a78dce..4f35a1c711 100644 --- a/crates/nu-command/src/default_context.rs +++ b/crates/nu-command/src/default_context.rs @@ -290,7 +290,6 @@ pub fn add_shell_command_context(mut engine_state: EngineState) -> EngineState { ToText, ToToml, ToTsv, - Touch, Upsert, Where, ToXml,