mirror of
https://github.com/athityakumar/colorls.git
synced 2024-09-12 05:31:14 +02:00
Add colors for inode text
This commit is contained in:
parent
fb102b1700
commit
57feb07032
3 changed files with 3 additions and 1 deletions
|
@ -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)
|
||||
|
|
|
@ -36,6 +36,7 @@ tree: cyan
|
|||
empty: yellow
|
||||
error: red
|
||||
normal: darkkhaki
|
||||
inode: moccasin
|
||||
|
||||
# Git
|
||||
addition: chartreuse
|
||||
|
|
|
@ -36,6 +36,7 @@ tree: cyan
|
|||
empty: yellow
|
||||
error: red
|
||||
normal: black
|
||||
inode: black
|
||||
|
||||
# Git
|
||||
addition: chartreuse
|
||||
|
|
Loading…
Reference in a new issue