Add (disabled) vpn indicator to left prompt

This commit is contained in:
Daniel Carrillo 2021-06-19 19:36:15 +02:00
parent 0308fc8cef
commit a6b63bf434
Signed by: dcarrillo
GPG Key ID: E4CD5C09DAED6E16
1 changed files with 2 additions and 1 deletions

View File

@ -32,6 +32,7 @@
typeset -g POWERLEVEL9K_LEFT_PROMPT_ELEMENTS=( typeset -g POWERLEVEL9K_LEFT_PROMPT_ELEMENTS=(
# os_icon # os identifier # os_icon # os identifier
dir # current directory dir # current directory
# vpn_ip # virtual private network indicator
vcs # git status vcs # git status
prompt_char # prompt symbol prompt_char # prompt symbol
) )
@ -1429,7 +1430,7 @@
########################[ vpn_ip: virtual private network indicator ]######################### ########################[ vpn_ip: virtual private network indicator ]#########################
# VPN IP color. # VPN IP color.
typeset -g POWERLEVEL9K_VPN_IP_FOREGROUND=81 typeset -g POWERLEVEL9K_VPN_IP_FOREGROUND=251
# When on VPN, show just an icon without the IP address. # When on VPN, show just an icon without the IP address.
# Tip: To display the private IP address when on VPN, remove the next line. # Tip: To display the private IP address when on VPN, remove the next line.
typeset -g POWERLEVEL9K_VPN_IP_CONTENT_EXPANSION= typeset -g POWERLEVEL9K_VPN_IP_CONTENT_EXPANSION=