Alias "gr(a|e)y" to "bright_black"
This commit is contained in:
parent
0c3fc8bfaf
commit
a86ddc550a
|
@ -28,6 +28,9 @@ class Pry
|
|||
end
|
||||
end
|
||||
|
||||
alias_method :grey, :bright_black
|
||||
alias_method :gray, :bright_black
|
||||
|
||||
def strip_color text
|
||||
text.gsub /\e\[.*?(\d)+m/, ''
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue