I find autocomplete for commands to be, sometimes, a little dangerous. I'd at least turn it off when root or sudo....
PowerShell does a good job with autocomplete on commands and options --if you're using PowerShell of course. Fortunately, it's cross platform.
https://docs.microsoft.com/en-us/powershell/scripting/window...