I have these settings in .oh-my-zsh/themes/robbyrussel file
PROMPT="%(?:%{$fg_bold[green]%}➜ :%{$fg_bold[red]%}➜ )"
PROMPT+=' %{$fg[cyan]%}%c%{$reset_color%} $(git_prompt_info)'
I have these settings in .oh-my-zsh/themes/robbyrussel file
PROMPT="%(?:%{$fg_bold[green]%}➜ :%{$fg_bold[red]%}➜ )"
PROMPT+=' %{$fg[cyan]%}%c%{$reset_color%} $(git_prompt_info)'
Copyright © 2021 Jogjafile Inc.
%c
is the trailing component of the current working directory. So, put it after that.Note, however, that your prompt uses all kinds of stuff that has been deprecated a long time ago. There are much better ways to use colors nowadays in Zsh prompts. You’d do well to read up on prompt expansions.