8a1d92dae1
Separate color for the host name
2022-10-19 21:53:12 +02:00
522b19992a
Make the use of sgr0 optional
...
* Don't use the results of `tput sgr0` as the reset character by
default.
* Instead use \33[0m unless instructed otherwise.
2022-10-19 21:53:02 +02:00
09a20826f9
Merge branch 'dev'
2020-10-23 21:16:50 +02:00
79be78aa20
Themes - Improved middle section separators
2020-10-23 21:16:22 +02:00
36e5e751fe
Documentation - cwd_missing_fg_color/cwd_missing_bg_color
2020-10-23 21:08:39 +02:00
ab28d80e5b
Handle being in a deleted directory
...
* Do not whine when executed from a missing directory
* Display a section with '(no cwd)'
* Display path with a different color
2020-10-23 21:06:35 +02:00
75084eacac
Merge branch 'dev'
2020-10-23 13:20:51 +02:00
4b84f067e7
Reset style before generating transitions
2020-10-23 13:20:07 +02:00
d97292719f
More bold (load average display)
2020-10-23 13:16:40 +02:00
168665b7e4
Use bold styles in a few sections
2020-10-23 13:12:05 +02:00
f4b65b9460
Merge branch 'dev' into master
2020-10-23 12:56:09 +02:00
3200aec75c
Merge branch 'ft/clear-bg' into dev
2020-10-23 12:55:27 +02:00
77eb4a347c
Themes - Fix Ascii/Blocks themes and use *_DEFAULT
...
* Ascii and Blocks themes need to use the terminal's defaults,
otherwise they will leave a black smear on a non-black terminal
background.
* Replace -1 colors with SECTION_DEFAULT
2020-10-23 12:53:01 +02:00
2529e1b14a
README - Mention thref and TERM/SECTION_DEFAULT
2020-10-23 12:52:19 +02:00
79cc3bd560
Support for styles and using default terminal colors
2020-10-23 12:50:03 +02:00
fcb8e33ed1
More Markdown fixes
2020-10-21 16:52:23 +02:00
89309169f3
Fixing README.md
...
My markdown skills are non-existant, at best.
2020-10-21 16:42:23 +02:00
cff7fa2fa4
Added screenshots
2020-10-21 16:30:58 +02:00
b59dd0ad51
Install doc - mention /etc/bash.bashrc
2020-10-21 15:24:34 +02:00
f9ce89d5f6
Fixed installation instructions
2020-10-21 15:23:26 +02:00
5b1894c000
Documentation - Fixed info about layout_middle
2020-10-21 15:14:19 +02:00
89f176d66f
Generators documentation
2020-10-21 15:10:30 +02:00
746010bfea
Changed default for minimal load
2020-10-21 14:52:07 +02:00
0ef72d0478
Some changes to prevcmd's defaults
2020-10-21 14:40:11 +02:00
abac27c0dd
Documentation - Introduction, installation, main configuration
2020-10-21 13:50:45 +02:00
fe7ab5772a
Git status - Handle "renamed" files
2020-10-21 12:59:02 +02:00
8486a660e7
Renamed to gprompt
...
I still have no clue what to call this useless thing so meh.
2020-10-21 12:58:36 +02:00
d6fc8dcacb
Escape terminal title sequence
2020-10-21 12:45:57 +02:00
9907544111
Added license
2020-10-21 12:44:45 +02:00
a021c87a65
External configuration and themes
...
The script no longer contains theme definitions, and the default
configuration has been made much simpler. Existing themes have been
moved to a bunch of files (one file per theme) in a subdirectory.
2020-10-21 12:39:23 +02:00
8652ef6f68
Load configuration from files
...
Default configuration will be created, then merged (if the files exist) with
/etc/spp-defaults.rc and then ~/.spp.rc
2020-10-21 10:00:13 +02:00
e501848b14
Reorganized / added vim folding markers
2020-10-21 09:45:17 +02:00
d408760e3a
Fixed git "dangerous" branch display on blocks/ascii themes
2020-10-20 22:38:48 +02:00
85f56a7d23
Fixed userhost login display
2020-10-20 20:41:20 +02:00
1f29c5a4a6
Fixed SSH detection
2020-10-20 20:35:33 +02:00
43d9d3750e
Terminal / terminal title update
2020-10-20 17:35:59 +02:00
67ed4177b1
Section content cache
2020-10-20 17:12:16 +02:00
10adad9426
Configuration overrides from environment variables
2020-10-20 16:32:56 +02:00
54fc8d49a7
New themes
2020-10-20 16:12:26 +02:00
b8b109ce57
Escape sequences for powerline symbols
2020-10-20 14:47:58 +02:00
a5a75f0507
Display Python virtual environment
2020-10-20 14:40:20 +02:00
79774f544d
Control padding for the git status sections
2020-10-20 13:56:28 +02:00
dcdb5344d9
Theming improvements
...
References from a theme property to another, references between themes,
default foreground color, fixes to current theme.
2020-10-20 13:51:43 +02:00
20a930e07e
Git repository information
2020-10-20 12:12:23 +02:00
a6672ed393
Theming system
2020-10-19 23:42:19 +02:00
59903d01aa
Fixed middle part background when no left side is present
2020-10-19 21:44:48 +02:00
6cd023a0fe
Layout in the main configuration
2020-10-19 21:41:05 +02:00
ab468beb64
Work better if $? is missing
2020-10-19 21:28:49 +02:00
e61cd1495f
Generate both PS1 and PS2
2020-10-19 21:18:01 +02:00
4c850d2b48
Initial import
2020-10-19 21:05:11 +02:00