diff options
Diffstat (limited to 'zshfunc/vcs-info/VCS_INFO_hg_detect')
-rw-r--r-- | zshfunc/vcs-info/VCS_INFO_hg_detect | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/zshfunc/vcs-info/VCS_INFO_hg_detect b/zshfunc/vcs-info/VCS_INFO_hg_detect new file mode 100644 index 0000000..ea13422 --- /dev/null +++ b/zshfunc/vcs-info/VCS_INFO_hg_detect @@ -0,0 +1,6 @@ +VCS_INFO_hg_detect() { #{{{ + VCS_INFO_check_com hg || return 1 + vcs_comm[detect_need_file]=store + VCS_INFO_detect_by_dir '.hg' + return $? +} |