mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-11-21 20:00:07 +00:00
Removed unnecessary whitespace.
This commit is contained in:
parent
12170c915d
commit
205d71a647
1 changed files with 2 additions and 2 deletions
|
@ -172,12 +172,12 @@ function +vi-git-remotebranch() {
|
|||
remote=${$(git rev-parse --verify HEAD@{upstream} --symbolic-full-name 2>/dev/null)/refs\/(remotes|heads)\/}
|
||||
branch_name=${$(git symbolic-ref --short HEAD 2>/dev/null)}
|
||||
|
||||
hook_com[branch]=" %F{black}${hook_com[branch]}%f"
|
||||
hook_com[branch]="%F{black}${hook_com[branch]}%f"
|
||||
# Always show the remote
|
||||
#if [[ -n ${remote} ]] ; then
|
||||
# Only show the remote if it differs from the local
|
||||
if [[ -n ${remote} && ${remote#*/} != ${branch_name} ]] ; then
|
||||
hook_com[branch]+=" %F{black}→%f%F{black}${remote}%f"
|
||||
hook_com[branch]+="%F{black}→%f%F{black}${remote}%f"
|
||||
fi
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue