diff options
author | Arun Prakash Jana <engineerarun@gmail.com> | 2020-04-05 06:30:28 +0530 |
---|---|---|
committer | Arun Prakash Jana <engineerarun@gmail.com> | 2020-04-05 06:30:28 +0530 |
commit | 0c966b21787186d2920934111d93ee1d1babf1c1 (patch) | |
tree | cbf8df6b86d7b0ad265199d8e6339fbeb94794aa | |
parent | 02c02c520d42ac769c3de2a82677fbb2fbd86df4 (diff) | |
download | nnn-0c966b21787186d2920934111d93ee1d1babf1c1.tar.gz |
With dimming, @ is not required for symlink to dir
-rw-r--r-- | src/nnn.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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; |