33 lines
750 B
Markdown
33 lines
750 B
Markdown
# BarbUk theme
|
||
|
||
A minimal theme with a clean git prompt
|
||
|
||
## Provided Information
|
||
|
||
* Current git remote tool logo (support: github, gitlab, bitbucket)
|
||
* Current path (red when user is root)
|
||
* Current git info
|
||
* Last command exit code (only shown when the exit code is greater than 0)
|
||
|
||
## Font
|
||
|
||
A font with SCM glyphs is required to display the default tool/host logos.
|
||
You can use a font from https://www.nerdfonts.com/ or patch your own font with the tool
|
||
provided by https://github.com/ryanoasis/nerd-fonts.
|
||
|
||
You can also override the default variables if you want to use different glyphs or standard ASCII characters.
|
||
|
||
## Examples
|
||
|
||
### Clean
|
||
|
||
```bash
|
||
~ ❯
|
||
```
|
||
|
||
### Git
|
||
|
||
```bash
|
||
~/.dotfiles on master ⤏ origin ↑2 •7 ✗ ❯
|
||
```
|