1
0
Fork 0
mirror of https://github.com/romkatv/powerlevel10k.git synced 2024-11-21 20:00:07 +00:00

s/ASDF_GO/ASDF_GOLANG/

Fixes #529.
This commit is contained in:
romkatv 2020-02-27 08:11:58 +01:00
parent cb3f58d21f
commit e84b20901c
6 changed files with 18 additions and 14 deletions

View file

@ -629,9 +629,9 @@
# typeset -g POWERLEVEL9K_ASDF_PYTHON_SHOW_ON_UPGLOB='*.foo|*.bar' # typeset -g POWERLEVEL9K_ASDF_PYTHON_SHOW_ON_UPGLOB='*.foo|*.bar'
# Go version from asdf. # Go version from asdf.
typeset -g POWERLEVEL9K_ASDF_GO_FOREGROUND=37 typeset -g POWERLEVEL9K_ASDF_GOLANG_FOREGROUND=37
# typeset -g POWERLEVEL9K_ASDF_GO_VISUAL_IDENTIFIER_EXPANSION='⭐' # typeset -g POWERLEVEL9K_ASDF_GOLANG_VISUAL_IDENTIFIER_EXPANSION='⭐'
# typeset -g POWERLEVEL9K_ASDF_GO_SHOW_ON_UPGLOB='*.foo|*.bar' # typeset -g POWERLEVEL9K_ASDF_GOLANG_SHOW_ON_UPGLOB='*.foo|*.bar'
# Node.js version from asdf. # Node.js version from asdf.
typeset -g POWERLEVEL9K_ASDF_NODEJS_FOREGROUND=70 typeset -g POWERLEVEL9K_ASDF_NODEJS_FOREGROUND=70

View file

@ -625,9 +625,9 @@
# typeset -g POWERLEVEL9K_ASDF_PYTHON_SHOW_ON_UPGLOB='*.foo|*.bar' # typeset -g POWERLEVEL9K_ASDF_PYTHON_SHOW_ON_UPGLOB='*.foo|*.bar'
# Go version from asdf. # Go version from asdf.
typeset -g POWERLEVEL9K_ASDF_GO_FOREGROUND=6 typeset -g POWERLEVEL9K_ASDF_GOLANG_FOREGROUND=6
# typeset -g POWERLEVEL9K_ASDF_GO_VISUAL_IDENTIFIER_EXPANSION='⭐' # typeset -g POWERLEVEL9K_ASDF_GOLANG_VISUAL_IDENTIFIER_EXPANSION='⭐'
# typeset -g POWERLEVEL9K_ASDF_GO_SHOW_ON_UPGLOB='*.foo|*.bar' # typeset -g POWERLEVEL9K_ASDF_GOLANG_SHOW_ON_UPGLOB='*.foo|*.bar'
# Node.js version from asdf. # Node.js version from asdf.
typeset -g POWERLEVEL9K_ASDF_NODEJS_FOREGROUND=2 typeset -g POWERLEVEL9K_ASDF_NODEJS_FOREGROUND=2

View file

@ -625,9 +625,9 @@
# typeset -g POWERLEVEL9K_ASDF_PYTHON_SHOW_ON_UPGLOB='*.foo|*.bar' # typeset -g POWERLEVEL9K_ASDF_PYTHON_SHOW_ON_UPGLOB='*.foo|*.bar'
# Go version from asdf. # Go version from asdf.
typeset -g POWERLEVEL9K_ASDF_GO_FOREGROUND=37 typeset -g POWERLEVEL9K_ASDF_GOLANG_FOREGROUND=37
# typeset -g POWERLEVEL9K_ASDF_GO_VISUAL_IDENTIFIER_EXPANSION='⭐' # typeset -g POWERLEVEL9K_ASDF_GOLANG_VISUAL_IDENTIFIER_EXPANSION='⭐'
# typeset -g POWERLEVEL9K_ASDF_GO_SHOW_ON_UPGLOB='*.foo|*.bar' # typeset -g POWERLEVEL9K_ASDF_GOLANG_SHOW_ON_UPGLOB='*.foo|*.bar'
# Node.js version from asdf. # Node.js version from asdf.
typeset -g POWERLEVEL9K_ASDF_NODEJS_FOREGROUND=70 typeset -g POWERLEVEL9K_ASDF_NODEJS_FOREGROUND=70

View file

@ -629,10 +629,10 @@
# typeset -g POWERLEVEL9K_ASDF_PYTHON_SHOW_ON_UPGLOB='*.foo|*.bar' # typeset -g POWERLEVEL9K_ASDF_PYTHON_SHOW_ON_UPGLOB='*.foo|*.bar'
# Go version from asdf. # Go version from asdf.
typeset -g POWERLEVEL9K_ASDF_GO_FOREGROUND=0 typeset -g POWERLEVEL9K_ASDF_GOLANG_FOREGROUND=0
typeset -g POWERLEVEL9K_ASDF_GO_BACKGROUND=4 typeset -g POWERLEVEL9K_ASDF_GOLANG_BACKGROUND=4
# typeset -g POWERLEVEL9K_ASDF_GO_VISUAL_IDENTIFIER_EXPANSION='⭐' # typeset -g POWERLEVEL9K_ASDF_GOLANG_VISUAL_IDENTIFIER_EXPANSION='⭐'
# typeset -g POWERLEVEL9K_ASDF_GO_SHOW_ON_UPGLOB='*.foo|*.bar' # typeset -g POWERLEVEL9K_ASDF_GOLANG_SHOW_ON_UPGLOB='*.foo|*.bar'
# Node.js version from asdf. # Node.js version from asdf.
typeset -g POWERLEVEL9K_ASDF_NODEJS_FOREGROUND=0 typeset -g POWERLEVEL9K_ASDF_NODEJS_FOREGROUND=0

View file

@ -103,6 +103,7 @@ function _p9k_init_icons() {
PYTHON_ICON '\uE63C'$s #  (doesn't always work) PYTHON_ICON '\uE63C'$s #  (doesn't always work)
SWIFT_ICON 'Swift' SWIFT_ICON 'Swift'
GO_ICON 'Go' GO_ICON 'Go'
GOLANG_ICON 'Go'
PUBLIC_IP_ICON 'IP' PUBLIC_IP_ICON 'IP'
LOCK_ICON '\UE138' #  LOCK_ICON '\UE138' # 
EXECUTION_TIME_ICON '\UE89C'$s #  EXECUTION_TIME_ICON '\UE89C'$s # 
@ -224,6 +225,7 @@ function _p9k_init_icons() {
PYTHON_ICON '\uE63C'$s #  PYTHON_ICON '\uE63C'$s # 
SWIFT_ICON 'Swift' SWIFT_ICON 'Swift'
GO_ICON 'Go' GO_ICON 'Go'
GOLANG_ICON 'Go'
PUBLIC_IP_ICON 'IP' PUBLIC_IP_ICON 'IP'
LOCK_ICON '\UF023' #  LOCK_ICON '\UF023' # 
EXECUTION_TIME_ICON '\uF253'$s #  EXECUTION_TIME_ICON '\uF253'$s # 
@ -471,6 +473,7 @@ function _p9k_init_icons() {
PYTHON_ICON '\UE73C ' #  PYTHON_ICON '\UE73C ' # 
SWIFT_ICON '\uE755' #  SWIFT_ICON '\uE755' # 
GO_ICON '\uE626' #  GO_ICON '\uE626' # 
GOLANG_ICON '\uE626' # 
PUBLIC_IP_ICON '\UF0AC'$s #  PUBLIC_IP_ICON '\UF0AC'$s # 
LOCK_ICON '\UF023' #  LOCK_ICON '\UF023' # 
EXECUTION_TIME_ICON '\uF252'$s #  EXECUTION_TIME_ICON '\uF252'$s # 
@ -592,6 +595,7 @@ function _p9k_init_icons() {
PYTHON_ICON 'Py' PYTHON_ICON 'Py'
SWIFT_ICON 'Swift' SWIFT_ICON 'Swift'
GO_ICON 'Go' GO_ICON 'Go'
GOLANG_ICON 'Go'
PUBLIC_IP_ICON 'IP' PUBLIC_IP_ICON 'IP'
LOCK_ICON '\UE0A2' LOCK_ICON '\UE0A2'
EXECUTION_TIME_ICON '' EXECUTION_TIME_ICON ''

View file

@ -7263,7 +7263,7 @@ _p9k_must_init() {
[[ $sig == $_p9k__param_sig ]] && return 1 [[ $sig == $_p9k__param_sig ]] && return 1
_p9k_deinit _p9k_deinit
fi 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+=$'${#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+=$'$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' _p9k__param_pat+=$'$DEFAULT_USER\1${ZLE_RPROMPT_INDENT:-1}\1$P9K_SSH\1$__p9k_ksh_arrays'