diff --git a/crates/nu-engine/src/eval.rs b/crates/nu-engine/src/eval.rs index d51f26b28..953e6a9f0 100644 --- a/crates/nu-engine/src/eval.rs +++ b/crates/nu-engine/src/eval.rs @@ -962,7 +962,7 @@ pub fn create_scope( } } - cols.push("command".into()); + cols.push("name".into()); vals.push(Value::String { val: String::from_utf8_lossy(command_name).to_string(), span,