Disable Bash's programmable autocompletion (based on command)
shopt -u progcomp
will disable program based completion and TAB will do regular file/dir completion again. You can do this on a shell by shell basis (or put in in .bashrc for all shell in your account) rather than remove the bash-completion package for everyone. Running complete -r
removes all program completion settings so there are none defined. This means if you want to turn it on again you have to redefine them all again. Whereas if you used shopt -u progcomp
to turn it off, you can just run shopt -s progcomp
to turn it back on again.
Another way to disable it on a per-user basis is by doing complete -r
in your .bashrc
file. Type help complete
for more information.
Remove the bash-completion
package.