mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-26 02:12:33 +01:00
remove regex from git-prompt plugin because old zsh don't support regex
This commit is contained in:
parent
cb300fb006
commit
1b3fa76a19
2 changed files with 10 additions and 10 deletions
|
|
@ -115,7 +115,7 @@ update__GIT_PROMPT_INFO ()
|
|||
|
||||
local _prompt="$b$r$s$i$p"
|
||||
# add ( ) around _prompt:
|
||||
if [ $f = 'yes' ]; then
|
||||
if [ "$f" = 'yes' ]; then
|
||||
_prompt="($_prompt)"
|
||||
elif [ "$u" = "yes" ]; then
|
||||
_prompt="$_Cu_dirty_($_prompt$_Cu_dirty_)"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue