mirror of
https://github.com/Cornelicorn/bullet-train.zsh.git
synced 2025-12-06 03:40:41 +01:00
fix(awsprofile): spaces in prefix
This commit is contained in:
@@ -506,12 +506,12 @@ prompt_nvm() {
|
||||
prompt_segment $BULLETTRAIN_NVM_BG $BULLETTRAIN_NVM_FG $BULLETTRAIN_NVM_PREFIX$nvm_prompt
|
||||
}
|
||||
|
||||
# AWS Profile
|
||||
prompt_aws() {
|
||||
local aws_profile="$AWS_PROFILE"
|
||||
local spaces=" "
|
||||
|
||||
if [[ -n "$aws_profile" ]]; then
|
||||
prompt_segment $BULLETTRAIN_AWS_BG $BULLETTRAIN_AWS_FG $BULLETTRAIN_AWS_PREFIX$aws_profile
|
||||
prompt_segment $BULLETTRAIN_AWS_BG $BULLETTRAIN_AWS_FG $BULLETTRAIN_AWS_PREFIX$spaces$aws_profile
|
||||
fi
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user