mirror of
https://github.com/athityakumar/colorls.git
synced 2024-09-19 05:31:23 +02:00
Update yaml and monkeys to support hexstring colors
This commit is contained in:
parent
b2def8eea9
commit
e345cfca8b
3 changed files with 3 additions and 3 deletions
|
@ -2,7 +2,7 @@
|
|||
|
||||
class String
|
||||
def colorize(color)
|
||||
self.color(color.to_sym)
|
||||
self.color(color)
|
||||
end
|
||||
|
||||
def remove(pattern)
|
||||
|
|
|
@ -16,7 +16,7 @@ module ColorLS
|
|||
|
||||
return yaml unless aliase
|
||||
|
||||
yaml.to_a.map! { |k, v| [k, v.to_sym] }.to_h
|
||||
yaml.to_a.map! { |k, v| v.include?('#') ? [k, v] : [k, v.to_sym] }.to_h
|
||||
end
|
||||
|
||||
def read_file(filepath)
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
.\" generated with Ronn/v0.7.3
|
||||
.\" http://github.com/rtomayko/ronn/tree/0.7.3
|
||||
.
|
||||
.TH "COLORLS" "1" "April 2020" "colorls 1.4.0" "colorls Manual"
|
||||
.TH "COLORLS" "1" "May 2020" "colorls 1.4.1" "colorls Manual"
|
||||
.
|
||||
.SH "NAME"
|
||||
\fBcolorls\fR \- list directory contents with colors and icons
|
||||
|
|
Loading…
Reference in a new issue