From: Sergey Zolotarev Date: Sat, 09 Feb 2019 05:24:34 GMT Subject: [PATCH] Add support for 'git remote rm' in Bash completion script Message-ID: <20190209052434.20616-1-szolot4rev@gmail.com> --- contrib/completion/git-completion.bash | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/contrib/completion/git-completion.bash b/contrib/completion/git-completion.bash index 499e56f83d..fa25d689e2 100644 --- a/contrib/completion/git-completion.bash +++ b/contrib/completion/git-completion.bash @@ -2334,7 +2334,7 @@ _git_remote () { local subcommands=" add rename remove set-head set-branches - get-url set-url show prune update + get-url set-url show prune rm update " local subcommand="$(__git_find_on_cmdline "$subcommands")" if [ -z "$subcommand" ]; then @@ -2379,6 +2379,9 @@ _git_remote () prune,--*) __gitcomp_builtin remote_prune ;; + rm,--*) + __gitcomp_builtin remote_rm + ;; *) __gitcomp_nl "$(__git_remotes)" ;; -- 2.20.1.windows.1