How to enable VCS infromation in zsh
March 10th, 2010
No comments
If you are using zsh as your terminal in Ubuntu, you can use a built in feature to display version control information at the prompt.
After reading “Zsh Prompt Magic” I created the zsh_vcs_info file which you can download. You place it in your home directory and open .zshrc and add the following line:
source /home/user/.zsh_vcs_info
Notice that I added a . (dot) in the filename because I want it to be hidden. Also, notice that “user” in the path above, is the username of the account you use to log into Ubuntu.

Recent Comments