You are not logged in.
So I can tab to a file with no extension when using mplayer in a terminal I've had
complete -r mplayerin my .bashrc for ages now and it's worked fine. After the last update every time I open a terminal it has as the first line
bash: complete: mplayer: no completion specificationand I can't tab to a file with no extension.
Complete is a bash builtin
[ ~ ]$ help complete
complete: complete [-abcdefgjksuv] [-pr] [-DE] [-o option] [-A action] [-G globpat] [-W wordlist] [-F function] [-C command] [-X filterpat] [-P prefix] [-S suffix] [name ...]
Specify how arguments are to be completed by Readline.
For each NAME, specify how arguments are to be completed. If no options
are supplied, existing completion specifications are printed in a way that
allows them to be reused as input.
Options:
-p print existing completion specifications in a reusable format
-r remove a completion specification for each NAME, or, if no
NAMEs are supplied, all completion specifications
-D apply the completions and actions as the default for commands
without any specific completion defined
-E apply the completions and actions to "empty" commands --
completion attempted on a blank line
When completion is attempted, the actions are applied in the order the
uppercase-letter options are listed above. The -D option takes
precedence over -E.
Exit Status:
Returns success unless an invalid option is supplied or an error occurs.It's something I use regularly and would like to have it working again.
You're just jealous because the voices only talk to me.
Offline
Try this:
# cp -a /usr/share/bash-completion/completions/mplayer /etc/bash_completion.d/or manually source /usr/share/bash-completion/completions/mplayer in your ~/.bash_completion
I had a similar issue with git's bash-completion after the recent upgrade.
Offline
Try this:
# cp -a /usr/share/bash-completion/completions/mplayer /etc/bash_completion.d/or manually source /usr/share/bash-completion/completions/mplayer in your ~/.bash_completion
I had a similar issue with git's bash-completion after the recent upgrade.
That fixed the error I had showing in every terminal, thanks for that, but unfortunately still doesn't let me tab to a file with no extension.
complete -rwithout specifying mplayer lets me do that but it makes having bash-completion installed reduntant...
You're just jealous because the voices only talk to me.
Offline