diff --git a/crates/nu-command/src/filesystem/ls.rs b/crates/nu-command/src/filesystem/ls.rs index bf854742c3..1f7a10b782 100644 --- a/crates/nu-command/src/filesystem/ls.rs +++ b/crates/nu-command/src/filesystem/ls.rs @@ -506,7 +506,7 @@ pub(crate) fn dir_entry_dict( span, }); - cols.push("uid".into()); + cols.push("user".into()); if let Some(user) = users::get_user_by_uid(md.uid()) { vals.push(Value::String { val: user.name().to_string_lossy().into(), diff --git a/crates/nu-command/tests/commands/ls.rs b/crates/nu-command/tests/commands/ls.rs index a8fbea48f5..fe4537b458 100644 --- a/crates/nu-command/tests/commands/ls.rs +++ b/crates/nu-command/tests/commands/ls.rs @@ -363,7 +363,7 @@ fn list_all_columns() { "mode", "num_links", "inode", - "uid", + "user", "group", "size", "created",