chris-marsh / pureline

A Pure Bash Powerline PS1 Command Prompt
MIT License
507 stars 95 forks source link

Show $SHLVL in prompt if greater than 1 #80

Closed CyrilOtheninGirard closed 2 years ago

CyrilOtheninGirard commented 2 years ago

Add option variable PL_PROMPT_SHOW_SHLVL to function prompt_segment.

PL_PROMPT_SHOW_SHLVL : true | relative | false