mirror of
https://github.com/jarun/nnn.git
synced 2024-11-24 11:51:27 +00:00
Symlinks to dirs are recognized by color
This commit is contained in:
parent
9927849222
commit
db83e95a37
|
@ -411,7 +411,6 @@ The following indicators are used in the detail view:
|
|||
| <code>|</code> | Fifo |
|
||||
| `=` | Socket |
|
||||
| `@` | Symbolic Link |
|
||||
| `@/` | Symbolic Link to directory |
|
||||
| `b` | Block Device |
|
||||
| `c` | Character Device |
|
||||
| `?` | Unknown |
|
||||
|
|
|
@ -2411,9 +2411,6 @@ 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);
|
||||
break;
|
||||
case S_IFSOCK:
|
||||
|
|
Loading…
Reference in a new issue