mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-01-02 02:19:06 +01:00
+ added initialization of _scm_prompt_chars hash
This commit is contained in:
parent
a1082573b1
commit
24e6264c39
1 changed files with 6 additions and 0 deletions
|
|
@ -1,5 +1,11 @@
|
||||||
SCM_DEBUG=yes # comment line to disable debugging
|
SCM_DEBUG=yes # comment line to disable debugging
|
||||||
|
|
||||||
|
declare -A _scm_prompt_chars
|
||||||
|
|
||||||
_scm_types=(git hg svn) && export _scm_types
|
_scm_types=(git hg svn) && export _scm_types
|
||||||
|
_scm_prompt_chars[git]=±
|
||||||
|
_scm_prompt_chars[hg]=ʜɢ
|
||||||
|
_scm_prompt_chars[svn]=svn
|
||||||
|
|
||||||
function _scm_debug { [ $SCM_DEBUG ] && echo $* >&2 }
|
function _scm_debug { [ $SCM_DEBUG ] && echo $* >&2 }
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue