A while back I posted about Amuse my prompt theme for ZSH targeting
oh-my-zsh. Since this was a much appreciated theme, I would like to share another theme, Pristine, that I have created.
However, I recently switched to using Prezto. This is because it felt like a more minimalistic configuration framework for ZSH. I also wanted to get faster load times. I must say my experience has been quite good and I really like it. Obviously there are pros and cons but I digress.
Needless to say Pristine targets Prezto. It is influenced by and has a lot of similarities with Amuse. However, there are subtle changes that I feel make it more cleaner and simpler. These are the highlights of Pristine :
- It tells you which branch you are on if the current working directory is a git repository.
- It indicates the git status of the repository to highlight whether there are any changes by using a green tick (✔) for no changes or a red cross (✗) for uncommitted changes.
- It keeps the prompt where you type on a new line with a preceding $ sign, to make more space for typing commands.
- It displays both ruby & node versions in use currently on the right. I find this very useful since I often work with both.
- It also modifies the spell correction prompt offered by ZSH to highlight the spelling error more prominently.