Remove "function" keyword

This commit is contained in:
Daniel Garnier-Moiroux 2020-07-08 12:35:31 +02:00
parent 3542212e14
commit ffd30187cb
1 changed files with 1 additions and 1 deletions

View File

@ -3961,7 +3961,7 @@ prompt_vcs() {
################################################################
# Git-duet: Support for committer/author pair in git
# see: https://github.com/git-duet/git-duet
function prompt_git_duet() {
prompt_git_duet() {
GIT_DUET_INITIALS=$(echo $(git config --get-regexp "^duet.env.git-.*-initials" 2>/dev/null | sed -e 's/^.*-initials //') | sed -e 's/ /+/')
if [[ ! -z "$GIT_DUET_INITIALS" ]]; then
_p9k_prompt_segment $0 magenta white '' 0 '' "$GIT_DUET_INITIALS"