Today I Learned

Update zsh display git default

May 29, 2023

You can modify the second line of this file:

~/.oh-my-zsh/themes/robbyrussell.zsh-theme

```
PROMPT="%(?:%{$fg_bold[green]%}➜ :%{$fg_bold[red]%}➜ )"
PROMPT+=' %{$fg[cyan]%}%~%{$reset_color%} $(git_prompt_info)
>> '
```

Which will look like this:

git display


© 2025 - Written by Vuong Vu. Connect with me on LinkedIn.