Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Edesem opened this issue Jan 4, 2022 · 0 comments
Open

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

Edesem opened this issue Jan 4, 2022 · 0 comments

Comments

@Edesem
Copy link

Edesem commented Jan 4, 2022

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant