zsh check now with binary
This commit is contained in:
parent
4afcaf9ef3
commit
20eb5a23c9
4
PKGBUILD
4
PKGBUILD
@ -23,8 +23,8 @@ package() {
|
||||
cp "${srcdir}/template" "${pkgdir}/usr/share/msynk/template"
|
||||
chmod +x "${pkgdir}/usr/share/msynk/template"
|
||||
|
||||
# if using zsh
|
||||
if [[ -n $ZSH_VERSION ]]; then
|
||||
# if has zsh
|
||||
if [[ -f /bin/zsh ]]; then
|
||||
mkdir -p "${pkgdir}/usr/share/zsh/site-functions"
|
||||
cp "${srcdir}/_msynk.compdef.zsh" "${pkgdir}/usr/share/zsh/site-functions/_msynk"
|
||||
chmod +x "${pkgdir}/usr/share/zsh/site-functions/_msynk"
|
||||
|
Loading…
Reference in New Issue
Block a user