* feat: add support for fossil-scm in prompt * fix: change directory testing and string matching (cherry picked from commit cf67709931ce5f61f05a31b00dbf1de9e705b52f)