Commit Graph

7 Commits (1fa3968f7372e336727d3698beae86df6317543b)

Author SHA1 Message Date
John D Pell bf69ee807a theme/gitline: harmonize `powerline.base.bash` files
`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
2022-02-07 15:22:17 -08:00
John D Pell 21942f6275 lib/theme: disable THEME_CHECK_SUDO
Move `$THEME_CHECK_SUDO` to `lib/them`, and set it to `false` instead of `true`.
2022-01-24 11:46:16 -08:00
Kan Li c13850faa2 Address some comments. 2020-11-28 19:07:10 -08:00
Kan Li 8ce9d8daa5 Add in_toolbox prompt to powerline themes
[Toolbox](https://github.com/containers/toolbox) is an containerized
development environment. This commit adds a promot to powerline when it
is running inside a toolbox.
2020-11-28 12:18:13 -08:00
Ira Abramov 3a1283dad5 Fix EOF 2020-10-29 19:57:14 +02:00
Zanark f99ccbd1f2 Removed redundant code and added some descriptive comments 2019-10-18 11:13:19 +05:30
Zanark ea02e3d6bd added theme bash files 2019-10-10 16:54:43 +05:30