diff options
author | Arun Prakash Jana <engineerarun@gmail.com> | 2019-08-16 20:03:58 +0530 |
---|---|---|
committer | Arun Prakash Jana <engineerarun@gmail.com> | 2019-08-16 20:03:58 +0530 |
commit | db83e95a377449b767ae9a30066699f8b4963bbf (patch) | |
tree | d7c3305ed6d85fe77249f7329ee239119eedd605 /src/nnn.c | |
parent | 99278492220a5819834f0cde0b771ad92a531c8c (diff) | |
download | nnn-db83e95a377449b767ae9a30066699f8b4963bbf.tar.gz |
Symlinks to dirs are recognized by color
Diffstat (limited to 'src/nnn.c')
-rw-r--r-- | src/nnn.c | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -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 |