mirror of
https://github.com/jarun/nnn.git
synced 2024-11-28 05:41:31 +00:00
With dimming, @ is not required for symlink to dir
This commit is contained in:
parent
02c02c520d
commit
0c966b2178
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue