zsh prompt wrapping to a newline after adding buildstatus
问题 I'm attempting to add my Buildkite (ci build server) project status to the zsh prompt! I've written a ruby script that pulls the status and puts it into a colon separated file in the following format: # .buildkite_status project1: √ project2: x The √ and x are ansi colour coded. And I have a prompt that works fine until I add my $ci_build variable/function to the RPROMPT! At the moment my prompt looks like; ~/.dotfiles » ± master*:3cce1cb and after the change I want ~/.dotfiles » ± master*