mirror of
https://github.com/Cornelicorn/bullet-train.zsh.git
synced 2025-12-06 11:50:38 +01:00
Separate options in subsections in README
This commit is contained in:
16
README.md
16
README.md
@@ -88,6 +88,8 @@ antigen theme https://github.com/caiogondim/bullet-train-oh-my-zsh-theme bullet-
|
|||||||
Bullet Train is configurable. You can change colors and which segments you want
|
Bullet Train is configurable. You can change colors and which segments you want
|
||||||
or don't want to see. All options must be overridden in your **.zshrc** file.
|
or don't want to see. All options must be overridden in your **.zshrc** file.
|
||||||
|
|
||||||
|
### Prompt
|
||||||
|
|
||||||
The character used for prompt and if you want to be warned when running as root:
|
The character used for prompt and if you want to be warned when running as root:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
@@ -95,6 +97,8 @@ BULLETTRAIN_PROMPT_CHAR="\$"
|
|||||||
BULLETTRAIN_PROMPT_ROOT=true
|
BULLETTRAIN_PROMPT_ROOT=true
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### Status
|
||||||
|
|
||||||
The status segment background. Shows if the last command exited with error, and
|
The status segment background. Shows if the last command exited with error, and
|
||||||
if there is jobs on background running:
|
if there is jobs on background running:
|
||||||
|
|
||||||
@@ -106,6 +110,8 @@ BULLETTRAIN_STATUS_ERROR_BG=red
|
|||||||
BULLETTRAIN_STATUS_FG=black
|
BULLETTRAIN_STATUS_FG=black
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### Time
|
||||||
|
|
||||||
The time segment background, foreground color and visibility:
|
The time segment background, foreground color and visibility:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
@@ -131,6 +137,8 @@ BULLETTRAIN_CONTEXT_FG=default
|
|||||||
# BULLETTRAIN_IS_SSH_CLIENT
|
# BULLETTRAIN_IS_SSH_CLIENT
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### Python virtualenv
|
||||||
|
|
||||||
Python virtualenv background, foreground color, visibility and the symbol used
|
Python virtualenv background, foreground color, visibility and the symbol used
|
||||||
for the segment:
|
for the segment:
|
||||||
|
|
||||||
@@ -141,6 +149,8 @@ BULLETTRAIN_VIRTUALENV_FG=white
|
|||||||
BULLETTRAIN_VIRTUALENV_PREFIX=🐍
|
BULLETTRAIN_VIRTUALENV_PREFIX=🐍
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### node.js nvm
|
||||||
|
|
||||||
Node.js background, foreground color, visibility and prefix for the segment:
|
Node.js background, foreground color, visibility and prefix for the segment:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
@@ -150,6 +160,8 @@ BULLETTRAIN_NVM_FG=white
|
|||||||
BULLETTRAIN_NVM_PREFIX="⬡ "
|
BULLETTRAIN_NVM_PREFIX="⬡ "
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### Ruby RVM
|
||||||
|
|
||||||
RMV backgound and foreground color, visibility and symbol used for the segment:
|
RMV backgound and foreground color, visibility and symbol used for the segment:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
@@ -159,6 +171,8 @@ BULLETTRAIN_RVM_FG=white
|
|||||||
BULLETTRAIN_RVM_PREFIX=♦️
|
BULLETTRAIN_RVM_PREFIX=♦️
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### Dir
|
||||||
|
|
||||||
Current directory background, foreground color and visibility:
|
Current directory background, foreground color and visibility:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
@@ -168,6 +182,8 @@ BULLETTRAIN_DIR_FG=white
|
|||||||
BULLETTRAIN_DIR_EXTENDED=true
|
BULLETTRAIN_DIR_EXTENDED=true
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### Git
|
||||||
|
|
||||||
Git background, foreground color, visibility and details:
|
Git background, foreground color, visibility and details:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
|||||||
Reference in New Issue
Block a user