+ added scm_build_prompt_info to precmd_functions hook

This commit is contained in:
Marcel Hoyer 2012-04-06 12:14:33 +02:00
commit ce4c4354bb
2 changed files with 4 additions and 1 deletions

View file

@ -27,6 +27,7 @@ function _scm_get_scm_type {
function _scm_reset {
unset SCM_ROOT
unset SCM_TYPE
unset SCM_PROMPT_INFO
}
# Recursive lookup for possible SCM root

View file

@ -1,3 +1,5 @@
declare -a chpwd_functions
declare -a precmd_functions
chpwd_functions+='scm_detect_root'
precmd_functions+='scm_build_prompt_info'