https://bugs.freedesktop.org/show_bug.cgi?id=84921

            Bug ID: 84921
           Summary: pulseaudio-bash-completion.sh install unfit for
                    completion autoloading
           Product: PulseAudio
           Version: unspecified
          Hardware: Other
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: misc
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]
                CC: [email protected]

Since version 1.90, bash-completion has new completion loading code. The
completion files are loaded on demand, with ${completionsdir}/${command} being
sourced when a matching command is typed. This requires the completion files to
be named for all commands provided by package.

Currently, pulseaudio installs a single pulseaudio-bash-completion.sh which
simply does not work with this scheme. It needs to install 'pactl', 'pacmd',
..., 'pulseaudio' files instead.

This can be achieved in two ways. Either:

1. install a single completion file (e.g. 'pulseaudio') and symlinkother
completed commands to it,

2. install common functions into e.g. $helpersdir/pulseaudio and separate
scripts (sourcing the common functions) for each completed command.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
_______________________________________________
pulseaudio-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/pulseaudio-bugs

Reply via email to