Powerline-based theme elements for ZSH and tmux
- python 3
- a font with powerline characters
-
Clone the repository:
git clone https://github.com/rahulsalvi/velocity.git "${VELOCITY_DIR:-$HOME}/.velocity"
-
Add the following line to your .zshrc:
[ -f "${VELOCITY_DIR:-$HOME}/.velocity/velocity.zsh" ] && source "${VELOCITY_DIR:-$HOME}/.velocity/velocity.zsh"
-
Add the following lines to your .tmux.conf:
set -g status-right-length 1000 set -g status-left-length 1000 set -g status-right '#(python3 $HOME/.velocity/velocity.py TMUXSTATUSRIGHT)' set -g status-left '#(python3 $HOME/.velocity/velocity.py TMUXSTATUSLEFT)'
Note: replace $HOME with $VELOCITY_DIR as necessary
The following environment variables can be used to configure the theme:
VELOCITY_DIR
- Set this to the location to where you cloned the project
Yes, the name 'Velocity' is a pun on terminal velocity. Get over it.
- Rahul Salvi - rahulsalvi
This project is licensed under the MIT License - see the LICENSE file for details