mirror of
https://github.com/jarun/nnn.git
synced 2025-03-19 04:49:49 +00:00
Add '*' suffix to executables
This commit is contained in:
parent
fef2d63e76
commit
56252bdf98
1 changed files with 3 additions and 0 deletions
3
noice.c
3
noice.c
|
@ -349,6 +349,9 @@ printent(struct entry *ent, int active)
|
|||
} else if (S_ISLNK(ent->mode)) {
|
||||
cm = '@';
|
||||
maxlen--;
|
||||
} else if (ent->mode & S_IXUSR) {
|
||||
cm = '*';
|
||||
maxlen--;
|
||||
}
|
||||
|
||||
/* No text wrapping in entries */
|
||||
|
|
Loading…
Add table
Reference in a new issue