aboutsummaryrefslogtreecommitdiff
path: root/internal
diff options
context:
space:
mode:
Diffstat (limited to 'internal')
-rw-r--r--internal/icons.zsh7
-rw-r--r--internal/p10k.zsh15
2 files changed, 16 insertions, 6 deletions
diff --git a/internal/icons.zsh b/internal/icons.zsh
index 616b9e49..308a01d8 100644
--- a/internal/icons.zsh
+++ b/internal/icons.zsh
@@ -105,6 +105,7 @@ function _p9k_init_icons() {
VCS_GIT_GITHUB_ICON '\uE20E ' #
VCS_GIT_BITBUCKET_ICON '\uE20E ' #
VCS_GIT_GITLAB_ICON '\uE20E ' #
+ VCS_GIT_AZURE_ICON '\uE20E ' #
VCS_HG_ICON '\uE1C3 ' # 
VCS_SVN_ICON 'svn'$q
RUST_ICON 'R'
@@ -245,6 +246,7 @@ function _p9k_init_icons() {
VCS_GIT_GITHUB_ICON '\uF113 ' # 
VCS_GIT_BITBUCKET_ICON '\uF171 ' # 
VCS_GIT_GITLAB_ICON '\uF296 ' # 
+ VCS_GIT_AZURE_ICON '\u2601 ' # ☁
VCS_HG_ICON '\uF0C3 ' # 
VCS_SVN_ICON 'svn'$q
RUST_ICON '\uE6A8' # 
@@ -390,6 +392,7 @@ function _p9k_init_icons() {
VCS_GIT_GITHUB_ICON "${CODEPOINT_OF_AWESOME_GITHUB_ALT:+\\u$CODEPOINT_OF_AWESOME_GITHUB_ALT }"
VCS_GIT_BITBUCKET_ICON "${CODEPOINT_OF_AWESOME_BITBUCKET:+\\u$CODEPOINT_OF_AWESOME_BITBUCKET }"
VCS_GIT_GITLAB_ICON "${CODEPOINT_OF_AWESOME_GITLAB:+\\u$CODEPOINT_OF_AWESOME_GITLAB }"
+ VCS_GIT_AZURE_ICON '\u2601 ' # ☁
VCS_HG_ICON "${CODEPOINT_OF_AWESOME_FLASK:+\\u$CODEPOINT_OF_AWESOME_FLASK }"
VCS_SVN_ICON 'svn'$q
RUST_ICON '\uE6A8' # 
@@ -529,6 +532,7 @@ function _p9k_init_icons() {
VCS_GIT_GITHUB_ICON '\uF113 ' # 
VCS_GIT_BITBUCKET_ICON '\uE703 ' # 
VCS_GIT_GITLAB_ICON '\uF296 ' # 
+ VCS_GIT_AZURE_ICON '\UF0805 ' # 󰠅
VCS_HG_ICON '\uF0C3 ' # 
VCS_SVN_ICON '\uE72D'$q # 
RUST_ICON '\uE7A8'$q # 
@@ -670,6 +674,7 @@ function _p9k_init_icons() {
VCS_GIT_GITHUB_ICON '\uF113 ' # 
VCS_GIT_BITBUCKET_ICON '\uE703 ' # 
VCS_GIT_GITLAB_ICON '\uF296 ' # 
+ VCS_GIT_AZURE_ICON '\uFD03 ' # ﴃ
VCS_HG_ICON '\uF0C3 ' # 
VCS_SVN_ICON '\uE72D'$q # 
RUST_ICON '\uE7A8'$q # 
@@ -808,6 +813,7 @@ function _p9k_init_icons() {
VCS_GIT_GITHUB_ICON ''
VCS_GIT_BITBUCKET_ICON ''
VCS_GIT_GITLAB_ICON ''
+ VCS_GIT_AZURE_ICON ''
VCS_HG_ICON ''
VCS_SVN_ICON ''
RUST_ICON 'rust'
@@ -948,6 +954,7 @@ function _p9k_init_icons() {
VCS_GIT_GITHUB_ICON ''
VCS_GIT_BITBUCKET_ICON ''
VCS_GIT_GITLAB_ICON ''
+ VCS_GIT_AZURE_ICON ''
VCS_HG_ICON ''
VCS_SVN_ICON ''
RUST_ICON 'R'
diff --git a/internal/p10k.zsh b/internal/p10k.zsh
index 1193540e..d105665e 100644
--- a/internal/p10k.zsh
+++ b/internal/p10k.zsh
@@ -3874,11 +3874,14 @@ function _p9k_vcs_status_purge() {
function _p9k_vcs_icon() {
case "$VCS_STATUS_REMOTE_URL" in
- *github*) _p9k__ret=VCS_GIT_GITHUB_ICON;;
- *bitbucket*) _p9k__ret=VCS_GIT_BITBUCKET_ICON;;
- *stash*) _p9k__ret=VCS_GIT_BITBUCKET_ICON;;
- *gitlab*) _p9k__ret=VCS_GIT_GITLAB_ICON;;
- *) _p9k__ret=VCS_GIT_ICON;;
+ *github*) _p9k__ret=VCS_GIT_GITHUB_ICON;;
+ *bitbucket*) _p9k__ret=VCS_GIT_BITBUCKET_ICON;;
+ *stash*) _p9k__ret=VCS_GIT_BITBUCKET_ICON;;
+ *gitlab*) _p9k__ret=VCS_GIT_GITLAB_ICON;;
+ # https://learn.microsoft.com/en-us/azure/devops/repos/git/use-ssh-keys-to-authenticate
+ (|*@)vs-ssh.visualstudio.com(|:*)) _p9k__ret=VCS_GIT_AZURE_ICON;; # old
+ (|*@)ssh.dev.azure.com(|:*)) _p9k__ret=VCS_GIT_AZURE_ICON;; # new
+ *) _p9k__ret=VCS_GIT_ICON;;
esac
}
@@ -9402,7 +9405,7 @@ if [[ $__p9k_dump_file != $__p9k_instant_prompt_dump_file && -n $__p9k_instant_p
zf_rm -f -- $__p9k_instant_prompt_dump_file{,.zwc} 2>/dev/null
fi
-typeset -g P9K_VERSION=1.19.7
+typeset -g P9K_VERSION=1.19.8
unset VSCODE_SHELL_INTEGRATION
_p9k_init_ssh