Open johnrichardrinehart opened 2 years ago
I have a .zshrc with the below, so I'm pretty sure I'm using this repository to generate the below prompt.
.zshrc
pwr="$(powerline-rs --modules time,ssh,cwd,perms,git,gitstage,nix-shell,root,virtualenv --theme ~/.config/powerline-rs/themes/gruvbox.theme --shell zsh $?)" PS1=$(printf "%s\n$ " "$pwr")
As soon as I initialize a submodule (git submodule update --init --recursive) the prompt turns orange which typically indicates a dirty working tree.
git submodule update --init --recursive
Is this expected behavior?
The green boxes are around the spots where I cded into the submodule to show that it wasn't dirty.
cd
Background
I have a
.zshrc
with the below, so I'm pretty sure I'm using this repository to generate the below prompt.As soon as I initialize a submodule (
git submodule update --init --recursive
) the prompt turns orange which typically indicates a dirty working tree.Is this expected behavior?
The green boxes are around the spots where I
cd
ed into the submodule to show that it wasn't dirty.