Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Oh My Zsh
Commits
c2d0cdd5
"plugins/vscode:/vscode.git/clone" did not exist on "2864e421eaf67adf334efc9e5d0e05e8af1221b4"
Commit
c2d0cdd5
authored
Sep 23, 2011
by
James Moore
Browse files
This needs to explicitly check the return value
parent
762b55bb
Changes
1
Show whitespace changes
Inline
Side-by-side
plugins/svn/svn.plugin.zsh
View file @
c2d0cdd5
function
svn_prompt_info
{
function
svn_prompt_info
{
if
[
in_svn
]
;
then
if
[
[
in_svn
==
1
]
]
;
then
echo
"
$ZSH_PROMPT_BASE_COLOR$ZSH_THEME_SVN_PROMPT_PREFIX
\
echo
"
$ZSH_PROMPT_BASE_COLOR$ZSH_THEME_SVN_PROMPT_PREFIX
\
$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
"
$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
"
fi
fi
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment