mirror of
https://github.com/ivabus/pantry
synced 2024-11-10 02:25:18 +03:00
new file: projects/github.com/zsh-users/zsh-autosuggestions/README.md
new file: projects/github.com/zsh-users/zsh-autosuggestions/package.yml
This commit is contained in:
parent
970d5cb164
commit
9c6606370b
|
@ -0,0 +1,5 @@
|
||||||
|
To activate the autosuggestions, add the following at the end of your .zshrc:
|
||||||
|
|
||||||
|
source $ZSH_AUTOSUGGESTIONS_ROOT/share/zsh-autosuggestions/zsh-autosuggestions.zsh
|
||||||
|
|
||||||
|
You will also need to restart your terminal for this change to take effect.
|
|
@ -0,0 +1,26 @@
|
||||||
|
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
|
Loading…
Reference in a new issue