1
0

Can't return strings from a zsh/bash function

This commit is contained in:
Noah 2015-10-05 15:28:13 -07:00
parent 4616c5f782
commit 67163c514e

View File

@ -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%}'