On Tue, Jun 19, 2012 at 8:02 AM, Lorenzo Sutton
<lorenzofsutton@gmail.com> wrote:
On 16/06/12 17:05, Camaleón wrote:
On Sat, 16 Jun 2012 14:16:51 +0100, mk bane wrote:
A while ago I upgraded to Squeeze.
I've noticed filename completion does not appear to work for some
commands, such as oocalc.
Anybody point me the direction of a solution? Thanks,
Is it only failing for a specific set of filenames (OOo)?
If so, there has to be a file at "/etc/bash_completion.d/ooffice.sh" for
that purpose, installed by "openoffice.org-common" package.
That file exists, yes
Otherwise, if completion is not working at all, chances are that during upgrade your /etc/bash.bashrc was overwritten/changed so that the completion part was commented out (I think that is the default on vanilla installs?).
Have a look at /etc/bash.bashrc and search for a comment:
# enable bash completion in interactive shells
and uncomment the lines just after it.
That does appear to be anywhere but if I source it I still have the problem.
Clarification of the problem: if I do
ls .per<TAB>
it completes the directory (.personal)
but if I try
oocalc .per<TAB>
it doesn't complete.
If I try other commands, eg
emacs .per<TAB>
they seem to complete okay
Thanks, M