Autocomplete not working in Terminal local to folder

bashcommand lineterminal

When I go into any folder via cd and then press tab a whole list of options is displayed. How do I make the autocomplete local to the folder?

enter image description here

Best Answer

If you want to see only binaries in the current folder, press ./tab (dot slash tab).

If you want to see all folders in the current folder, press cd tab

In your screenshot, pressingm tab is showing all binaries that start with m found in the path.

In all cases, pressing tab a second time will show all matches if there are more than one.