Update liquidprompt.theme.bash

Added `ret` to local declarations as per provided liquidprompt change notes
pull/2175/head
Darren Bishop 2022-11-29 08:56:31 +00:00 committed by GitHub
parent e2fbfa6c73
commit 7724fcab6b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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