mirror of
https://github.com/Cornelicorn/bullet-train.zsh.git
synced 2025-12-06 11:50:38 +01:00
Updated README for new options
This commit is contained in:
47
README.md
47
README.md
@@ -13,9 +13,13 @@ Set Up
|
||||
|
||||
1. Clone the repository.
|
||||
|
||||
2. Create un symlink of **powerline.zsh-theme** in **.oh-my-zsh/themes/**.
|
||||
2. Create un symlink of **powerline.zsh-theme** in **.oh-my-zsh/themes/**. You can use the **make_a_link.sh** file :
|
||||
|
||||
2. Configure the theme in your **.zshrc** file :
|
||||
```
|
||||
make_a_link.sh
|
||||
```
|
||||
|
||||
3. Configure the theme in your **.zshrc** file :
|
||||
|
||||
```
|
||||
ZSH_THEME="powerline"
|
||||
@@ -24,16 +28,53 @@ Set Up
|
||||
More options
|
||||
------------
|
||||
|
||||
All options must be overridden in your **.zshrc** file.
|
||||
|
||||
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 in your **.zshrc** file :
|
||||
If you don't want date or time, you can choose what you want to display :
|
||||
|
||||
```
|
||||
POWERLINE_RIGHT_A="date replacement"
|
||||
POWERLINE_RIGHT_B="time replacement"
|
||||
```
|
||||
|
||||
If you don't want the blank line before the prompt :
|
||||
|
||||
```
|
||||
POWERLINE_NO_BLANK_LINE="true"
|
||||
```
|
||||
|
||||
If you want full path :
|
||||
|
||||
```
|
||||
POWERLINE_FULL_CURRENT_PATH="true"
|
||||
```
|
||||
|
||||
If you want git info on right instead of left :
|
||||
|
||||
```
|
||||
POWERLINE_SHOW_GIT_ON_RIGHT="true"
|
||||
```
|
||||
|
||||
Requirements
|
||||
------------
|
||||
|
||||
* Vim Powerline patched font : See [Powerline for vim](https://github.com/Lokaltog/vim-powerline.git) for more info.
|
||||
* Z shell (zsh) : See [oh-my-zsh](https://github.com/robbyrussell/oh-my-zsh) for more info.
|
||||
|
||||
Contribute
|
||||
----------
|
||||
|
||||
### How to contribute
|
||||
|
||||
* Create an issue if you find a bug or if you want a new feature.
|
||||
* Fork the project and pull request your very best feature.
|
||||
|
||||
### Thanks
|
||||
|
||||
* [shouze](https://github.com/shouze)
|
||||
* [stephpy](https://github.com/stephpy)
|
||||
* [Ph3nol](https://github.com/Ph3nol)
|
||||
* [gbin](https://github.com/gbin)
|
||||
* [krischer](https://github.com/krischer)
|
||||
* [Arthraim](https://github.com/Arthraim)
|
||||
|
||||
@@ -8,7 +8,9 @@ if [ "$POWERLINE_RIGHT_A" = "" ]; then
|
||||
POWERLINE_RIGHT_A=%D{%Y-%m-%d}
|
||||
fi
|
||||
|
||||
if [ "$POWERLINE_CURRENT_PATH" = "" ]; then
|
||||
POWERLINE_CURRENT_PATH="%d"
|
||||
|
||||
if [ "$POWERLINE_FULL_CURRENT_PATH" = "" ]; then
|
||||
POWERLINE_CURRENT_PATH="%1~"
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user