FS#44522 - [beets] bash and zsh completion missing
Attached to Project:
Community Packages
Opened by Simon Désaulniers (sim590) - Friday, 10 April 2015, 02:04 GMT
Last edited by Maxime Gauduin (Alucryd) - Monday, 13 April 2015, 08:15 GMT
Opened by Simon Désaulniers (sim590) - Friday, 10 April 2015, 02:04 GMT
Last edited by Maxime Gauduin (Alucryd) - Monday, 13 April 2015, 08:15 GMT
|
Details
Description:
Bash completion --------------- Yes. Completion can be added in a user's personnal bash session writing eval "$(beet completion)" in his ~/.bashrc but this is not clean solution while it should be included in the package. This is one line feature to add to the PKGBUILD. Zsh completion -------------- This is missing. Here's the source for getting it from the project's github repository : https://raw.githubusercontent.com/sampsyo/beets/master/extra/_beet All information was gathered from the project's online doc : http://beets.readthedocs.org/en/latest/reference/cli.html Additional info: * package version(s) : 1.3.11-1 |
This task depends upon
Closed by Maxime Gauduin (Alucryd)
Monday, 13 April 2015, 08:15 GMT
Reason for closing: Fixed
Additional comments about closing: 1.3.11-3
Monday, 13 April 2015, 08:15 GMT
Reason for closing: Fixed
Additional comments about closing: 1.3.11-3
Unless another solution is found, the bash completion should not be system wide.
echo 'eval "$(beet completion)"' > "${pkgdir}"/etc/bash_completion.d/beet
by :
beet completion >"${pkgdir}"/etc/bash_completion.d/beet
Problem solved.
This was the only solution, but since it causes issues, I'll revert it. Please use your .bashrc if you want to enable completion for bash.