mirror of
https://github.com/dcarrillo/dotfiles.git
synced 2024-12-22 19:48:01 +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=(
|
||||
# os_icon # os identifier
|
||||
dir # current directory
|
||||
# vpn_ip # virtual private network indicator
|
||||
vcs # git status
|
||||
prompt_char # prompt symbol
|
||||
)
|
||||
@ -1429,7 +1430,7 @@
|
||||
|
||||
########################[ vpn_ip: virtual private network indicator ]#########################
|
||||
# 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.
|
||||
# Tip: To display the private IP address when on VPN, remove the next line.
|
||||
typeset -g POWERLEVEL9K_VPN_IP_CONTENT_EXPANSION=
|
||||
|
Loading…
Reference in New Issue
Block a user