[deleted]•

[deleted]

1
sodiumjoe•

If you're using git_info or a framework like oh-my-zsh or prezto with a prompt theme that uses it, you can escape the git_info part with ${(q)git_info[prompt]}: http://zsh.sourceforge.net/Doc/Release/Expansion.html

From my testing vcs_info seems to do the escaping for you.

1
JokaTweak•

Mmm seems osx specific

-8
abitforabit•

Nothing indicates that it's macOS specific, not sure what you are talking about.

4
sodiumjoe•

the script itself specifically has a conditional for macos vs other unix OSes. So, no, you're completely wrong.

3
JokaTweak•

thanks for understanding

1