romkatv/powerlevel10k

aws profile not showing

Closed this issue · 5 comments

type aws and you will see it

Pasted image 1
not showing

see

For future reference, if one wants to change this behaviour: It can be done in the .p10k.zsh file by changing or removing POWERLEVEL9K_AWS_SHOW_ON_COMMAND.

This is from the lean config, what you can expect to find in your .p10k.zsh:

#[ aws: aws profile (https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-profiles.html) ]#
# Show aws only when the command you are typing invokes one of these tools.
# Tip: Remove the next line to always show aws.
typeset -g POWERLEVEL9K_AWS_SHOW_ON_COMMAND='aws|awless|cdk|terraform|pulumi|terragrunt'

PS: There are similar options for other segments like the terraform segment.