This theme is based on the fino theme.
- User and hostname
- Current working directory
- Current git branch (SHA1 in detached head state)
- Dirtiness of working directory (✔/✘)
- Active virtualenv, ruby version (rvm and rbenv), and node version (nodenv)
The theme should work with Oh My Zsh and Prezto. If it doesn't, please contact me.
- Clone the repository:
git clone https://github.com/alepimentel/ale-zsh.git ~/.ale-zsh
- Create a symlink to the theme file:
If you're using Oh My Zsh:
- Run
ln -s ~/.ale-zsh/themes/ale.zsh-theme ~/.ohmyzsh/themes/ale.zsh-theme
. - Load the theme in
~/.zshrc
.
If you're using Prezto:
- Run
ln -s ~/.ale-zsh/ale.zsh-theme ~/.zprezto/modules/prompt/functions/prompt_ale_setup
. - Load the theme in
~/.zpreztorc
.
- Open a new terminal.
By default, the hostname is displayed only during an ssh connection (i.e. in a remote server). You can write the hostname (or any name you want) in ~/.box-name
and it will be shown.