aa917049ca0f41185507027890679cf84cfb7531

Author
Pavle Portic <git@theedgeofrage.com>
Committer
Pavle Portic <git@theedgeofrage.com>
Date

Message

Update aws and virtualenv prompts

Diff

 1diff --git a/boban.zsh-theme b/boban.zsh-theme
 2index 7901f2bc9ef7a1ba844ed7a1b47d26095fef06b2..08cbb3a0e6074490f1baeead9ace3950700aa9b2 100644
 3--- a/boban.zsh-theme
 4+++ b/boban.zsh-theme
 5@@ -131,7 +131,7 @@ prompt_virtualenv() {
 6 prompt_aws() {
 7 	local aws_profile="$AWS_PROFILE"
 8 	if [[ -n $aws_profile ]]; then
 9-		prompt_segment black yellow "($aws_profile)"
10+		prompt_segment black yellow "  $aws_profile"
11 	fi
12 }
13 
14@@ -142,7 +142,7 @@ prompt_tf() {
15 	# check if in terraform dir
16 	if [ -d .terraform ]; then
17 		workspace=$(terraform workspace show 2> /dev/null) || return
18-		prompt_segment magenta black "[${workspace}]"
19+		prompt_segment black magenta "[${workspace}]"
20 	fi
21 }
22 
23@@ -170,10 +170,10 @@ prompt_time() {
24 build_prompt() {
25 	#RETVAL=$?
26 	#prompt_status
27-	prompt_virtualenv
28-	prompt_aws
29 	prompt_context
30+	prompt_aws
31 	prompt_dir
32+	prompt_virtualenv
33 	# prompt_tf
34 	prompt_git
35 	prompt_end