8
3
Bash in my Fedora 16 seems to autocomplete arguments based on the command itself. So if I for example type
cd
Tab
… it will only show directories.
There are however far too many commands where it doesn't know the expected input types, so is there any way to disable this feature?
You will need to restart any running instances of bash for the change to take effect. Also consider using
sudo apt-get --purge remove bash-completion
as suggested below. This appears to remove a file from/etc
referencing a completion-related file that bash will otherwise complain about. – neuralmer – 2018-05-01T14:03:05.943