mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-12-12 20:21:02 +01:00
Move the spaces around again :P
This commit is contained in:
parent
517df8002d
commit
af8294d206
2 changed files with 2 additions and 2 deletions
2
git.zsh
2
git.zsh
|
@ -4,7 +4,7 @@ function git_prompt_info() {
|
|||
branch=${ref#refs/heads/}
|
||||
|
||||
if [[ -d .git ]]; then
|
||||
CURRENT_BRANCH="(%{$fg[red]%}${branch}%{$reset_color%})$(parse_git_dirty) "
|
||||
CURRENT_BRANCH="(%{$fg[red]%}${branch}%{$reset_color%})$(parse_git_dirty)"
|
||||
else
|
||||
CURRENT_BRANCH=''
|
||||
fi
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
# PROMPT="[%*] %n:%c $(git_prompt_info)%(!.#.$) "
|
||||
PROMPT='[%*] %{$fg[cyan]%}%n%{$reset_color%}:%{$fg[green]%}%c%{$reset_color%} $(git_prompt_info)%(!.#.$) '
|
||||
PROMPT='[%*] %{$fg[cyan]%}%n%{$reset_color%}:%{$fg[green]%}%c%{$reset_color%}$(git_prompt_info) %(!.#.$) '
|
||||
|
|
Loading…
Reference in a new issue