Skip to content

Added extra_env in terminado_settings #1543

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Rishab87
Copy link

This PR uses per-key traitlets to accept shell_command as an union of string/list and extra_env as a dict with string keys, in terminado_settings. This will help in passing extra_env down to terminado to set PS1 variable in terminals.

Fixes #1537

@Rishab87
Copy link
Author

also just curious, in terminal manager in jupyter_server_terminals, extra_env has two hard coded values instead of picking it up from server app so is that the expected behaviour or we need to change that too?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allow to pass extra_env down to terminado to set PS1 variable in terminals
2 participants