From ffd30187cb519d45743c7dec51f57d9f80d3aa41 Mon Sep 17 00:00:00 2001 From: Daniel Garnier-Moiroux Date: Wed, 8 Jul 2020 12:35:31 +0200 Subject: [PATCH] Remove "function" keyword --- internal/p10k.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/p10k.zsh b/internal/p10k.zsh index 5e3f9bf1..8f922cb7 100644 --- a/internal/p10k.zsh +++ b/internal/p10k.zsh @@ -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"