app-shells/zsh-autocomplete:fix line remove on commit a2dac9ade8

Signed-off-by: Gonçalo Negrier Duarte <gonegrier.duarte@gmail.com>
This commit is contained in:
Gonçalo Negrier Duarte
2024-01-09 15:20:07 +00:00
parent a4d046d353
commit 64790d77ad
2 changed files with 3 additions and 1 deletions

View File

@@ -27,6 +27,8 @@ at the end of your ~/.zshrc"
src_install() {
# Move repo/tarball folder to zsh "plugin folder"
# Remove .git in 9999 (update using portage)
[[ ${PV} == 9999 ]] && rm -r "${S}/.git"
mkdir -p "${ED}/usr/share/zsh/site-functions/" || die
mv "${S}" "${ED}/usr/share/zsh/site-functions/${PN}"

View File

@@ -28,7 +28,7 @@ at the end of your ~/.zshrc"
src_install() {
# Move repo/tarball folder to zsh "plugin folder"
# Remove .git in 9999 (update using portage)
[[ ${PV} == 9999 ]] && rm -r "${S}/.git" ||die
[[ ${PV} == 9999 ]] && rm -r "${S}/.git"
mkdir -p "${ED}/usr/share/zsh/site-functions/" || die
mv "${S}" "${ED}/usr/share/zsh/site-functions/${PN}"