Adding Git Status Information to the ZSH Prompt - Tarneo's blog
tarneo.fr
I just thought this tutorial could genuinely be useful to some fellow ricers.
It explains not only the git status part of making a pure zsh prompt that looks like this:
I just thought this tutorial could genuinely be useful to some fellow ricers.
It explains not only the git status part of making a pure zsh prompt that looks like this:
Powerlevel10k also does git status very well. And supports custom defined sections too. I use one to print out the epoch time, and another to print time left in an auth session.
Yes. But p10k has many downsides:
p10k doesn't require omz. You can install it by itself, the instructions are right there on the Github repo.
On a new computer, I: git clone my dotfiles repo. Run the install script which symlinks all the relevant files, clones any needed repos like asdf, fzf, p10k, sources the .zshenv and .zshrc, runs asdf installs for my required tools, installs homebrew if on macOS, runs brew bundle to install everything else.
Homebrew takes the longest. The rest is done in a few seconds.
I quite like the grml-zsh-config git prompt. Its fast and simple.
You must be a mind reader or something because I have been looking for something like this for days :D I have used Starship and p10k but I don't like them because I don't really need 95% of their features + both of them slowdown my prompt.
Wow, great it could be so helpful!