mirror of
https://codeberg.org/gwh/slackbuilds.git
synced 2024-11-16 19:51:19 +01:00
install zsh completion
This commit is contained in:
parent
545a1a3416
commit
399773ea94
1 changed files with 3 additions and 0 deletions
|
@ -29,6 +29,9 @@ mv crystal-${VERSION}-1 crystal-${VERSION}
|
|||
mv crystal-${VERSION}/{embedded,src} $PKG$PREFIX/libexec/${PRGNAM}
|
||||
mv crystal-${VERSION}/bin $PKG$PREFIX
|
||||
|
||||
mkdir -p $PKG$PREFIX/share/zsh/site-functions/
|
||||
cp -R $PKG$PREFIX/crystal-${VERSION}/etc/completion.zsh $PKG$PREFIX/share/zsh/site-functions/_crystal
|
||||
|
||||
sed -i "s|INSTALL_DIR=.*|INSTALL_DIR=$PREFIX/libexec/$PRGNAM|g" $PKG$PREFIX/bin/crystal
|
||||
|
||||
# packaging
|
||||
|
|
Loading…
Reference in a new issue