zsh theme for full path + display git changes
I’m looking for theme to display a full path + git (branch name + uncommitted changes + added files).
Didn’t find any.
something like this:
/full/path/to/repo (master *+)
would love a recommendation of one / a tip of how to edit an existing one (I am currently using Godzilla).
One Solution collect form web for “zsh theme for full path + display git changes”
man zshmisc and search for the
SIMPLE PROMPT ESCAPES section.
This documents escapes which can be used to theme your prompt.
To get the full path path of your current working directory use
I’m assuming you’re using oh-my-zsh. In order to accomplish what you want, you can create a modified version of the Godzilla theme and replace the
%c (which just shows the current folder) with
%d in the