Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#69880 - [starship] Add shell completion files
Attached to Project:
Community Packages
Opened by Ariel Rivas (vagorafaelino) - Thursday, 04 March 2021, 19:11 GMT
Last edited by Maxime Gauduin (Alucryd) - Monday, 29 March 2021, 14:26 GMT
Opened by Ariel Rivas (vagorafaelino) - Thursday, 04 March 2021, 19:11 GMT
Last edited by Maxime Gauduin (Alucryd) - Monday, 29 March 2021, 14:26 GMT
|
DetailsDescription:
Please, would you consider to add shell completion files To achieve this, you may add these lines at package() function in PKGBUILD file: # Create directories install -dm 755 "${pkgdir}"/usr/share/{bash-completion/completions,fish/vendor_completions.d,zsh/site-functions}/ _cmd=./starship/target/release/starship # generate completion for bash "$_cmd" completions bash > "${pkgdir}"/usr/share/bash-completion/completions/starship # generate completion for fish "$_cmd" completions fish > "${pkgdir}"/usr/share/fish/vendor_completions.d/starship.fish # generate completion for zsh "$_cmd" completions zsh > "${pkgdir}"/usr/share/zsh/site-functions/_starship Thanks in advance! |
This task depends upon
Closed by Maxime Gauduin (Alucryd)
Monday, 29 March 2021, 14:26 GMT
Reason for closing: Implemented
Additional comments about closing: 0.51.0-2
Monday, 29 March 2021, 14:26 GMT
Reason for closing: Implemented
Additional comments about closing: 0.51.0-2