I'm new in macOS and I'm using macOS Sierra,
In my Ubuntu and other Linux-based system, terminal has an auto-complete that helps to complete commands and their options.
For example for
wget and other commands, in additional to command completion, after pressing Tab 2 times, it lists all command options (if any), or in
sudo w it list all commands start with w
But on my Mac, it just complete first commands and don't help for options or second part of command like whoami in
I mean it don't show a list of all command that start with
who after pressing Tab 2 times in
I found some Scripts for
git options at https://github.com/git/git/tree/master/contrib/completion/ , but I want something that do this for all commands and applications.
Is there any solution for that?