commit 0c966b21787186d2920934111d93ee1d1babf1c1
parent 02c02c520d42ac769c3de2a82677fbb2fbd86df4
Author: Arun Prakash Jana <engineerarun@gmail.com>
Date: Sun, 5 Apr 2020 06:30:28 +0530
With dimming, @ is not required for symlink to dir
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git 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;