declare -a chpwd_functions chpwd_functions+='scm_detect_root'