feat: adds shell

- polish middle line display: always have starting and ending mark.
- adds a shell display (disabled by default)
This commit is contained in:
Johann Dreo 2022-10-15 20:30:58 +02:00
commit a1f701eb1d
4 changed files with 1481 additions and 917 deletions

View file

@ -195,8 +195,8 @@ Example of a compact prompt:
![](dotmatrix-unspaced.png)
#### Specific features
#### Specific features
**DOTMATRIX_ENABLE_HISTORY** *boolean = 1*
@ -218,6 +218,21 @@ Maximum length of the *last* command used (counting the `DOTMATRIX_HISTORY_LAST_
Mark to display when the last command string is shortened.
**DOTMATRIX_ENABLE_SHELL** *boolean = 0*
Display the current shell in the top-right section.
**DOTMATRIX_SHELL_ZSH** *string = "z"*
The mark indicating a *zsh* shell.
**DOTMATRIX_SHELL_BASH** *string = "b"*
The mark indicating a *bash* shell.
#### Generic Markers
The following options configure some marks that will be used across all variants of the theme.