Remove "function" keyword
This commit is contained in:
parent
3542212e14
commit
ffd30187cb
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Reference in New Issue