Skip to content

Commit 9d0e600

Browse files
committed
fix(cvs): fix localvar_inherit
1 parent b2c6d9a commit 9d0e600

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

completions/cvs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ _cvs_kflags()
3737

3838
_comp_xfunc_cvs_roots()
3939
{
40-
local -a cvsroots
40+
local -a cvsroots=()
4141
[[ -v CVSROOT ]] && cvsroots=("$CVSROOT")
4242
[[ -r ~/.cvspass ]] && cvsroots+=($(awk '{ print $2 }' ~/.cvspass))
4343
[[ -r CVS/Root ]] && mapfile -tO ${#cvsroots[@]} cvsroots <CVS/Root

0 commit comments

Comments
 (0)