We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello, Thanks for great tool.
I'm thinking about building custom car that displays current aws profile. Here is my configuration for bash:
export GBT_CAR_CUSTOM_TEXT_CMD="echo $AWS_PROFILE" export GBT_CARS='Status, Os, Hostname, Dir, Git,Custom, Sign' export PS1='$(gbt $?)' export GBT_CAR_HOSTNAME_DISPLAY='0' export GBT_CAR_DIR_DEPTH='2'
By design when I change AWS_PROFILE to non-default I should see my non-default in the prompt. Unfortunately I cannot see this change.
AWS_PROFILE
non-default
What am I'm missing here?
Thank you in advance.
The text was updated successfully, but these errors were encountered:
Try this:
export GBT_CAR_CUSTOM_TEXT_CMD='echo $AWS_PROFILE' export GBT_CARS='status, os, dir, custom, git, sign' export GBT_CAR_DIR_DEPTH='2' PS1='$(gbt $?)'
Let me know if that works.
Sorry, something went wrong.
Thanks, it works!
You can also add a nice AWS icon in front of the profile name and display the car only when the variable is set:
export GBT_CAR_CUSTOM_TEXT_CMD='echo -e "\ue7ad $AWS_PROFILE"' export GBT_CAR_CUSTOM_DISPLAY_CMD='[[ -n $AWS_PROFILE ]] && echo YES'
wow! Thank you
No branches or pull requests
Hello,
Thanks for great tool.
I'm thinking about building custom car that displays current aws profile. Here is my configuration for bash:
By design when I change
AWS_PROFILE
tonon-default
I should see mynon-default
in the prompt. Unfortunately I cannot see this change.What am I'm missing here?
Thank you in advance.
The text was updated successfully, but these errors were encountered: