-
Notifications
You must be signed in to change notification settings - Fork 423
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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().
- Loading branch information
Showing
1 changed file
with
68 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters