mirror of
https://github.com/ivabus/pantry
synced 2024-11-26 18:25:08 +03:00
27 lines
643 B
YAML
27 lines
643 B
YAML
|
distributable:
|
||
|
url: https://github.com/zsh-users/zsh-autosuggestions/archive/{{version.tag}}.tar.gz
|
||
|
strip-components: 1
|
||
|
|
||
|
versions:
|
||
|
github: zsh-users/zsh-autosuggestions/tags
|
||
|
|
||
|
warnings:
|
||
|
- vendored
|
||
|
|
||
|
runtime:
|
||
|
ZSH_AUTOSUGGESTIONS_ROOT: ${{prefix}}
|
||
|
|
||
|
build:
|
||
|
install -D zsh-autosuggestions.zsh {{prefix}}/share/zsh-autosuggestions/zsh-autosuggestions.zsh
|
||
|
|
||
|
test:
|
||
|
- run: zsh $FIXTURE | grep zsh-autosuggestions
|
||
|
fixture:
|
||
|
contents: |
|
||
|
fpath=($ZSH_AUTOSUGGESTIONS_ROOT/share $fpath)
|
||
|
autoload -Uz compinit
|
||
|
compinit
|
||
|
autoload -Uz zsh-autosuggestions
|
||
|
which zsh-autosuggestions
|
||
|
extname: zsh
|