Skip to content
This repository

Minor change to svn plugin for consistency #843

Closed
wants to merge 1 commit into from

2 participants

Ethan Li Robby Russell
Ethan Li

Move the clean/dirty indicator from outside the (branch) string (e.g. (trunk)*)) to inside it, like with lib/git.zsh (e.g. (master*)) for Rule of Least Surprise.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Showing 1 unique commit by 1 author.

Jan 16, 2012
Ethan Li lietk12 Made svn plugin behave more like lib/git.zsh 34abd3e
This page is out of date. Refresh to see the latest.

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  plugins/svn/svn.plugin.zsh
2  plugins/svn/svn.plugin.zsh
... ... @@ -1,7 +1,7 @@
1 1 function svn_prompt_info {
2 2 if [ $(in_svn) ]; then
3 3 echo "$ZSH_PROMPT_BASE_COLOR$ZSH_THEME_SVN_PROMPT_PREFIX\
4   -$ZSH_THEME_REPO_NAME_COLOR$(svn_get_repo_name)$ZSH_PROMPT_BASE_COLOR$ZSH_THEME_SVN_PROMPT_SUFFIX$ZSH_PROMPT_BASE_COLOR$(svn_dirty)$ZSH_PROMPT_BASE_COLOR"
  4 +$ZSH_THEME_REPO_NAME_COLOR$(svn_get_repo_name)$ZSH_PROMPT_BASE_COLOR$(svn_dirty)$ZSH_PROMPT_BASE_COLOR$ZSH_THEME_SVN_PROMPT_SUFFIX"
5 5 fi
6 6 }
7 7

Tip: You can add notes to lines in a file. Hover to the left of a line to make a note

Something went wrong with that request. Please try again.