commit 5045f80a947025427788643635f72738cdb243c3
parent 590ad7d062e4fdd11d89879439e1b16facf5b182
Author: Arun Prakash Jana <engineerarun@gmail.com>
Date: Thu, 16 Oct 2025 07:51:49 +0530
Merge pull request #2073 from luukvbaal/iconexec
Strip executable asterisk from iconlookup extension
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/plugins/.iconlookup b/plugins/.iconlookup
@@ -329,7 +329,7 @@ awk 'BEGIN {
if ($0 ~/^\.$/)
next
ent = ($0 ~/^\.\//) ? substr($0, 3, length($0) - 2) : $0
- ext = $NF
+ ext = ($NF ~/\*$/) ? substr($NF, 1, length($NF) - 1) : $NF
# Print icons, set color and bold directories by using ansi escape codes
if (ext in icons)