mirror of
https://github.com/CCLeonOS/LeonOS.git
synced 2026-03-03 06:47:00 +00:00
feat(list): 增强列表命令功能并改进显示格式
- 添加 `-l` 参数支持显示文件详细信息 - 改进文件列表的排序和分类显示 - 为不同文件类型添加颜色标识 - 添加统计信息和提示文本 - 修复重启命令别名从 "restart" 改为 "reboot" - 更新系统版本号显示为 LeonOS 1.0
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
_G._HOST = _G._HOST .. " (LeonOS 1.6.0)"
|
||||
_G._HOST = _G._HOST .. " (LeonOS 1.0)"
|
||||
|
||||
local fs = rawget(_G, "fs")
|
||||
|
||||
@@ -27,7 +27,7 @@ end
|
||||
local expect = function(_, _, _, _) end
|
||||
|
||||
local shutdown = pull(os, "shutdown")
|
||||
local reboot = pull(os, "restart")
|
||||
local reboot = pull(os, "reboot")
|
||||
|
||||
-- `os` extras go in here now.
|
||||
local rc = {
|
||||
|
||||
Reference in New Issue
Block a user