From: sin Date: Tue, 21 Oct 2014 14:36:23 +0000 (+0100) Subject: Add '*' suffix to executables X-Git-Tag: v1.0~92^2~197 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=56252bdf9862806bcfdf2b7521c37489e33e1bad;p=nnn.git Add '*' suffix to executables --- diff --git a/noice.c b/noice.c index 12c8ae90..9088c83a 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 */