summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authortheguy2021-04-30 11:05:13 +0200
committertheguy2021-04-30 11:05:13 +0200
commita1321bc804fd61b74f00fe35643a632ba26cf48c (patch)
treecb83ba8f9ab9819231f6919c2e895da8b85c0523
parent0630ebb3197c447769548d122b6dc6273716da13 (diff)
downloadaur-a1321bc804fd61b74f00fe35643a632ba26cf48c.tar.gz
added shell completions
-rw-r--r--PKGBUILD4
1 files changed, 4 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 0ede233bfc9..77fe786a4be 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -26,4 +26,8 @@ build() {
package() {
install -Dm644 "${_pkgname}/LICENSE" "$pkgdir/usr/share/licenses/${_pkgname}/LICENSE"
install -Dm755 "${_pkgname}/target/release/${_pkgname}" "${pkgdir}/usr/bin/${_pkgname}"
+
+ # shell completions
+ install -Dm644 "${_pkgname}/shell_completions/${_pkgname}.fish" "$pkgdir/usr/share/fish/vendor_completions.d/${_pkgname}.fish"
+ install -Dm644 "${_pkgname}/shell_completions/_${_pkgname}" "$pkgdir/usr/share/zsh/site-functions/_${_pkgname}"
}