aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorromkatv <roman.perepelitsa@gmail.com>2020-02-27 10:11:58 +0300
committerromkatv <roman.perepelitsa@gmail.com>2020-02-27 10:11:58 +0300
commite84b20901c5aa7ac4c0e6f746bca55e2ae24e5f4 (patch)
tree711d8b7327b832457e0538e8582ef3153a8d094c
parentcb3f58d21f643d26d71f520d61a592816cca3edf (diff)
s/ASDF_GO/ASDF_GOLANG/
Fixes #529.
-rw-r--r--config/p10k-classic.zsh6
-rw-r--r--config/p10k-lean-8colors.zsh6
-rw-r--r--config/p10k-lean.zsh6
-rw-r--r--config/p10k-rainbow.zsh8
-rw-r--r--internal/icons.zsh4
-rw-r--r--internal/p10k.zsh2
6 files changed, 18 insertions, 14 deletions
diff --git a/config/p10k-classic.zsh b/config/p10k-classic.zsh
index 5cc6f4df..b5df1e6f 100644
--- a/config/p10k-classic.zsh
+++ b/config/p10k-classic.zsh
@@ -629,9 +629,9 @@
# typeset -g POWERLEVEL9K_ASDF_PYTHON_SHOW_ON_UPGLOB='*.foo|*.bar'
# Go version from asdf.
- typeset -g POWERLEVEL9K_ASDF_GO_FOREGROUND=37
- # typeset -g POWERLEVEL9K_ASDF_GO_VISUAL_IDENTIFIER_EXPANSION='⭐'
- # typeset -g POWERLEVEL9K_ASDF_GO_SHOW_ON_UPGLOB='*.foo|*.bar'
+ typeset -g POWERLEVEL9K_ASDF_GOLANG_FOREGROUND=37
+ # typeset -g POWERLEVEL9K_ASDF_GOLANG_VISUAL_IDENTIFIER_EXPANSION='⭐'
+ # typeset -g POWERLEVEL9K_ASDF_GOLANG_SHOW_ON_UPGLOB='*.foo|*.bar'
# Node.js version from asdf.
typeset -g POWERLEVEL9K_ASDF_NODEJS_FOREGROUND=70
diff --git a/config/p10k-lean-8colors.zsh b/config/p10k-lean-8colors.zsh
index a3e16ddd..40a02060 100644
--- a/config/p10k-lean-8colors.zsh
+++ b/config/p10k-lean-8colors.zsh
@@ -625,9 +625,9 @@
# typeset -g POWERLEVEL9K_ASDF_PYTHON_SHOW_ON_UPGLOB='*.foo|*.bar'
# Go version from asdf.
- typeset -g POWERLEVEL9K_ASDF_GO_FOREGROUND=6
- # typeset -g POWERLEVEL9K_ASDF_GO_VISUAL_IDENTIFIER_EXPANSION='⭐'
- # typeset -g POWERLEVEL9K_ASDF_GO_SHOW_ON_UPGLOB='*.foo|*.bar'
+ typeset -g POWERLEVEL9K_ASDF_GOLANG_FOREGROUND=6
+ # typeset -g POWERLEVEL9K_ASDF_GOLANG_VISUAL_IDENTIFIER_EXPANSION='⭐'
+ # typeset -g POWERLEVEL9K_ASDF_GOLANG_SHOW_ON_UPGLOB='*.foo|*.bar'
# Node.js version from asdf.
typeset -g POWERLEVEL9K_ASDF_NODEJS_FOREGROUND=2
diff --git a/config/p10k-lean.zsh b/config/p10k-lean.zsh
index 4ed70ff1..5c93a2cd 100644
--- a/config/p10k-lean.zsh
+++ b/config/p10k-lean.zsh
@@ -625,9 +625,9 @@
# typeset -g POWERLEVEL9K_ASDF_PYTHON_SHOW_ON_UPGLOB='*.foo|*.bar'
# Go version from asdf.
- typeset -g POWERLEVEL9K_ASDF_GO_FOREGROUND=37
- # typeset -g POWERLEVEL9K_ASDF_GO_VISUAL_IDENTIFIER_EXPANSION='⭐'
- # typeset -g POWERLEVEL9K_ASDF_GO_SHOW_ON_UPGLOB='*.foo|*.bar'
+ typeset -g POWERLEVEL9K_ASDF_GOLANG_FOREGROUND=37
+ # typeset -g POWERLEVEL9K_ASDF_GOLANG_VISUAL_IDENTIFIER_EXPANSION='⭐'
+ # typeset -g POWERLEVEL9K_ASDF_GOLANG_SHOW_ON_UPGLOB='*.foo|*.bar'
# Node.js version from asdf.
typeset -g POWERLEVEL9K_ASDF_NODEJS_FOREGROUND=70
diff --git a/config/p10k-rainbow.zsh b/config/p10k-rainbow.zsh
index 6d8c5e31..c7cae983 100644
--- a/config/p10k-rainbow.zsh
+++ b/config/p10k-rainbow.zsh
@@ -629,10 +629,10 @@
# typeset -g POWERLEVEL9K_ASDF_PYTHON_SHOW_ON_UPGLOB='*.foo|*.bar'
# Go version from asdf.
- typeset -g POWERLEVEL9K_ASDF_GO_FOREGROUND=0
- typeset -g POWERLEVEL9K_ASDF_GO_BACKGROUND=4
- # typeset -g POWERLEVEL9K_ASDF_GO_VISUAL_IDENTIFIER_EXPANSION='⭐'
- # typeset -g POWERLEVEL9K_ASDF_GO_SHOW_ON_UPGLOB='*.foo|*.bar'
+ typeset -g POWERLEVEL9K_ASDF_GOLANG_FOREGROUND=0
+ typeset -g POWERLEVEL9K_ASDF_GOLANG_BACKGROUND=4
+ # typeset -g POWERLEVEL9K_ASDF_GOLANG_VISUAL_IDENTIFIER_EXPANSION='⭐'
+ # typeset -g POWERLEVEL9K_ASDF_GOLANG_SHOW_ON_UPGLOB='*.foo|*.bar'
# Node.js version from asdf.
typeset -g POWERLEVEL9K_ASDF_NODEJS_FOREGROUND=0
diff --git a/internal/icons.zsh b/internal/icons.zsh
index 3f001af9..02263dec 100644
--- a/internal/icons.zsh
+++ b/internal/icons.zsh
@@ -103,6 +103,7 @@ function _p9k_init_icons() {
PYTHON_ICON '\uE63C'$s #  (doesn't always work)
SWIFT_ICON 'Swift'
GO_ICON 'Go'
+ GOLANG_ICON 'Go'
PUBLIC_IP_ICON 'IP'
LOCK_ICON '\UE138' # 
EXECUTION_TIME_ICON '\UE89C'$s # 
@@ -224,6 +225,7 @@ function _p9k_init_icons() {
PYTHON_ICON '\uE63C'$s # 
SWIFT_ICON 'Swift'
GO_ICON 'Go'
+ GOLANG_ICON 'Go'
PUBLIC_IP_ICON 'IP'
LOCK_ICON '\UF023' # 
EXECUTION_TIME_ICON '\uF253'$s # 
@@ -471,6 +473,7 @@ function _p9k_init_icons() {
PYTHON_ICON '\UE73C ' # 
SWIFT_ICON '\uE755' # 
GO_ICON '\uE626' # 
+ GOLANG_ICON '\uE626' # 
PUBLIC_IP_ICON '\UF0AC'$s # 
LOCK_ICON '\UF023' # 
EXECUTION_TIME_ICON '\uF252'$s # 
@@ -592,6 +595,7 @@ function _p9k_init_icons() {
PYTHON_ICON 'Py'
SWIFT_ICON 'Swift'
GO_ICON 'Go'
+ GOLANG_ICON 'Go'
PUBLIC_IP_ICON 'IP'
LOCK_ICON '\UE0A2'
EXECUTION_TIME_ICON ''
diff --git a/internal/p10k.zsh b/internal/p10k.zsh
index 369beb99..543b39ad 100644
--- a/internal/p10k.zsh
+++ b/internal/p10k.zsh
@@ -7263,7 +7263,7 @@ _p9k_must_init() {
[[ $sig == $_p9k__param_sig ]] && return 1
_p9k_deinit
fi
- _p9k__param_pat=$'v58\1'${ZSH_VERSION}$'\1'${ZSH_PATCHLEVEL}$'\1'
+ _p9k__param_pat=$'v59\1'${ZSH_VERSION}$'\1'${ZSH_PATCHLEVEL}$'\1'
_p9k__param_pat+=$'${#parameters[(I)POWERLEVEL9K_*]}\1${(%):-%n%#}\1$GITSTATUS_LOG_LEVEL\1'
_p9k__param_pat+=$'$GITSTATUS_ENABLE_LOGGING\1$GITSTATUS_DAEMON\1$GITSTATUS_NUM_THREADS\1'
_p9k__param_pat+=$'$DEFAULT_USER\1${ZLE_RPROMPT_INDENT:-1}\1$P9K_SSH\1$__p9k_ksh_arrays'