From 0c966b21787186d2920934111d93ee1d1babf1c1 Mon Sep 17 00:00:00 2001 From: Arun Prakash Jana Date: Sun, 5 Apr 2020 06:30:28 +0530 Subject: [PATCH] With dimming, @ is not required for symlink to dir --- src/nnn.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/nnn.c b/src/nnn.c index 090a15c8..e2aa7ffe 100644 --- a/src/nnn.c +++ b/src/nnn.c @@ -3260,6 +3260,8 @@ static void printent(const struct entry *ent, uint namecols, bool sel) { char ind = get_ind(ent->mode, FALSE); int attrs = ((ind == '@' || (ent->flags & HARD_LINK)) ? A_DIM : 0) | (sel ? A_REVERSE : 0); + if (ind == '@' && (ent->flags & DIR_OR_LINK_TO_DIR)) + ind = '/'; if (!ind) ++namecols;