mirror of
https://github.com/jarun/nnn.git
synced 2024-11-28 05:41:31 +00:00
Add '*' suffix to executables
This commit is contained in:
parent
fef2d63e76
commit
56252bdf98
3
noice.c
3
noice.c
|
@ -349,6 +349,9 @@ printent(struct entry *ent, int active)
|
||||||
} else if (S_ISLNK(ent->mode)) {
|
} else if (S_ISLNK(ent->mode)) {
|
||||||
cm = '@';
|
cm = '@';
|
||||||
maxlen--;
|
maxlen--;
|
||||||
|
} else if (ent->mode & S_IXUSR) {
|
||||||
|
cm = '*';
|
||||||
|
maxlen--;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* No text wrapping in entries */
|
/* No text wrapping in entries */
|
||||||
|
|
Loading…
Reference in a new issue