[pulseaudio-tickets] [Bug 84921] New: pulseaudio-bash-completion.sh install unfit for completion autoloading

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat Oct 11 14:01:26 PDT 2014


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: pulseaudio-bugs at lists.freedesktop.org
          Reporter: mgorny at gentoo.org
        QA Contact: pulseaudio-bugs at lists.freedesktop.org
                CC: lennart at poettering.net

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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/pulseaudio-bugs/attachments/20141011/cf2b1505/attachment.html>


More information about the pulseaudio-bugs mailing list