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

Add project-only options to Elixir and NVM prompt segments #318

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

Conversation

FallenWarrior2k
Copy link

The Rust and Go prompt segments, for example, are only displayed when in a project directory, while the Elixir and NVM segments were previously always displayed.

In my opinion, this cluttered the prompt with information that was of little use outside of a project, but would still be neat to have if actually working on one. As such, I added options to hide these prompt segments when not in a project directory of that language.

This way, you can have information that might normally be superfluous
still show up when it becomes relevant, i.e. when you're working on a
project of the given language.
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