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

Feat: Add python support to starship #447

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

vihu
Copy link
Contributor

@vihu vihu commented Jul 26, 2024

Summary

Typically users have python with a .venv folder in the project they're working on.

This adds python support to the starship prompt.

Example:

 starship explain

 Here's a breakdown of your prompt:
 " " (<1ms)                        -  A character (usually an arrow) beside where the text is entered in your terminal
 " ~/personal/python-test " (<1ms)  -  The current working directory
 "🍭 " (31ms)                       -  The current operating system
 " .venv v3.11.3 " (1ms)           -  The currently installed version of Python
 " rahul " (<1ms)                    -  The active user's username

Screenshot with nightfox starship toml:
image

vihu added 2 commits July 26, 2024 19:33
Summary
----

Typically users have python with a `.venv` folder in the project they're
working on.

This adds python support to the starship prompt.

Example:
```
 starship explain

 Here's a breakdown of your prompt:
 " " (<1ms)                        -  A character (usually an arrow) beside where the text is entered in your terminal
 " ~/personal/python-test " (<1ms)  -  The current working directory
 "🍭 " (31ms)                       -  The current operating system
 " .venv v3.11.3 " (1ms)           -  The currently installed version of Python
 " user " (<1ms)                    -  The active user's username
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant