From 7abb3412e942e670dc6cdff0217d39c600a1029f Mon Sep 17 00:00:00 2001 From: leo-arch Date: Mon, 9 Dec 2024 00:20:22 -0300 Subject: [PATCH] Add icon color for symbolic links --- src/listing.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/listing.c b/src/listing.c index af5de56d..4e00bb2b 100644 --- a/src/listing.c +++ b/src/listing.c @@ -2993,7 +2993,8 @@ load_link_info(const int fd, const filesn_t n) #ifndef _NO_ICONS file_info[n].icon = ICON_LINK; -#endif // !_NO_ICONS + file_info[n].icon_color = conf.color_lnk_as_target == 1 ? ln_c : WHITE; +#endif /* !_NO_ICONS */ if (conf.follow_symlinks == 0) { file_info[n].color = ln_c;