The SVN plugin of the oh-my-zsh ZSH distribution is not working with the agnoster theme, because it's simple not used in the prompt of the theme.
Here two adaption of the theme file (themes/agnoster.zsh-theme
) are listed, which are showing a nice prompt when you are in a SVN working directory.
- Using the SVN plugin (with dirty symbol)
prompt_svn() {
local rev branch
if in_svn; then