October 19, 2009 | ||
---|---|---|
View 14a1ce8
Added my prompt theme, with a tweak to the core oh-my-zsh to support it. My git_prompt_info function not only reports the branch and dirty status, but also whether or not the branch is ahead or behind of the remote, or both. It also switches the prompt colour from green to red if the previous command exited with a non-zero value (i.e. failed).James Adam authored on 19/10/2009 at 22:24:21 |