noice

small file browser
git clone git://git.2f30.org/noice
Log | Files | Refs | README | LICENSE

commit 56252bdf9862806bcfdf2b7521c37489e33e1bad
parent fef2d63e7608a6facc09e837f5a3e37c05bfb33f
Author: sin <sin@2f30.org>
Date:   Tue, 21 Oct 2014 15:36:23 +0100

Add '*' suffix to executables

Diffstat:
Mnoice.c | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/noice.c b/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 */