mirror of
https://github.com/Cornelicorn/bullet-train.zsh.git
synced 2025-12-26 21:24:49 +01:00
Renames the project to "Bullet Train"
This commit is contained in:
52
README.md
52
README.md
@@ -1,7 +1,7 @@
|
||||
# Powerline for oh-my-zsh
|
||||
# Bullet Train for oh-my-zsh
|
||||
|
||||
<img
|
||||
src="http://raw.github.com/caiogondim/oh-my-zsh-powerline-theme/master/img/icon.png"
|
||||
src="http://raw.github.com/caiogondim/bullet-train-oh-my-zsh-theme/master/img/icon.png"
|
||||
width="256"
|
||||
align="right"
|
||||
/>
|
||||
@@ -24,7 +24,7 @@ Currently a **work in progress**.
|
||||
|
||||
## Preview
|
||||
|
||||

|
||||

|
||||
|
||||
|
||||
## Set Up
|
||||
@@ -52,96 +52,96 @@ By default, at the right of the powerline are displayed the date and the time.
|
||||
If you don't want date or time, you can choose what you want to display:
|
||||
|
||||
```
|
||||
POWERLINE_RIGHT_B="date replacement"
|
||||
BULLETTRAIN_RIGHT_B="date replacement"
|
||||
```
|
||||
|
||||
Or if you don't want to display anything:
|
||||
|
||||
```
|
||||
POWERLINE_RIGHT_B="none"
|
||||
BULLETTRAIN_RIGHT_B="none"
|
||||
```
|
||||
|
||||
If you want to display date next to time:
|
||||
```
|
||||
POWERLINE_RIGHT_A="date"
|
||||
BULLETTRAIN_RIGHT_A="date"
|
||||
```
|
||||
|
||||
If you want to display exit-code of last command next to time:
|
||||
```
|
||||
POWERLINE_RIGHT_A="exit-status"
|
||||
BULLETTRAIN_RIGHT_A="exit-status"
|
||||
```
|
||||
|
||||
If you want to display date or non-zero-exit-code of last command next to time:
|
||||
```
|
||||
POWERLINE_RIGHT_A="mixed"
|
||||
BULLETTRAIN_RIGHT_A="mixed"
|
||||
```
|
||||
|
||||
If you want to display a custom text next to time:
|
||||
```
|
||||
POWERLINE_RIGHT_A="Your very best text"
|
||||
BULLETTRAIN_RIGHT_A="Your very best text"
|
||||
```
|
||||
|
||||
If you want to change the date format to what you want:
|
||||
```
|
||||
POWERLINE_DATE_FORMAT="%D{%d-%m}"
|
||||
BULLETTRAIN_DATE_FORMAT="%D{%d-%m}"
|
||||
```
|
||||
|
||||
If you don't want to display your username (the green or red (root) colors are still there):
|
||||
|
||||
```
|
||||
POWERLINE_HIDE_USER_NAME="true"
|
||||
BULLETTRAIN_HIDE_USER_NAME="true"
|
||||
```
|
||||
|
||||
If you don't want to display your hostname (the green or red (root) colors are still there):
|
||||
|
||||
```
|
||||
POWERLINE_HIDE_HOST_NAME="true"
|
||||
BULLETTRAIN_HIDE_HOST_NAME="true"
|
||||
```
|
||||
|
||||
If you want to hide git prompt status (new files, modified files, unmerged files, etc):
|
||||
```
|
||||
POWERLINE_HIDE_GIT_PROMPT_STATUS="true"
|
||||
BULLETTRAIN_HIDE_GIT_PROMPT_STATUS="true"
|
||||
```
|
||||
|
||||
If you want to hide the right hand side prompt completely:
|
||||
```
|
||||
POWERLINE_DISABLE_RPROMPT="true"
|
||||
BULLETTRAIN_DISABLE_RPROMPT="true"
|
||||
```
|
||||
|
||||
If you don't want the blank line before the prompt:
|
||||
|
||||
```
|
||||
POWERLINE_NO_BLANK_LINE="true"
|
||||
BULLETTRAIN_NO_BLANK_LINE="true"
|
||||
```
|
||||
|
||||
If you want full path:
|
||||
|
||||
```
|
||||
POWERLINE_FULL_CURRENT_PATH="true"
|
||||
BULLETTRAIN_FULL_CURRENT_PATH="true"
|
||||
```
|
||||
|
||||
If you want git info on right instead of left:
|
||||
|
||||
```
|
||||
POWERLINE_SHOW_GIT_ON_RIGHT="true"
|
||||
BULLETTRAIN_SHOW_GIT_ON_RIGHT="true"
|
||||
```
|
||||
|
||||
If you want to tell if you are in a remote SSH session:
|
||||
|
||||
```
|
||||
POWERLINE_DETECT_SSH="true"
|
||||
BULLETTRAIN_DETECT_SSH="true"
|
||||
```
|
||||
|
||||
Also you can change the icons of GIT info, default values are:
|
||||
```
|
||||
POWERLINE_GIT_CLEAN="✔"
|
||||
POWERLINE_GIT_DIRTY="✘"
|
||||
POWERLINE_GIT_ADDED="%F{green}✚%F{black}"
|
||||
POWERLINE_GIT_MODIFIED="%F{blue}✹%F{black}"
|
||||
POWERLINE_GIT_DELETED="%F{red}✖%F{black}"
|
||||
POWERLINE_GIT_UNTRACKED="%F{yellow}✭%F{black}"
|
||||
POWERLINE_GIT_RENAMED="➜"
|
||||
POWERLINE_GIT_UNMERGED="═"
|
||||
BULLETTRAIN_GIT_CLEAN="✔"
|
||||
BULLETTRAIN_GIT_DIRTY="✘"
|
||||
BULLETTRAIN_GIT_ADDED="%F{green}✚%F{black}"
|
||||
BULLETTRAIN_GIT_MODIFIED="%F{blue}✹%F{black}"
|
||||
BULLETTRAIN_GIT_DELETED="%F{red}✖%F{black}"
|
||||
BULLETTRAIN_GIT_UNTRACKED="%F{yellow}✭%F{black}"
|
||||
BULLETTRAIN_GIT_RENAMED="➜"
|
||||
BULLETTRAIN_GIT_UNMERGED="═"
|
||||
```
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user