Giter Site home page Giter Site logo

Comments (4)

jtyr avatar jtyr commented on July 16, 2024

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.

from gbt.

korney4eg avatar korney4eg commented on July 16, 2024

Thanks, it works!

from gbt.

jtyr avatar jtyr commented on July 16, 2024

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'

from gbt.

korney4eg avatar korney4eg commented on July 16, 2024

wow! Thank you

from gbt.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.