Fix git cl completion

__git_cl_all_commands is a variable, so it should use the variable
parameter, ${}, not a command substitution $().

Change-Id: I81fc2c73afd85cc1f737af00fbc294d933145e22
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/2205456
Reviewed-by: Andrii Shyshkalov <tandrii@google.com>
Reviewed-by: Edward Lesmes <ehmaldonado@chromium.org>
Commit-Queue: Edward Lesmes <ehmaldonado@chromium.org>
changes/56/2205456/2
Ng Zhi An 5 years ago committed by LUCI CQ
parent 002f97b35a
commit 620c56e90e

@ -30,5 +30,5 @@ __git_cl_compute_all_commands () {
_git_cl () {
__git_cl_compute_all_commands
__gitcomp_nl "$(__git_cl_all_commands)"
__gitcomp_nl "${__git_cl_all_commands}"
}

Loading…
Cancel
Save