k9s: rework completions

This commit is contained in:
Luca Bilke 2024-06-07 17:47:33 +02:00
parent c0334a1169
commit 6bb3c70d3c
No known key found for this signature in database
GPG Key ID: B753481DA0B6FA47
1 changed files with 8 additions and 3 deletions

View File

@ -15,9 +15,14 @@ checksum=597fa2c547437070a8993d1fb6fce91d696bd3731d37230feace3a2d3bfdb198
# fix: collect2: fatal error: cannot find 'ld' # fix: collect2: fatal error: cannot find 'ld'
export LDFLAGS="-fuse-ld=bfd" export LDFLAGS="-fuse-ld=bfd"
post_install() { post_build() {
for shell in bash zsh fish; do for shell in bash zsh fish; do
${PKGDESTDIR}/usr/bin/${pkgname} completion "$shell" >"${pkgname}.$shell" _build-k9s-xbps/bin/k9s completion $shell >k9s.$shell
vcompletion "${pkgname}.$shell" "$shell" done
}
post_install() {
for shell in bash zsh fish; do
vcompletion k9s.$shell $shell
done done
} }