From dd03ca376caee0fe61c64b72e2f5d5b516e129e6 Mon Sep 17 00:00:00 2001 From: Pavle Portic Date: Sun, 10 Oct 2021 02:24:56 +0200 Subject: [PATCH] Fix aws color --- boban.zsh-theme | 29 ++--------------------------- 1 file changed, 2 insertions(+), 27 deletions(-) diff --git a/boban.zsh-theme b/boban.zsh-theme index 84da796..7901f2b 100644 --- a/boban.zsh-theme +++ b/boban.zsh-theme @@ -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 }