aboutsummaryrefslogtreecommitdiffstats
path: root/noice.c
diff options
context:
space:
mode:
authorsin <sin@2f30.org>2014-10-21 15:36:23 +0100
committersin <sin@2f30.org>2014-10-21 15:36:23 +0100
commit56252bdf9862806bcfdf2b7521c37489e33e1bad (patch)
tree67cbc0e8e0409944f07672132c7da7e30ab5d394 /noice.c
parentfef2d63e7608a6facc09e837f5a3e37c05bfb33f (diff)
downloadnoice-56252bdf9862806bcfdf2b7521c37489e33e1bad.tar.gz
Add '*' suffix to executables
Diffstat (limited to 'noice.c')
-rw-r--r--noice.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/noice.c b/noice.c
index 12c8ae9..9088c83 100644
--- 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 */
Un proyecto texto-plano.xyz