Content-Length: 207601 | pFad | http://github.com/starship/starship/issues/6391

D3 In startship prompt show rails Icon and version detected after ruby icon if its exist in the environment · Issue #6391 · starship/starship · GitHub
Skip to content
New issue

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

In startship prompt show rails Icon and version detected after ruby icon if its exist in the environment #6391

Open
jagdishadusumalli opened this issue Nov 13, 2024 · 1 comment
Labels
✨ enhancement A new feature implementation.

Comments

@jagdishadusumalli
Copy link

Feature Request

Is your feature request related to a problem? Please describe.

No

Describe the solution you'd like

I am a ruby on rails developer and would like to see the current version of rails also in my prompt.
When i cd into a ruby on rails project folder i see blue ruby icon & ruby version info
after that info on right side i would like to see a rails icon and its version (if its detected)
rails version for a project can be got by 2 ways

  1. Inside the project folder the exact version of rails is mentioned in Gemfile or Gemfile.lock
  2. or Using command -> rails -v
@jagdishadusumalli jagdishadusumalli added the ✨ enhancement A new feature implementation. label Nov 13, 2024
@jagdishadusumalli
Copy link
Author

command_timeout = 1000
[custom.zsh]
style = 'red'
command = 'version=$(rails -v | cut -d" " -f2); [ -z "$version" ] && echo "$version" || echo "RR$version"'
when = true

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✨ enhancement A new feature implementation.
Projects
None yet
Development

No branches or pull requests

1 participant








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/starship/starship/issues/6391

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy