File tree Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -248,10 +248,10 @@ _cvs()
248248 esac
249249
250250 if [[ $cur != -* ]]; then
251- # if $COMP_CVS_REMOTE is not null, 'cvs commit' will
252- # complete on remotely checked-out files (requires
251+ # if $BASH_COMPLETION_CMD_CVS_REMOTE is not null, 'cvs commit'
252+ # will complete on remotely checked-out files (requires
253253 # passwordless access to the remote repository
254- if [[ -n ${COMP_CVS_REMOTE:- } ]]; then
254+ if [[ -n ${BASH_COMPLETION_CMD_CVS_REMOTE- ${ COMP_CVS_REMOTE-} } ]]; then
255255 # this is the least computationally intensive way found so
256256 # far, but other changes (something other than
257257 # changed/removed/new) may be missing
Original file line number Diff line number Diff line change 2929 data. If unset or null (default), `configure` completion will strip
3030 everything after the '=' when returning completions.
3131
32- *COMP_CVS_REMOTE *::
32+ *BASH_COMPLETION_CMD_CVS_REMOTE *::
3333 If set and not null, `cvs commit` completion will try to complete on
3434 remotely checked-out files. This requires passwordless access to the
3535 remote repository. Default is unset.
Original file line number Diff line number Diff line change @@ -46,6 +46,7 @@ export XDG_DATA_DIRS=/var/empty
4646# Make sure default settings are in effect
4747unset -v \
4848 BASH_COMPLETION_CMD_CONFIGURE_HINTS \
49+ BASH_COMPLETION_CMD_CVS_REMOTE \
4950 BASH_COMPLETION_CMD_IWCONFIG_SCAN \
5051 BASH_COMPLETION_FILEDIR_FALLBACK \
5152 COMP_CONFIGURE_HINTS \
You can’t perform that action at this time.
0 commit comments