Skip to content

Commit 8088706

Browse files
committed
PKGBUILD: Install completions
Signed-off-by: Zile995 <[email protected]>
1 parent da0a515 commit 8088706

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

PKGBUILD

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,10 @@ package() {
4848
install -Dm0644 "$libalpm_hook" -t "${pkgdir}/usr/share/libalpm/hooks"
4949
done
5050

51+
# Install completions
52+
install -Dm644 "completions/zsh/_${pkgname%-*}" -t "${pkgdir}/usr/share/zsh/site-functions/"
53+
install -Dm644 "completions/bash/${pkgname%-*}" -t "${pkgdir}/usr/share/bash-completion/completions"
54+
5155
# Install the LICENSE
5256
install -Dm0644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
53-
}
57+
}

0 commit comments

Comments
 (0)