1
0
mirror of https://github.com/dcarrillo/dotfiles.git synced 2024-12-22 23:08:01 +00:00

[p10k] Update prompt

This commit is contained in:
Daniel Carrillo 2022-02-26 19:03:40 +01:00
parent e2af60c2f4
commit 14fd6d7461
Signed by: dcarrillo
GPG Key ID: E4CD5C09DAED6E16
2 changed files with 6 additions and 5 deletions

View File

@ -8,8 +8,8 @@ italic_font Roboto Mono Italic
bold_italic_font Roboto Mono Bold Italic bold_italic_font Roboto Mono Bold Italic
font_size 9 font_size 9
font_features none font_features none
symbol_map U+E007-U+F8E8 Font Awesome 5 Brands symbol_map U+E007-U+F8E8 Font Awesome 6 Brands
symbol_map U+F022 Font Awesome 5 Free symbol_map U+F022 Font Awesome 6 Free
#: }}} #: }}}

View File

@ -33,6 +33,7 @@
# os_icon # os identifier # os_icon # os identifier
dir # current directory dir # current directory
# vpn_ip # virtual private network indicator # vpn_ip # virtual private network indicator
kubecontext # current kubernetes context (https://kubernetes.io/)
prompt_char # prompt symbol prompt_char # prompt symbol
) )
@ -71,7 +72,7 @@
# phpenv # php version from phpenv (https://github.com/phpenv/phpenv) # phpenv # php version from phpenv (https://github.com/phpenv/phpenv)
# scalaenv # scala version from scalaenv (https://github.com/scalaenv/scalaenv) # scalaenv # scala version from scalaenv (https://github.com/scalaenv/scalaenv)
# haskell_stack # haskell version from stack (https://haskellstack.org/) # haskell_stack # haskell version from stack (https://haskellstack.org/)
kubecontext # current kubernetes context (https://kubernetes.io/) # kubecontext # current kubernetes context (https://kubernetes.io/)
# terraform # terraform workspace (https://www.terraform.io) # terraform # terraform workspace (https://www.terraform.io)
aws # aws profile (https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-profiles.html) aws # aws profile (https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-profiles.html)
# aws_eb_env # aws elastic beanstalk environment (https://aws.amazon.com/elasticbeanstalk/) # aws_eb_env # aws elastic beanstalk environment (https://aws.amazon.com/elasticbeanstalk/)
@ -101,7 +102,7 @@
# battery # internal battery # battery # internal battery
# wifi # wifi speed # wifi # wifi speed
# example # example user-defined segment (see prompt_example function below) # example # example user-defined segment (see prompt_example function below)
hcloud # hcloud
) )
# Defines character set used by powerlevel10k. It's best to let `p10k configure` set it for you. # Defines character set used by powerlevel10k. It's best to let `p10k configure` set it for you.
@ -1273,7 +1274,7 @@
#[ aws: aws profile (https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-profiles.html) ]# #[ aws: aws profile (https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-profiles.html) ]#
# Show aws only when the the command you are typing invokes one of these tools. # Show aws only when the the command you are typing invokes one of these tools.
# Tip: Remove the next line to always show aws. # Tip: Remove the next line to always show aws.
typeset -g POWERLEVEL9K_AWS_SHOW_ON_COMMAND='aws|awless|terraform|pulumi|terragrunt|cdk' typeset -g POWERLEVEL9K_AWS_SHOW_ON_COMMAND='aws*|terraform|pulumi|terragrunt|cdk'
# POWERLEVEL9K_AWS_CLASSES is an array with even number of elements. The first element # POWERLEVEL9K_AWS_CLASSES is an array with even number of elements. The first element
# in each pair defines a pattern against which the current AWS profile gets matched. # in each pair defines a pattern against which the current AWS profile gets matched.