Why I encountered like this after I update bash-completion to 1.99-2bash: _compopt_o_filenames: command not found
on 04/03/2012 – Made popular on 04/03/2012
cfr wrote:Does tab completion work for other commands?If you source /usr/share/bash-completion/completions/journalctl explicitly does it work then?Thanks, source'ing as you suggested makes it works OK. So what I'm I missing?<TAB> completion works for other commands without any source'ing (i.e.: out of the box).
In Linux, by default Bash provides the following standard completion for users to use in the command line: Variablename completion Username completion Executable completion Filename and directory completion Hostname completion 1. Variablename Completion After typing $ in terminal, pressing tab twice will display all available shell variables as shown below.
If you don't use pm-suspend or pm-hibernate, then the /etc/pm/sleep.d stuff should not be touched at all. Alsa-utils provides this file for compatibility in the event that a user might want to use pm-utils. It is kind of like how packages provide their own bash-completion and zsh-completion stuff so that you can gain funtionality only when the package is added.