From: Arun Prakash Jana Date: Sun, 5 Apr 2020 01:00:28 +0000 (+0530) Subject: With dimming, @ is not required for symlink to dir X-Git-Tag: v3.1~25 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=0c966b21787186d2920934111d93ee1d1babf1c1;p=nnn.git With dimming, @ is not required for symlink to dir --- 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;