diff --git a/crates/nu-command/src/filesystem/ls.rs b/crates/nu-command/src/filesystem/ls.rs index a885da6625..fdfcd71e51 100644 --- a/crates/nu-command/src/filesystem/ls.rs +++ b/crates/nu-command/src/filesystem/ls.rs @@ -491,7 +491,10 @@ pub(crate) fn dir_entry_dict( span, }); } else { - vals.push(Value::nothing(span)) + vals.push(Value::Int { + val: md.uid() as i64, + span, + }) } cols.push("group".into()); @@ -501,7 +504,10 @@ pub(crate) fn dir_entry_dict( span, }); } else { - vals.push(Value::nothing(span)) + vals.push(Value::Int { + val: md.gid() as i64, + span, + }) } } }