Breakout sudo functionality into theme parts
Breakout sudo functionality into theme parts

Add _lp_sudo_active(), just the sudo check as a function.
Add _lp_sudo_active_color(), return the correct color string if sudo is
active.
Breakout user detection to _lp_user().

pkkolos/liquidprompt,milouse/liquidprompt,laurentbardin/liquidprompt,nojhan/liquidprompt,jaesivsm/liquidprompt