On Sun, Oct 25, 2020 at 11:25:08AM +0100, David Croll wrote:
>
> To clarify: It's the autocompletion of options (like the
> "--print-statistics" in rdiff-backup) that fails, not the autocompletion
> of directories and filenames.
The generated completions should work here. The man page is parsed correctly on
fish 3.1.2
$ python3 /usr/share/fish/tools/create_manpage_completions.py --stdout
/usr/share/man/man1/rdiff-backup.1.gz | grep print.statistics
complete -c rdiff-backup -l print-statistics --description 'If set,
summary statistics will be printed after a successful backup.'
Make sure that the directory with generated completions is in your
$fish_complete_path
$ printf %s\n $fish_complete_path
...
~/.local/share/fish/generated_completions
Since you already ran fish_update_completions, the completion file should be
there already.
It could be that it is overridden by another completion file (only the first
one is loaded).
You should have only one:
$ printf %s\n $fish_complete_path/rdiff-backup.fish*
/home/johannes/.local/share/fish/generated_completions/rdiff-backup.fish
>
>
> On 10/25/20 11:16 AM, David Croll wrote:
> > Hi everybody,
> >
> >
> >
> > after an update to Ubuntu 20.10 Groovy Gorilla, Fish's autocompletion
> > does not work anymore.
> >
> > I'm using Fish 3.1.2 right now.
> >
> > Steps taken:
> >
> > - removed all fish files from .config/, .local/share/ and /etc
> >
> > - sudo apt purge fish
> >
> > - sudo apt install fish
> >
> > - fish_update_completions
> >
> >
> > With the best regards,
> >
> >
> > David
> >
> >
> >
> >
> >
> > _______________________________________________
> > Fish-users mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/fish-users
>
>
>
>
> _______________________________________________
> Fish-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/fish-users
_______________________________________________
Fish-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fish-users