Merge pull request #688 from Stealthii/feature/stash-vcs

Add Stash naming support for Bitbucket Server
This commit is contained in:
Ben Hilburn 2017-12-04 20:09:58 -05:00 committed by GitHub
commit 3fe9b83ebb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -116,6 +116,8 @@ function +vi-vcs-detect-changes() {
vcs_visual_identifier='VCS_GIT_GITHUB_ICON' vcs_visual_identifier='VCS_GIT_GITHUB_ICON'
elif [[ "$remote" =~ "bitbucket" ]] then elif [[ "$remote" =~ "bitbucket" ]] then
vcs_visual_identifier='VCS_GIT_BITBUCKET_ICON' vcs_visual_identifier='VCS_GIT_BITBUCKET_ICON'
elif [[ "$remote" =~ "stash" ]] then
vcs_visual_identifier='VCS_GIT_BITBUCKET_ICON'
elif [[ "$remote" =~ "gitlab" ]] then elif [[ "$remote" =~ "gitlab" ]] then
vcs_visual_identifier='VCS_GIT_GITLAB_ICON' vcs_visual_identifier='VCS_GIT_GITLAB_ICON'
else else