restore indicators

This commit is contained in:
Luuk van Baal 2021-04-09 12:25:29 +02:00
parent a5a1c7b82c
commit eb98b9076b

View file

@ -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")