Skip to content

Commit

Permalink
Add icon color for symbolic links
Browse files Browse the repository at this point in the history
  • Loading branch information
leo-arch committed Dec 9, 2024
1 parent f1a8693 commit 7abb341
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/listing.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 7abb341

Please sign in to comment.