fixed symlink handling

This commit is contained in:
nova
2025-07-08 01:57:58 +02:00
parent 4c958dc10a
commit 7fcd148dfe
3 changed files with 14 additions and 14 deletions

View File

@@ -28,9 +28,9 @@
#define COLOR_UNKNOWN 0
#define COLOR_DIR 1
#define COLOR_EXEC 2 /* not really a filetype, moreso if it is executable */
#define COLOR_REGULAR 3
#define COLOR_SYMLINK 4
#define COLOR_SYMLINK 2
#define COLOR_EXEC 3 /* not really a filetype, moreso if it is executable */
#define COLOR_REGULAR 4
#define COLOR_BLOCK 5
#define COLOR_CHARDEV 6
#define COLOR_SOCK 7