diff --git a/scripts/completion/dvc.bash b/scripts/completion/dvc.bash index f8bce9fc21..fcd09c13c0 100644 --- a/scripts/completion/dvc.bash +++ b/scripts/completion/dvc.bash @@ -60,12 +60,13 @@ _dvc_pull='-j --jobs -r --remote -a --all-branches -T --all-tags -f --force -d - _dvc_pull_COMPGEN=_dvc_compgen_DVCFiles _dvc_push='-j --jobs -r --remote -a --all-branches -T --all-tags -d --with-deps -R --recursive' _dvc_push_COMPGEN=_dvc_compgen_DVCFiles -_dvc_remote='add default list modify remove' +_dvc_remote='add default list modify remove rename' _dvc_remote_add='--global --system --local -d --default -f --force' _dvc_remote_default='--global --system --local -u --unset' _dvc_remote_list='--global --system --local' _dvc_remote_modify='--global --system --local -u --unset' _dvc_remote_remove='--global --system --local' +_dvc_remote_rename='--global --system --local' _dvc_remove='-o --outs -p --purge -f --force' _dvc_remove_COMPGEN=_dvc_compgen_DVCFiles _dvc_repro='-f --force -s --single-item -c --cwd -m --metrics --dry -i --interactive -p --pipeline -P --all-pipelines --no-run-cache --force-downstream --no-commit -R --recursive --downstream' diff --git a/scripts/completion/dvc.zsh b/scripts/completion/dvc.zsh index 7a12f1d35d..b56536dd1e 100644 --- a/scripts/completion/dvc.zsh +++ b/scripts/completion/dvc.zsh @@ -218,7 +218,7 @@ _dvc_plots=( ) _dvc_remote=( - "1:Sub command:(add default remove modify list)" + "1:Sub command:(add default remove modify list rename)" ) _dvc_remove=(