Commit 6cfe0237 authored by James T. Lee's avatar James T. Lee
Browse files

zsh: Bug fix prompt colorscheme automation

parent 2628850b
...@@ -50,7 +50,7 @@ class ColorScheme ...@@ -50,7 +50,7 @@ class ColorScheme
end end
# XXX: This doesn't take into account human perception # XXX: This doesn't take into account human perception
def -@(other) def -(other)
Math.sqrt((r - other.r) ** 2 + (g - other.g) ** 2 + (b - other.b) ** 2) Math.sqrt((r - other.r) ** 2 + (g - other.g) ** 2 + (b - other.b) ** 2)
end end
end end
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment