diff --git a/src/builtins/ls.rs b/src/builtins/ls.rs index 20b8f53..48456ae 100644 --- a/src/builtins/ls.rs +++ b/src/builtins/ls.rs @@ -60,7 +60,7 @@ fn format_filesize(filesize: u64) -> String { } else if filesize > 999_999 && filesize <= 999_999_999 { format!("{}MB", filesize / 1_000_000) } else if filesize > 999_999_999 { - format!("{}MB", filesize / 1_000_000_000) + format!("{}GB", filesize / 1_000_000_000) } else { format!("{}B", filesize) }