nnn

mirror of https://github.com/jarun/nnn
Log | Files | Refs | README | LICENSE

commit f1c3d74afca47e12c0489ae246d9d6daf254cc66
parent 590ad7d062e4fdd11d89879439e1b16facf5b182
Author: Luuk van Baal <luukvbaal@gmail.com>
Date:   Mon, 13 Oct 2025 23:46:34 +0200

Strip executable asterisk from iconlookup extension

Diffstat:
Mplugins/.iconlookup | 2+-
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)