Navigation Menu

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

Allow PS1 to be customized in nix-shell #3349

Closed
wants to merge 1 commit into from

Conversation

neilmayhew
Copy link
Member

@neilmayhew neilmayhew commented Feb 9, 2020

Currently there's no way to customize the nix-shell prompt permanently. This change allows the variable NIX_SHELL_PS1 to be set (not exported) in .bashrc and it will then be used to set PS1 in nix-shell.


This change is Reviewable

@edolstra
Copy link
Member

Could you mention this variable in doc/manual/command-ref/env-common.xml?

@nomeata
Copy link
Contributor

nomeata commented Mar 29, 2020

This would fix #869, right?

@domenkozar
Copy link
Member

Ping @neilmayhew

@stale
Copy link

stale bot commented Feb 12, 2021

I marked this as stale due to inactivity. → More info

@stale stale bot added the stale label Feb 12, 2021
@stale
Copy link

stale bot commented Apr 16, 2022

I closed this issue due to inactivity. → More info

@stale stale bot closed this Apr 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants