aboutsummaryrefslogtreecommitdiff
path: root/files/.config/nnn/plugins/.iconlookup
diff options
context:
space:
mode:
authorAnton Bobov <anton@bobov.name>2026-08-20 15:13:47 +0500
committerAnton Bobov <anton@bobov.name>2026-08-20 15:13:47 +0500
commit153c9344e93662984b1a5368a2722c10117db830 (patch)
tree46b44af16387c815ab6c783415ee7dc1b8287a5c /files/.config/nnn/plugins/.iconlookup
parentccbc3e18f711c39482e9ed6045ed99b4da889a59 (diff)
nnn: update plugins
Diffstat (limited to 'files/.config/nnn/plugins/.iconlookup')
-rwxr-xr-xfiles/.config/nnn/plugins/.iconlookup2
1 files changed, 1 insertions, 1 deletions
diff --git a/files/.config/nnn/plugins/.iconlookup b/files/.config/nnn/plugins/.iconlookup
index 49b4764..453110b 100755
--- a/files/.config/nnn/plugins/.iconlookup
+++ b/files/.config/nnn/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)