mirror of
https://github.com/Cornelicorn/bullet-train.zsh.git
synced 2025-12-06 11:50:38 +01:00
322045bcdee54b33a03303ed161784e6beae35f8
I use oh-my-zsh with powerline theme for normal user and root and when background color is the same in both cases it could be misleading. I know, that red background is used for ssh connections, but we can talk about it.
oh-my-zsh-powerline-theme
oh-my-zsh Powerline style Theme
Preview
Set Up
-
Clone the repository.
-
Create un symlink of powerline.zsh-theme in .oh-my-zsh/themes/. You can use the install_in_omz.sh file:
./install_in_omz.sh -
Configure the theme in your .zshrc file:
ZSH_THEME="powerline"
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:
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"
If you want to tell if you are in a remote SSH session:
POWERLINE_DETECT_SSH="true"
Requirements
- Vim Powerline patched font: See Powerline for vim for more info.
- Z shell (zsh): See oh-my-zsh for more info.
- Make sure terminal is using 256-colors mode with
export TERM="xterm-256color".
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
Languages
Makefile
100%
