summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Porter <dporter@proofpoint.com>2017-11-30 15:03:54 +0300
committerDaniel Porter <dporter@proofpoint.com>2017-11-30 15:10:28 +0300
commitcbc7199dc402bb1e72592bf20de9b4f2bc3748c3 (patch)
tree508e87eb81026f7a833118850fca785c8da510ea
parent87acc51acab3ed4fd33cda2386abed6f98c80720 (diff)
Add Stash naming support for Bitbucket Server
-rw-r--r--functions/vcs.zsh2
1 files changed, 2 insertions, 0 deletions
diff --git a/functions/vcs.zsh b/functions/vcs.zsh
index c3e507b9..d80bca8e 100644
--- a/functions/vcs.zsh
+++ b/functions/vcs.zsh
@@ -116,6 +116,8 @@ function +vi-vcs-detect-changes() {
vcs_visual_identifier='VCS_GIT_GITHUB_ICON'
elif [[ "$remote" =~ "bitbucket" ]] then
vcs_visual_identifier='VCS_GIT_BITBUCKET_ICON'
+ elif [[ "$remote" =~ "stash" ]] then
+ vcs_visual_identifier='VCS_GIT_BITBUCKET_ICON'
elif [[ "$remote" =~ "gitlab" ]] then
vcs_visual_identifier='VCS_GIT_GITLAB_ICON'
else