Awesome
Ale ZSH Theme
This theme is based on the fino theme.
What does it show?
- 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)
Compatibility
The theme should work with Oh My Zsh and Prezto. If it doesn't, please contact me.
Installation
- 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.
Notes
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.