-
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.
Rework Powerline theme to user modular sections
Add __powerline_section() which formats a string, and adds a section header in front of the section if there is a section that came before. Add __powerline_sub_section_arrow() which works exactly like __powerline_section_arrow(), except it uses the soft divider instead, and copies the background from before. Add __powerline_end_terminator() which adds a hard divider at the end of a prompt, resetting back to no colors. Fix bug where setting LP_HOSTNAME_ALWAYS=-1, then running lp_activate() wouldn't remove the host icon.
- Loading branch information
Showing
1 changed file
with
82 additions
and
68 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