mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-06-12 04:36:37 +02:00
tari-dev: Add fish completions for httpie
Since the community package doesn't include the fish completions found upstream, we install them here instead. There is already a bug report about the fish completions, and when it eventually gets fixed, these steps can be removed from the PKGBUILD. Bug report: https://bugs.archlinux.org/task/55786
This commit is contained in:
parent
7445de60ca
commit
ad3a3fedd3
@ -1,7 +1,8 @@
|
|||||||
_vimplugver='0.10.0'
|
_vimplugver='0.10.0'
|
||||||
|
_httpiever='1.0.0'
|
||||||
|
|
||||||
pkgname=tari-dev
|
pkgname=tari-dev
|
||||||
pkgver=0.1.0
|
pkgver=0.1.1
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc="Packages I use relating to development and other things."
|
pkgdesc="Packages I use relating to development and other things."
|
||||||
arch=('any')
|
arch=('any')
|
||||||
@ -13,9 +14,12 @@ depends=(vim neovim httpie exa fd ripgrep
|
|||||||
jdk-openjdk texlive-core texlive-science
|
jdk-openjdk texlive-core texlive-science
|
||||||
texlive-humanities texlive-fontsextra texlive-latexextra
|
texlive-humanities texlive-fontsextra texlive-latexextra
|
||||||
texlive-bibtexextra minted)
|
texlive-bibtexextra minted)
|
||||||
source=("https://raw.githubusercontent.com/junegunn/vim-plug/${_vimplugver}/plug.vim")
|
source=("https://raw.githubusercontent.com/junegunn/vim-plug/${_vimplugver}/plug.vim"
|
||||||
sha256sums=('01a138fc0ed99ef2678ba004613acbf8b0c51a85a8d2a1b658ef87af722e98e1')
|
"https://raw.githubusercontent.com/jakubroztocil/httpie/${_httpiever}/extras/httpie-completion.fish")
|
||||||
|
sha256sums=('01a138fc0ed99ef2678ba004613acbf8b0c51a85a8d2a1b658ef87af722e98e1'
|
||||||
|
'3d0deae85526fbb580ec35a625a043fd1c585c315ca98ac4e371b714d2d1a3ec')
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
install -Dm 644 plug.vim "$pkgdir"/usr/share/vim/vimfiles/autoload/plug.vim
|
install -Dm 644 plug.vim "$pkgdir"/usr/share/vim/vimfiles/autoload/plug.vim
|
||||||
|
install -Dm 644 httpie-completion.fish "$pkgdir"/usr/share/fish/vendor_completions.d/http.fish
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user