mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-22 14:55:51 +08:00
No space before prompt char at beginning of line
This commit is contained in:
parent
cb2362c006
commit
92cacc9552
|
@ -10,6 +10,6 @@ function prompt_char {
|
|||
PROMPT='%(?, ,%{$fg[red]%}FAIL: $?%{$reset_color%}
|
||||
)
|
||||
%{$fg[magenta]%}%n%{$reset_color%}@%{$fg[yellow]%}%m%{$reset_color%}: %{$fg_bold[blue]%}%~%{$reset_color%}$(git_prompt_info)
|
||||
%_ $(prompt_char) '
|
||||
%_$(prompt_char) '
|
||||
|
||||
RPROMPT='%{$fg[green]%}[%*]%{$reset_color%}'
|
||||
|
|
Loading…
Reference in New Issue
Block a user