FS#70155 - [pulseaudio] Add shell completion
Attached to Project:
Arch Linux
Opened by Brett Cornwall (ainola) - Thursday, 25 March 2021, 05:16 GMT
Last edited by Jan Alexander Steffens (heftig) - Thursday, 25 March 2021, 15:45 GMT
Opened by Brett Cornwall (ainola) - Thursday, 25 March 2021, 05:16 GMT
Last edited by Jan Alexander Steffens (heftig) - Thursday, 25 March 2021, 15:45 GMT
|
Details
https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/tree/master/shell-completion
contains bash and zsh completions. Please include these and
symlink all relevant commands (e.g. pactl, etc.)
As an example, a (now deleted) package did this: aliases=( 'pacat' 'pacmd' 'pactl' 'padsp' 'paplay' 'parec' 'parecord' 'pasuspender' ) compdir="$pkgdir"/usr/share/bash-completion/completions install -Dm 644 "$srcdir"/pulseaudio/shell-completion/bash/pulseaudio "$compdir"/pulseaudio mkdir -p "$compdir" for a in "${aliases[@]}"; do ln -s pulseaudio "$compdir"/$a done |
This task depends upon
Closed by Jan Alexander Steffens (heftig)
Thursday, 25 March 2021, 15:45 GMT
Reason for closing: Fixed
Additional comments about closing: libpulse 14.2-3
Thursday, 25 March 2021, 15:45 GMT
Reason for closing: Fixed
Additional comments about closing: libpulse 14.2-3
Comment by
Robert Cegliński (codicodi) -
Thursday, 25 March 2021, 09:35 GMT
Not sure what you mean, all the completions are packaged
correctly. The only issue I can think of is that some executables
are part of libpulse, but their completions are in pulseaudio
package, so some completions may not work when using
pipewire-pulse.