Commit graph

63 commits

Author SHA1 Message Date
ed6a44f26e fix(line): host hash color only the end of the line
Does not hinder readability of the dev env section.
2023-02-19 15:01:16 +01:00
c5eef33dad feat(host): color the middle line with the host hash
If LP_ENABLE_SSH_COLORS, the the middle line will be colored with the host hash.
2023-02-19 09:20:28 +01:00
45fda6cd5a fix readme 2023-02-19 09:20:17 +01:00
34d451b8cd use username IP for path links 2022-12-07 08:20:11 +01:00
1bd77c498b fix VCS function 2022-11-24 11:48:21 +01:00
7c27bac9f5 fix blt plug 2022-11-15 13:23:16 +01:00
ada275272c fix(vcs): correctly format when diff has 0 lines 2022-11-05 08:55:13 +01:00
688a83d1aa remove Zsh warning 2022-11-02 15:51:28 +01:00
255b2d261f fix missing array 2022-11-02 15:50:06 +01:00
df8f030257 fix bad quoting 2022-11-02 15:47:04 +01:00
4f9312af01 fix: working under Zsh 2022-11-02 15:31:45 +01:00
8083f63500 clean from shellcheck 2022-11-02 14:39:18 +01:00
7cd8fafe0d note readme about Zsh 2022-11-02 14:14:36 +01:00
f6e7bed71a fix(error): add configurable space between mark and error 2022-11-01 07:54:49 +01:00
ecc3a396f4 fix(history): escape displayed commands 2022-11-01 07:54:29 +01:00
24d660cfdd disable history by default (slow) 2022-11-01 07:54:01 +01:00
c5fe937f62 feat(error meaning): use error meaning 2022-11-01 07:38:49 +01:00
0d53d15143 fix(hist): zsh string trim 2022-10-19 17:39:26 +02:00
ea0689b6f1 fix(load): use the adjusted metric 2022-10-19 09:00:02 +02:00
fe21fc486a feat(jobs/sensors): add warning thresholds 2022-10-18 23:42:47 +02:00
1a03962d42 feat(err): adds DOTMATRIX_MARK_ERROR 2022-10-18 22:38:59 +02:00
752173a433 fix(vcs): remove init of vcs diffstat config 2022-10-18 22:20:10 +02:00
95ad1f4534 fix(vcs): remove the useless "+" sign in ahead/behind commits section 2022-10-18 22:15:03 +02:00
0f5437bc1f feat(vcs): adds thresholds above which to use the warning color for VCS sections 2022-10-18 22:12:41 +02:00
ea11df19a2 fix(history): invert history's most and last position
Allows for a more visually stable line.
2022-10-18 21:30:05 +02:00
d0468afbdc fix(cmake): update c/cxx compiler fields
was using the old LP's single compiler
2022-10-18 20:24:01 +02:00
a1f701eb1d feat: adds shell
- polish middle line display: always have starting and ending mark.
- adds a shell display (disabled by default)
2022-10-15 20:30:58 +02:00
63abb62b29 fix dirstack colors
Correct alternating of dark/lite colors on plugs.
2022-10-15 18:39:16 +02:00
ef9eaeecd6 add the theme normalized long screenshot 2022-10-15 14:44:45 +02:00
249a89e304 feat: adds history section
- right-aligned on the middle line.
- shows the most used single-word command
- and the last command.
2022-10-15 13:16:59 +02:00
acc5b82c69 feat(header): use lp_join for multi-fields 2022-10-14 17:24:14 +02:00
cdbb41a631 feat: color the end of first side of first line when there are notes on the left side
Useful for reminding the user that there are some right-aligned information.
2022-10-13 22:30:02 +02:00
e4c7555404 fixes from shellcheck
- Fix fs and dfsg being unbound.
- Fix dangling color after second line.
- Simplify round variant seps.
- Make spaced dotmatrix variant the default.
2022-10-13 21:52:21 +02:00
503659303e simplify setup 2022-10-06 22:07:13 +02:00
c8e94509de add readme and screenshots 2022-10-06 22:02:02 +02:00
ed526bac31 get rid of anything out of dotmatrix 2022-10-06 21:13:24 +02:00
37bd32cf10 fix(dotmatrix): correct sudo handling 2022-10-06 20:50:10 +02:00
77f98f4b0a feat(dotmatrix): color prompt mark if root
Was only warning for sudo rights.
2022-10-06 20:50:10 +02:00
8fbe41d0f2 adds CMake item
Follows PR #733
2022-10-06 20:50:10 +02:00
8f53a48333 fix(dotmatrix): remote VCS segment space/color
- Fix VCS remote segment color.
- Fix ahead-commits spacing.
- Fix VCS segment default color.
- Fix sep_mid spacing.
- Fix the design doc accordingly.
2022-10-06 20:50:10 +02:00
2d830f3eba fix(dotmatrix): correct VCS spacing & colors
- Fix ahead commits separator color.
- Adds a space link before the last exit error (more readable).
2022-10-06 20:50:10 +02:00
796474b5f6 fix(dotmatrix): use NOTE for jobs
Easier to spot on the right side of the prompt.
2022-10-06 20:50:10 +02:00
f040cb3ce4 feat(dotmatrix): handle SSH colors 2022-10-06 20:50:10 +02:00
c76fb67d60 fix(dotmatrix): portable array indexing 2022-10-06 20:50:10 +02:00
8d9d1c676c fix(dotmatrix): review fixes
- Typos.
- Useless code.
2022-10-06 20:50:10 +02:00
083d89c6f0 fix(dotmatrix/middle): do not repeat stuff + gradient of colors
- Avoid repeating keywords in the middle line.
- Adds DOTMATRIX_ENABLE_GRADIENT_LINE to allow for a fading middle line.
2022-10-06 20:50:10 +02:00
94a427a407 fix(dotmatrix): shell checks 2022-10-06 20:50:10 +02:00
379302b72e refactor(dotmatrix): avoid subshell 2022-10-06 20:50:10 +02:00
d55844d2ed fix(dotmatrix): just pass the format to lp_terminal_format 2022-10-06 20:50:10 +02:00
0e16dacb72 refactor(dotmatrix): be more consistent in variables quoting/bracketing 2022-10-06 20:50:10 +02:00