mirror of
https://github.com/jarun/nnn.git
synced 2024-11-24 11:51:27 +00:00
restore indicators
This commit is contained in:
parent
a5a1c7b82c
commit
eb98b9076b
|
@ -312,19 +312,19 @@ awk 'BEGIN {
|
||||||
else
|
else
|
||||||
switch (substr(ent, length(ent), 1)) {
|
switch (substr(ent, length(ent), 1)) {
|
||||||
case "/":
|
case "/":
|
||||||
printcolor(icons["directory"][1], color_default, color_dirtxt, substr(ent, 1, length(ent) - 1), "1")
|
printcolor(icons["directory"][1], color_default, color_dirtxt, ent, "1")
|
||||||
break;
|
break;
|
||||||
case "*":
|
case "*":
|
||||||
printcolor(icons["exe"][1], color_default, color_filetxt, substr(ent, 1, length(ent) - 1), "10")
|
printcolor(icons["exe"][1], color_default, color_filetxt, ent, "10")
|
||||||
break;
|
break;
|
||||||
case "|":
|
case "|":
|
||||||
printcolor(icons["pipe"][1], color_default, color_filetxt, substr(ent, 1, length(ent) - 1), "10")
|
printcolor(icons["pipe"][1], color_default, color_filetxt, ent, "10")
|
||||||
break;
|
break;
|
||||||
case "=":
|
case "=":
|
||||||
printcolor(icons["socket"][1], color_default, color_filetxt, substr(ent, 1, length(ent) - 1), "10")
|
printcolor(icons["socket"][1], color_default, color_filetxt, ent, "10")
|
||||||
break;
|
break;
|
||||||
case ">":
|
case ">":
|
||||||
printcolor(icons["door"][1], color_default, color_filetxt, substr(ent, 1, length(ent) - 1), "10")
|
printcolor(icons["door"][1], color_default, color_filetxt, ent, "10")
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
printcolor(icons["file"][1], color_default, color_filetxt, ent, "10")
|
printcolor(icons["file"][1], color_default, color_filetxt, ent, "10")
|
||||||
|
|
Loading…
Reference in a new issue