Add colors for inode text

This commit is contained in:
goar5670 2022-03-20 01:18:26 +03:00 committed by goar5670
parent fb102b1700
commit 57feb07032
3 changed files with 3 additions and 1 deletions

View file

@ -306,7 +306,7 @@ module ColorLS
def get_inode(content)
return '' unless @show_inode
content.stats.ino.to_s
content.stats.ino.to_s.colorize(@colors[:inode])
end
def long_info(content)

View file

@ -36,6 +36,7 @@ tree: cyan
empty: yellow
error: red
normal: darkkhaki
inode: moccasin
# Git
addition: chartreuse

View file

@ -36,6 +36,7 @@ tree: cyan
empty: yellow
error: red
normal: black
inode: black
# Git
addition: chartreuse