|
|
@ -3605,7 +3605,7 @@ function _p9k_vcs_icon() {
|
|
|
|
case "$VCS_STATUS_REMOTE_URL" in
|
|
|
|
case "$VCS_STATUS_REMOTE_URL" in
|
|
|
|
*github*) _p9k__ret=VCS_GIT_GITHUB_ICON;;
|
|
|
|
*github*) _p9k__ret=VCS_GIT_GITHUB_ICON;;
|
|
|
|
*bitbucket*) _p9k__ret=VCS_GIT_BITBUCKET_ICON;;
|
|
|
|
*bitbucket*) _p9k__ret=VCS_GIT_BITBUCKET_ICON;;
|
|
|
|
*stash*) _p9k__ret=VCS_GIT_GITHUB_ICON;;
|
|
|
|
*stash*) _p9k__ret=VCS_GIT_BITBUCKET_ICON;;
|
|
|
|
*gitlab*) _p9k__ret=VCS_GIT_GITLAB_ICON;;
|
|
|
|
*gitlab*) _p9k__ret=VCS_GIT_GITLAB_ICON;;
|
|
|
|
*) _p9k__ret=VCS_GIT_ICON;;
|
|
|
|
*) _p9k__ret=VCS_GIT_ICON;;
|
|
|
|
esac
|
|
|
|
esac
|
|
|
@ -3692,13 +3692,8 @@ function _p9k_vcs_render() {
|
|
|
|
|
|
|
|
|
|
|
|
# It's weird that removing vcs-detect-changes from POWERLEVEL9K_VCS_GIT_HOOKS gets rid
|
|
|
|
# It's weird that removing vcs-detect-changes from POWERLEVEL9K_VCS_GIT_HOOKS gets rid
|
|
|
|
# of the GIT icon. That's what vcs_info does, so we do the same in the name of compatiblity.
|
|
|
|
# of the GIT icon. That's what vcs_info does, so we do the same in the name of compatiblity.
|
|
|
|
case "$VCS_STATUS_REMOTE_URL" in
|
|
|
|
_p9k_vcs_icon
|
|
|
|
*github*) icon=VCS_GIT_GITHUB_ICON;;
|
|
|
|
icon=$_p9k__ret
|
|
|
|
*bitbucket*) icon=VCS_GIT_BITBUCKET_ICON;;
|
|
|
|
|
|
|
|
*stash*) icon=VCS_GIT_GITHUB_ICON;;
|
|
|
|
|
|
|
|
*gitlab*) icon=VCS_GIT_GITLAB_ICON;;
|
|
|
|
|
|
|
|
*) icon=VCS_GIT_ICON;;
|
|
|
|
|
|
|
|
esac
|
|
|
|
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
: ${state:=CLEAN}
|
|
|
|
: ${state:=CLEAN}
|
|
|
|