mirror of
https://github.com/dcarrillo/dotfiles.git
synced 2024-12-22 18:38:00 +00:00
Add (disabled) vpn indicator to left prompt
This commit is contained in:
parent
0308fc8cef
commit
a6b63bf434
@ -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=
|
||||||
|
Loading…
Reference in New Issue
Block a user