Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Is it worthwhile to use oh-my-zsh?



Danh Doan wrote on Sat, Sep 07, 2019 at 00:43:50 +0000:
> I don't like oh-my-zsh.
> IMHO, it's too slow.
> If you simply want to show current directory, zsh come with some pre-installed prompt
> Use:
> prompt -h
> to show the available options and prompts.

For git information, see vcs_info in zshcontrib(1), and Misc/vcs_info-examples
in the source distribution.  Minimal example:

cd …/.git(:h)
autoload vcs_info
vcs_info && print -rP - ${vcs_info_msg_0_}

(sic)

To change the information printed, start with the 'formats' style.



Messages sorted by: Reverse Date, Date, Thread, Author