diff options
author | D. Can Celasun | 2021-10-19 17:24:34 +0100 |
---|---|---|
committer | D. Can Celasun | 2021-10-19 17:24:34 +0100 |
commit | f5a07a7ca53c911ea81babfbb5f49c0bbc1fb744 (patch) | |
tree | a959956adc453515d454367bb207dd0f5be99014 | |
parent | 428f83ae8238390b02f93be3dc60730c14318ed5 (diff) | |
download | aur-f5a07a7ca53c911ea81babfbb5f49c0bbc1fb744.tar.gz |
[visual-studio-code-bin] Add shell completions
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 4 |
2 files changed, 4 insertions, 2 deletions
@@ -1,7 +1,7 @@ pkgbase = visual-studio-code-bin pkgdesc = Visual Studio Code (vscode): Editor for building and debugging modern web and cloud applications (official binary version) pkgver = 1.61.1 - pkgrel = 1 + pkgrel = 2 url = https://code.visualstudio.com/ arch = x86_64 arch = i686 @@ -3,7 +3,7 @@ pkgname=visual-studio-code-bin _pkgname=visual-studio-code pkgver=1.61.1 -pkgrel=1 +pkgrel=2 pkgdesc="Visual Studio Code (vscode): Editor for building and debugging modern web and cloud applications (official binary version)" arch=('x86_64' 'i686' 'aarch64' 'armv7h') url="https://code.visualstudio.com/" @@ -58,6 +58,8 @@ package() { install -m644 "${srcdir}/${_pkgname}.desktop" "${pkgdir}/usr/share/applications/${_pkgname}.desktop" install -m644 "${srcdir}/${_pkgname}-url-handler.desktop" "${pkgdir}/usr/share/applications/${_pkgname}-url-handler.desktop" install -m644 "${srcdir}/${_pkgname}-workspace.xml" "${pkgdir}/usr/share/mime/packages/${pkgname}-workspace.xml" + install -Dm 644 "${srcdir}/${_pkg}/resources/completions/bash/code" "${pkgdir}/usr/share/bash-completion/completions/code" + install -Dm 644 "${srcdir}/${_pkg}/resources/completions/zsh/_code" "${pkgdir}/usr/share/zsh/site-functions/_code" cp -r "${srcdir}/${_pkg}/"* "${pkgdir}/opt/${_pkgname}" -R ln -s /opt/${_pkgname}/bin/code "${pkgdir}"/usr/bin/code |