Skip to content

Commit 36f3045

Browse files
committed
disable nordvpn as it is broken after the last upstream update (#2860)
1 parent 8fa10f4 commit 36f3045

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

internal/p10k.zsh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4918,6 +4918,10 @@ function _p9k_fetch_nordvpn_status() {
49184918
# POWERLEVEL9K_NORDVPN_CONNECTING_CONTENT_EXPANSION='${P9K_NORDVPN_COUNTRY_CODE}'
49194919
# POWERLEVEL9K_NORDVPN_CONNECTING_BACKGROUND=cyan
49204920
function prompt_nordvpn() {
4921+
# This prompt segment is broken. See https://github.com/romkatv/powerlevel10k/issues/2860.
4922+
# It is disabled until it is fixed.
4923+
return
4924+
49214925
unset $__p9k_nordvpn_tag P9K_NORDVPN_COUNTRY_CODE
49224926
[[ -e /run/nordvpn/nordvpnd.sock ]] || return
49234927
_p9k_fetch_nordvpn_status 2>/dev/null || return
@@ -9499,7 +9503,7 @@ if [[ $__p9k_dump_file != $__p9k_instant_prompt_dump_file && -n $__p9k_instant_p
94999503
zf_rm -f -- $__p9k_instant_prompt_dump_file{,.zwc} 2>/dev/null
95009504
fi
95019505

9502-
typeset -g P9K_VERSION=1.20.14
9506+
typeset -g P9K_VERSION=1.20.15
95039507

95049508
if [[ ${VSCODE_SHELL_INTEGRATION-} == <1-> && ${+__p9k_force_term_shell_integration} == 0 ]]; then
95059509
typeset -gri __p9k_force_term_shell_integration=1

0 commit comments

Comments
 (0)