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 nix-shell support for preserving PS1 #3988

Merged
merged 1 commit into from Sep 11, 2020

Conversation

Gabriella439
Copy link
Contributor

Fixes #1268

nix-shell will now preserve PS1 if the NIX_SHELL_PRESERVE_PROMPT
environment variable is set.

Fixes NixOS#1268

`nix-shell` will now preserve `PS1` if the `NIX_SHELL_PRESERVE_PROMPT`
environment variable is set.
@domenkozar domenkozar merged commit e1f2c93 into NixOS:master Sep 11, 2020
@Gabriella439 Gabriella439 deleted the gabriel/preserve_ps1 branch September 11, 2020 14:44
@NilsIrl
Copy link
Member

NilsIrl commented Sep 11, 2020

How should this be documented?

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.

UX issue with nix-shell: No clean way to preserve my $PS1
3 participants