From: Tim Jaacks Date: Mon, 03 Oct 2022 11:45:51 GMT Subject: Bash completion for git aliases containing nested subcommands Message-ID: Hello everyone, I have set up the following alias in my .gitconfig file: [alias] ss = stash show Unfortunately bash completion does not work correctly on this alias. When I type "git ss ", I get: $ git ss apply clear drop pop show branch create list push Which is obviously the completion for "git stash" instead of "git stash show". With the original command I get the list of available stashes: $ git stash show stash@{0} stash@{1} Is there a way to get the completion on the alias behave like on the original command? I am on Ubuntu 20.04 and using the distro's default git completions. Kind regards, Tim