Add option variable PL_PROMPT_SHOW_SHLVL to function prompt_segment.
PL_PROMPT_SHOW_SHLVL : true | relative | false
true: Show the value of $SHLVL
relative: Show the shell level relatively to the first shell sourcing pureline. Useful when that first shell is already a sub-shell, like in vscode integrated terminals.
Add option variable PL_PROMPT_SHOW_SHLVL to function prompt_segment.
PL_PROMPT_SHOW_SHLVL : true | relative | false