Installation
After checking out the dependencies,
download zpy.plugin.zsh
and source it in your .zshrc
.
You might use git
, wget
, or curl
:
% git clone --single-branch https://github.com/andydecleyre/zpy ~/.zpy
% print ". ~/.zpy/zpy.plugin.zsh" >>~/.zshrc
% wget -O ~/.zpy.plugin.zsh https://github.com/AndydeCleyre/zpy/raw/master/zpy.plugin.zsh
% print ". ~/.zpy.plugin.zsh" >>~/.zshrc
% curl -Lo ~/.zpy.plugin.zsh https://github.com/AndydeCleyre/zpy/raw/master/zpy.plugin.zsh
% print ". ~/.zpy.plugin.zsh" >>~/.zshrc
or install it with a plugin manager:
Add zpy
to your plugins
array in ~/.zshrc
, and
% git clone --single-branch https://github.com/andydecleyre/zpy $ZSH_CUSTOM/plugins/zpy
Put zcomet load andydecleyre/zpy
in ~/.zshrc
(between . /path/to/zcomet.zsh
and zcomet compinit
)
% print zmodule andydecleyre/zpy --use degit >>~/.zimrc
% zimfw install
% yadm submodule add https://github.com/andydecleyre/zpy ~/.zpy
% print ". ~/.zpy/zpy.plugin.zsh" >>~/.zshrc
Add these lines to your ~/.zshrc
after loading zinit
:
zinit ice depth=1
zinit light andydecleyre/zpy
Ensure you have the following lines after loading plugins:
autoload -Uz compinit && compinit
zinit cdreplay -q
Add to ~/.zshrc
:
z4h install AndydeCleyre/zpy # before `z4h init`
# ...
z4h load AndydeCleyre/zpy # after `z4h init`
% print antibody bundle andydecleyre/zpy >>~/.zshrc
% print andydecleyre/zpy >>~/.zsh_plugins.txt
Put antigen bundle andydecleyre/zpy
in your ~/.zshrc
, before antigen apply
.
Add zpy
to your pmodule list in ~/.zpreztorc
, and
% git clone https://github.com/andydecleyre/zpy $ZPREZTODIR/modules/zpy
$ sheldon add zpy --github andydecleyre/zpy
Put zgen load andydecleyre/zpy
in the plugin section of your ~/.zshrc
, then
% zgen reset
Put zgenom load andydecleyre/zpy
in the plugin section of your ~/.zshrc
, then
% zgenom reset
% print znap source andydecleyre/zpy >>~/.zshrc
Put zplug "andydecleyre/zpy"
in ~/.zshrc
(between . ~/.zplug/init.zsh
and zplug load
), then
% zplug install; zplug load
% print zpm load andydecleyre/zpy >>~/.zshrc
% zpm clean
Tip
Don't use a plugin manager but want to try one now? I suggest zcomet.
The recommended backend is uv. If you aren't using a distro package for that, you can install it with zpy itself:
% exec zsh
% pipz install uv