1
0
Fork 0

Move the spaces around again :P

pull/4/head
Geoff Garside 15 years ago
parent de46c10e4b
commit a165a6a078

@ -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…
Cancel
Save