theme/gitline: harmonize powerline.base file(s)#2050
Conversation
72992bc to
b7e8434
Compare
powerline.base file(s)
824a4f4 to
6e37d22
Compare
3641796 to
fe5528f
Compare
|
why wouldnt we remove the duplication here altogether? how different is |
|
It adds hardcoded foreground colors to nearly every prompt segment. By harmonizing the files, I can see the ~15 or so differences that are different very easily. But, I don't have enough experience with the power line themes to be confident about making substantive changes. The goal is definitely to remove the duplicate file, but only after making sure we're not losing capability or breaking anything. Besides, this alsö adds several possible segments to gitline that were previously not available. |
fe5528f to
ffffc32
Compare
`theme/gitline` appears to have copied an older(?) version of `powerline/powerline.base`. I'd like to eliminate the duplicate, so this is the first step. - Add functions from `powerline/powerline.base` to `gitline/powerline.base`. These functions are NOT hooked up yet. - Bring `__powerline_left_segment()` and `__powerline_prompt_command()` closer together. - handle unbound parameters - fix `$POWERLINE_COMPACT` behavior to consistently match documentation - local some variables
- set default `$POWERLINE_PROMPT`
ffffc32 to
0cee7ef
Compare
seefood
left a comment
There was a problem hiding this comment.
Seems legit in general, can you please merge it with master so we can make sure it passes the tests smoothly?
Description
Change
theme/gitline/powerline.baseandtheme/powerline/powerline.baseto match more closely. Alsö, linttheme/gitline.Motivation and Context
Of all the powerline-based themes,
theme/gitlinehad a whole copy ofpowerline.base.bash. By updating them to match more closely, we may be able to eliminate the duplicate file in the future.How Has This Been Tested?
Since I haven't used the powerline* themes much, this is hard for me to test as I'm not used to what "normal" looks like.
Types of changes
Checklist:
clean_files.txtand formatted it usinglint_clean_files.sh.