Commit Graph

35 Commits

Author SHA1 Message Date
16399c22ce FreeBSD Unicode printing. 2025-06-04 14:15:11 -04:00
88bb192ca3 Directory stack size shouldn't use a PID.
Use in-shell array size counting.
2025-03-07 23:13:16 -05:00
fe472e09cb Battery colour shouldn't be literals! 2025-03-07 23:12:59 -05:00
67f4542811 A bit of style cleanup. 2025-03-07 23:12:50 -05:00
934e09ab00 Dirstack support in prompt. 2024-06-17 12:55:59 -04:00
0f04378898 Get pluses and minuses lined up. 2022-11-08 18:25:08 -08:00
3cb2ac5a0e Silence error on git branches without upstreams. 2022-11-08 18:25:08 -08:00
007f7a7e26 Colors support for git ahead/behind. 2022-11-08 18:25:08 -08:00
39999fa946 Correct the ahead/behind in prompt for git. 2022-11-08 18:25:08 -08:00
425535e4d2 Make prompt list ahead/behind for git. 2022-11-08 18:25:08 -08:00
26fce0ca4b Fix prompt layout slightly. 2022-06-16 17:20:41 -04:00
b3157c76a8 Adding session support. 2022-06-05 23:28:06 -04:00
e1e030f612 Percent, branch, and @ all had to be done at once.
Because they were kinda intertwined in the colours I chose.
2022-06-05 23:15:18 -04:00
00338131e5 Colour for nesting depth prompt is now modernized 2022-06-05 15:37:08 -04:00
2a3af31e7a Modernize the tty/line prompt. 2022-06-05 15:03:03 -04:00
78a3b59499 Add debugging print. 2022-06-05 14:58:59 -04:00
a9485b4b3b Fixed up the prompt sigil itself. 2022-06-05 12:35:21 -04:00
b96eb5ca34 User name colour prompt updated. 2022-06-05 03:12:22 -04:00
b9764bd8a6 Now updated brace_color... 2022-06-05 02:19:40 -04:00
286e9117f1 Host colour rewritten. 2022-06-05 01:38:23 -04:00
8b398af672 Did rework for text_color variable. 2022-06-04 15:13:28 -04:00
430a7e8b0e I've started the process of redesigning the colours. 2022-06-04 13:15:10 -04:00
328c1c13e3 Fine grained control over prompt elements.
Use `CSHENV_DISABLE_PROMPT_` env vars to control these.
2022-06-04 08:56:35 -04:00
910f194c4e Use a more portable branch symbol.
(I need a way to auto-detect the powerline one and use it when that
is present.)
2022-06-04 08:56:32 -04:00
861132a187 Use the branch symbol in the Supplementary Special purpose Plane
It seems to be in the fonts I like to use... so...
2022-05-18 00:09:50 -04:00
79ab6245ee Update prompt to show git branch name.
I should take some time, go back, and restructure some
of how the prompt gets built/calculated.  But this is fine
for now.
2022-05-16 15:28:48 -04:00
6e4d743af6 Prevent repeated colours or symbols. 2022-04-29 15:26:06 -04:00
8672bf09e9 Battery level support for macosx. 2022-04-15 15:59:26 -04:00
f725a1d9e0 Adjust for dumbness in how macos sed replaces things.
`tr` is more straightforward.
2022-04-15 15:58:34 -04:00
5c7b5f3ff8 DUH.... sed replaces with global... 2022-04-15 15:53:50 -04:00
51e339ce74 Fix prompt shuffling when shuf is not found. 2022-04-15 15:31:44 -04:00
d53a244b5f Make battery level label italic and more visible. 2022-04-15 15:13:00 -04:00
69e71ce4d1 Make battery device configurable 2022-04-14 16:40:54 -04:00
1ea3331a3a Add battery level into prompt.
Has to be turned on by an env variable, and I only tested it on one
laptop so far.
2022-04-14 13:54:03 -04:00
41fb29eef0 Add prompt reference symbols.
This one is a bit shaky still, but I now have symbolic,
colour-coded tags in the prompt.  This can be used to point out
interesting lines in pair programming.
2021-03-02 06:47:52 -05:00