So I have a little ruby script that pings our CI server and returns a :-) or a :-( based on if the build is passing or failing.
Now, what I'd like to do is make it red if it's a fail and green if it's passing. Can you evaluate the result of the script and set a differnet color based on that?
The status line from my tmux_conf:
set-option -g status-right #[default]Build: #(ruby ~/tmux_scripts/scripts/ci.rb) #[fg=green]#H#[default] %m/%d/%y %I:%M'