zsh-users
 help / color / mirror / code / Atom feed
* Using Zplugin to have latest Zsh version installed
@ 2018-05-03  4:34 Sebastian Gniazdowski
  0 siblings, 0 replies; only message in thread
From: Sebastian Gniazdowski @ 2018-05-03  4:34 UTC (permalink / raw)
  To: Zsh Users

[-- Attachment #1: Type: text/plain, Size: 692 bytes --]

Hello,
sharing a method of "packaging" zsh HEAD. Zplugin obtains pointer to Github
repo, and "on new commits" hook. So one can issue:

% zplugin ice as"command" pick"src/zsh" atclone"./.preconfig; ./configure"
atpull'%atclone' make"all install"
% zplugin light zsh-users/zsh

This will compile and install latest Zsh. Then, the bit: atpull'%atclone'
says: if there are new commits, repeat installation hook. So, updating with:

% zplugin update zsh-users/zsh

will again compile and install. This can be done by a simple script, but
here there's a dedicated syntax (of "zplugin ice ..."), which feels more
"declare"-like, less "top-down script"-like.

-- 
Best regards,
Sebastian Gniazdowski

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2018-05-03  4:34 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-05-03  4:34 Using Zplugin to have latest Zsh version installed Sebastian Gniazdowski

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).