Skip to content

Added extra_env in terminado_settings#1543

Open
Rishab87 wants to merge 1 commit intojupyter-server:mainfrom
Rishab87:pass-extra-env
Open

Added extra_env in terminado_settings#1543
Rishab87 wants to merge 1 commit intojupyter-server:mainfrom
Rishab87:pass-extra-env

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