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

PROMPT_STRING env variable #3918

Merged
merged 2 commits into from
Aug 14, 2021
Merged

PROMPT_STRING env variable #3918

merged 2 commits into from
Aug 14, 2021

Conversation

elferherrera
Copy link
Contributor

The PROMPT_STRING can be used to define a piece of nu code that creates a string that replaces the prompt. When the env variable is not present, the command line takes this value from the config file

image

This will allow us to change the prompt when working on virtual environments

@sophiajt
Copy link
Contributor

Looks good!

@sophiajt sophiajt merged commit ee563ec into nushell:main Aug 14, 2021
@elferherrera elferherrera deleted the prompt branch April 24, 2022 12:26
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.

None yet

2 participants