From db83e95a377449b767ae9a30066699f8b4963bbf Mon Sep 17 00:00:00 2001 From: Arun Prakash Jana Date: Fri, 16 Aug 2019 20:03:58 +0530 Subject: Symlinks to dirs are recognized by color --- src/nnn.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/nnn.c') diff --git a/src/nnn.c b/src/nnn.c index f036710..41acdd5 100644 --- a/src/nnn.c +++ b/src/nnn.c @@ -2411,10 +2411,7 @@ static void printent_long(const struct entry *ent, int sel, uint namecols) printw("%c%-16.16s %s / %s/\n", cp, timebuf, permbuf, pname); break; case S_IFLNK: - if (ent->flags & DIR_OR_LINK_TO_DIR) - printw("%c%-16.16s %s @/ %s@\n", cp, timebuf, permbuf, pname); - else - printw("%c%-16.16s %s @ %s@\n", cp, timebuf, permbuf, pname); + printw("%c%-16.16s %s @ %s@\n", cp, timebuf, permbuf, pname); break; case S_IFSOCK: ind1 = ind2[0] = '='; // fallthrough -- cgit v1.2.3-70-g09d2