mirror of
https://github.com/athityakumar/colorls.git
synced 2024-09-19 05:31:23 +02:00
Adds monkeys.rb, and clean-ups before merging
This commit is contained in:
parent
2ea96f1212
commit
0501c0b4a2
3 changed files with 7 additions and 9 deletions
|
@ -1,10 +1,3 @@
|
|||
class String
|
||||
def colorize(color)
|
||||
# puts(color)
|
||||
self.color(color.to_sym)
|
||||
end
|
||||
end
|
||||
|
||||
module ColorLS
|
||||
class Core
|
||||
def initialize(input=nil, all: false, report: false, sort: false, show: false,
|
||||
|
|
5
lib/colorls/monkeys.rb
Normal file
5
lib/colorls/monkeys.rb
Normal file
|
@ -0,0 +1,5 @@
|
|||
class String
|
||||
def colorize(color)
|
||||
self.color(color.to_sym)
|
||||
end
|
||||
end
|
|
@ -18,12 +18,12 @@ day_old: darkred
|
|||
hour_old: saddlebrown
|
||||
no_modifier: black
|
||||
|
||||
# File Size red yellow green
|
||||
# File Size
|
||||
file_large: darkred
|
||||
file_medium: saddlebrown
|
||||
file_small: black
|
||||
|
||||
# Random black green cyan yellow black
|
||||
# Random
|
||||
report: black
|
||||
user: darkblue
|
||||
tree: cyan
|
||||
|
|
Loading…
Reference in a new issue