Fix aws color

This commit is contained in:
Pavle Portic 2021-10-10 02:24:56 +02:00
parent e7994f3a49
commit dd03ca376c
Signed by: TheEdgeOfRage
GPG Key ID: F2AB38285780DE3D
1 changed files with 2 additions and 27 deletions

View File

@ -1,32 +1,7 @@
# vim:ft=zsh ts=2 sw=2 sts=2
#
# agnoster's Theme - https://gist.github.com/3712874
# Boban
# A Powerline-inspired theme for ZSH
#
# # README
#
# In order for this theme to render correctly, you will need a
# [Powerline-patched font](https://github.com/Lokaltog/powerline-fonts).
# Make sure you have a recent version: the code points that Powerline
# uses changed in 2012, and older versions will display incorrectly,
# in confusing ways.
#
# In addition, I recommend the
# [Solarized theme](https://github.com/altercation/solarized/) and, if you're
# using it on Mac OS X, [iTerm 2](http://www.iterm2.com/) over Terminal.app -
# it has significantly better color fidelity.
#
# # Goals
#
# The aim of this theme is to only show you *relevant* information. Like most
# prompts, it will only show git information when in a git working directory.
# However, it goes a step further: everything from the current user and
# hostname to whether the last call exited with an error to whether background
# jobs are running in this shell will all be displayed automatically when
# appropriate.
### Segment drawing
# A few utility functions to make it easy and re-usable to draw segmented prompts
CURRENT_BG='NONE'
DEFAULT_USER=${DEFAULT_USER:-default}
@ -156,7 +131,7 @@ prompt_virtualenv() {
prompt_aws() {
local aws_profile="$AWS_PROFILE"
if [[ -n $aws_profile ]]; then
prompt_segment blue yellow "($aws_profile)"
prompt_segment black yellow "($aws_profile)"
fi
}