mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-11 00:10:08 +00:00
Renames main plugin function to svn_prompt_info
This commit is contained in:
parent
f66ab7f98f
commit
ca129bb550
1 changed files with 3 additions and 1 deletions
|
@ -6,8 +6,10 @@
|
||||||
# Use `svn_prompt_info` method to enquire the svn data.
|
# Use `svn_prompt_info` method to enquire the svn data.
|
||||||
# It's faster because his efficient use of svn (single svn call) which saves a lot on a huge codebase
|
# It's faster because his efficient use of svn (single svn call) which saves a lot on a huge codebase
|
||||||
# It displays the current status of the local files (added, deleted, modified, replaced, or else...)
|
# It displays the current status of the local files (added, deleted, modified, replaced, or else...)
|
||||||
|
#
|
||||||
|
# Use as a drop-in replacement of the svn plugin not as complementary plugin
|
||||||
|
|
||||||
function svn_fast_info() {
|
function svn_prompt_info() {
|
||||||
local info
|
local info
|
||||||
info=$(svn info 2>&1) || return 1; # capture stdout and stderr
|
info=$(svn info 2>&1) || return 1; # capture stdout and stderr
|
||||||
local repo_need_upgrade=$(svn_repo_need_upgrade $info)
|
local repo_need_upgrade=$(svn_repo_need_upgrade $info)
|
||||||
|
|
Loading…
Reference in a new issue