zsh-git-prompt icon indicating copy to clipboard operation
zsh-git-prompt copied to clipboard

Confused about the robby russels theme's usage of this plugin

Open Edesem opened this issue 3 years ago • 0 comments

So I unistalled oh my zsh last night, opting to customize everything myself and have a more compact zshrc however I'm extremely confused.

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

ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg_bold[blue]%}git:(%{$fg[red]%}"
ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%} "
ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[blue]%}) %{$fg[yellow]%}✗"
ZSH_THEME_GIT_PROMPT_CLEAN="%{$fg[blue]%})"

This is the bobby russel theme, however I want to have my terminal display [user@hostname ~]$ instead, however the thing I like is how it does git information. All it would show is git:(branchname) and if there was uncommited changes it would show a cross, but I can't get that to happen, as well it would only display git information in an actual git repo and whereas currently it is constantly showing git:(: | ) outside of git repos. The thing that is sus though is that it uses git_prompt_info instead of git_super_status? Is this a different plugin or what?

Edesem avatar Jan 04 '22 23:01 Edesem