Skip to content

Commit 0d145c9

Browse files
committed
fix(cvs): avoid variable conflicts
1 parent 7d2867c commit 0d145c9

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
@@ -45,7 +45,7 @@ _comp_xfunc_cvs_compgen_roots()
4545
[[ -r ~/.cvspass ]] && cvsroots+=($(awk '{ print $2 }' ~/.cvspass))
4646
[[ -r CVS/Root ]] && mapfile -tO "${#cvsroots[@]}" cvsroots <CVS/Root
4747
((${#cvsroots[@]})) &&
48-
_comp_compgen -- -W '"${cvsroots[@]}"'
48+
_comp_compgen -U cvsroots -- -W '"${cvsroots[@]}"'
4949
_comp_ltrim_colon_completions "$cur"
5050
}
5151

0 commit comments

Comments
 (0)