From 7724fcab6b16c63500b2748de7ba2d961405a648 Mon Sep 17 00:00:00 2001 From: Darren Bishop Date: Tue, 29 Nov 2022 08:56:31 +0000 Subject: [PATCH] Update liquidprompt.theme.bash Added `ret` to local declarations as per provided liquidprompt change notes --- themes/liquidprompt/liquidprompt.theme.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/themes/liquidprompt/liquidprompt.theme.bash b/themes/liquidprompt/liquidprompt.theme.bash index ebf55969..3e5ff013 100644 --- a/themes/liquidprompt/liquidprompt.theme.bash +++ b/themes/liquidprompt/liquidprompt.theme.bash @@ -35,7 +35,7 @@ _lp_git_branch() \git rev-parse --is-inside-work-tree >/dev/null 2>&1 || return - local branch + local branch ret # Recent versions of Git support the --short option for symbolic-ref, but # not 1.7.9 (Ubuntu 12.04) if branch="$(\git symbolic-ref -q HEAD)"; then