From ae67df10ff29f3fd53c137f3cb81ed9ae529813d Mon Sep 17 00:00:00 2001 From: EnderIce2 Date: Tue, 27 Feb 2024 13:36:08 +0200 Subject: [PATCH] Update color codes for different node types in ls command --- kshell/commands/ls.cpp | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/kshell/commands/ls.cpp b/kshell/commands/ls.cpp index 0266810..9509f9d 100644 --- a/kshell/commands/ls.cpp +++ b/kshell/commands/ls.cpp @@ -28,17 +28,19 @@ const char *ColorNodeType(Node *node) switch (node->Type) { case NodeType::DIRECTORY: - return "\e44FF22"; + return "\e3871F5"; case NodeType::BLOCKDEVICE: + return "\eE8CD1E"; case NodeType::CHARDEVICE: - return "\eFF22AA"; + return "\e86E01F"; case NodeType::PIPE: - return "\eFFAA22"; + return "\eE0991F"; case NodeType::SYMLINK: - return "\eFF22FF"; + return "\e1FB9E0"; case NodeType::FILE: - default: return "\eCCCCCC"; + default: + return "\eF72020"; } }