You've already forked bash-git-prompt
updates
This commit is contained in:
29
README.md
29
README.md
@@ -40,10 +40,10 @@ Skip the README, and whatever happens next is your headache, not a bug report.
|
||||
|
||||
### Prerequisites
|
||||
|
||||
Requires **DejaVuSansMono Nerd Font Mono** for proper symbol display like shown below.
|
||||
Requires **JetBrainsMono Nerd Font Mono** for proper symbol display like shown below.
|
||||
|
||||
<p align="left" width="100%">
|
||||
<img src="https://git.x-files.dk/assets/bgp-extended-symbols.png" alt="Extended Symbols"/>
|
||||
<img src="https://git.x-files.dk/assets/bgp-symbols.png" alt="Extended Symbols"/>
|
||||
</p>
|
||||
|
||||
---
|
||||
@@ -56,10 +56,16 @@ The default prompt layout is:
|
||||
<branch git status><working directory>
|
||||
```
|
||||
|
||||
Example output:
|
||||
Example output with the default theme:
|
||||
|
||||
<p align="center" width="100%">
|
||||
<img src="https://git.x-files.dk/assets/gittheme1.png" alt="Default Theme"/>
|
||||
<img src="https://git.x-files.dk/assets/bgp-gittheme1.png" alt="Default Theme"/>
|
||||
</p>
|
||||
|
||||
And here the default theme with all the bells and whistles:
|
||||
|
||||
<p align="center" width="100%">
|
||||
<img src="https://git.x-files.dk/assets/bgp-gittheme2.png" alt="Default Theme All Icons"/>
|
||||
</p>
|
||||
|
||||
---
|
||||
@@ -156,25 +162,30 @@ PS1='\[\e[0;32m\]\u@\h\[\e[0m\]:\[\e[38;5;178m\]\w\[\e[0m\] '"${PROMPT_CHAR} "
|
||||
|
||||
### Available Themes
|
||||
|
||||
Preview of all five themes (clean and dirty shown together for comparison):
|
||||
Preview of all five themes (clean and dirty as well as ahead and behind shown together for comparison):
|
||||
|
||||
Branch → Staged → Changed → Untracked → Stashed → Ahead → Behind → No-Remote → Conflict → Dirty → Clean
|
||||
|
||||
<p align="center" width="100%">
|
||||
<img src="https://git.x-files.dk/assets/gittheme2.png" alt="All Themes"/>
|
||||
<img src="https://git.x-files.dk/assets/bgp-gittheme3.png" alt="All Themes"/>
|
||||
</p>
|
||||
|
||||
> **Note**
|
||||
> Theme 1,2 and 3 requires **JetBrainsMono Nerd Font Mono** for proper symbol rendering.
|
||||
> Theme 4 is purely **Unicode** no special fonts are neded for proper symbol rendering.
|
||||
> Theme 5 is **terminal safe** so no special fonts needed for proper symbol rendering.
|
||||
|
||||
---
|
||||
|
||||
### Terminal Font Setup
|
||||
|
||||
Set your terminal to use:
|
||||
```
|
||||
DejaVuSansMono Nerd Font Mono
|
||||
JetBrainsMono Nerd Font Mono
|
||||
```
|
||||
|
||||
<p align="center" width="100%">
|
||||
<img src="https://git.x-files.dk/assets/gittheme3.png" alt="Terminal Font Settings"/>
|
||||
<img src="https://git.x-files.dk/assets/bgp-gittheme4.png" alt="Terminal Font Settings"/>
|
||||
</p>
|
||||
|
||||
---
|
||||
@@ -182,7 +193,7 @@ DejaVuSansMono Nerd Font Mono
|
||||
### Troubleshooting
|
||||
|
||||
**Symbols not showing correctly:**
|
||||
Make sure your terminal uses *DejaVuSansMono Nerd Font Mono*.
|
||||
Make sure your terminal uses *JetBrainsMono Nerd Font Mono*.
|
||||
Restart your terminal after installing fonts.
|
||||
Log out and back in after installing fonts.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user