aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/nnn.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/nnn.c b/src/nnn.c
index 36e8b7b..edcf3de 100644
--- a/src/nnn.c
+++ b/src/nnn.c
@@ -3305,7 +3305,8 @@ static void printent_long(const struct entry *ent, uint namecols, bool sel)
break;
case S_IFLNK:
ln = TRUE;
- ind1 = ind2 = '@'; // fallthrough
+ ind1 = '@';
+ ind2 = (ent->flags & DIR_OR_LINK_TO_DIR) ? '/' : '@'; // fallthrough
case S_IFSOCK:
if (!ind1)
ind1 = ind2 = '='; // fallthrough