Skip to content
Snippets Groups Projects
Commit f0dc2f28 authored by Krzysztof Lebioda's avatar Krzysztof Lebioda Committed by Ugo Albanese
Browse files

Merged in NRRPLT-8118 (pull request #71)

[NRRPLT-8118] Improve shell type discovery in nrp_variables.

Shell type is be determined by checking the process name. If the
basename of the process name doesn't match any of the supported shell types,
heuristics will be applied to determine the type:
* BASH environment variable should be set in bash
* ZSH_NAME environment variable should be set in zsh
* Fall back to sh if none of the above is true

Approved-by: Antoine Detailleur
Approved-by: Viktor Vorobev
parent 4673edb5
No related branches found
No related tags found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment