Giter Site home page Giter Site logo

Custom context chips about warp HOT 6 OPEN

agluck91 avatar agluck91 commented on July 21, 2024 2
Custom context chips

from warp.

Comments (6)

dannyneira avatar dannyneira commented on July 21, 2024 1

Thanks for this feature request @agluck91! We could open up an API for this feature to allow for custom chips in the future.

To anyone else interested in this feature, please add a 👍 to the original post at the top to signal that you want this feature, and subscribe if you'd like to be notified.

from warp.

agluck91 avatar agluck91 commented on July 21, 2024

Just want to mention I love the pills combined with the SSH agent, simply awesome.

from warp.

dannyneira avatar dannyneira commented on July 21, 2024

Thanks for this feature request! We'd ultimately like to open up a way for custom or 3rd party context chips (pills). As a stopgap to this feature, Warp does support starship and other custom prompts listed here.

To anyone else interested in this feature, please add a 👍 to the original post at the top to signal that you want this feature, and subscribe if you'd like to be notified.

from warp.

agluck91 avatar agluck91 commented on July 21, 2024

Thank you, I do have starship. It is not as good because it does not carry the prompt upstream to ssh client. You all knocked it out of the park.

Logging into my K8s master and instantly seeing my context AS I am typing command. Instead of it always cluttering my shell. Wow!!

Can you all do something similar for pulumi, when I start typing my pulumi command I would see the stack I am targeting?

Would love to see what AWS profile I have set too. This would be really helpful. I change the profile by setting AWS_DEFAULT_PROFILE. This should always be shown because some tools use the AWS config that is loaded. Like pulumi for instance and bash scripts ect

node, python, rust should all be triggered by directory. For instance My node version is set per directory with Volta. You already have pyenv.

from warp.

agluck91 avatar agluck91 commented on July 21, 2024

I think I read that warp was thinking of going open source. Would definitely comtribute to this feature myself.

from warp.

tukusejssirs avatar tukusejssirs commented on July 21, 2024

I wish we could define custom chips using shell scripts, which could also define fg and bg colours of the output. For example, I want the @ character between the username and hostname to be red when connected to a remote, otherwise it should be in normal/default colour.

Moreover, I wish we could add literal text strings to the prompt, as some users might prefer different separators. For example, I want to add a static time in square brackets (e.g. [ 4.19pm]). Or I want to replace git:(branch) with [branch], as I don’t use any other VCS.

from warp.

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.