Can't return strings from a zsh/bash function
This commit is contained in:
parent
4616c5f782
commit
67163c514e
|
@ -64,7 +64,6 @@ git_branch() {
|
||||||
local res=" ($res)"
|
local res=" ($res)"
|
||||||
fi
|
fi
|
||||||
echo $res
|
echo $res
|
||||||
return $res
|
|
||||||
}
|
}
|
||||||
|
|
||||||
local git_prompt='%{$cyan%}$(git_branch)%{$reset_color%}'
|
local git_prompt='%{$cyan%}$(git_branch)%{$reset_color%}'
|
||||||
|
|
Loading…
Reference in New Issue
Block a user