zsh-users
 help / color / mirror / code / Atom feed
From: Sebastian Gniazdowski <sgniazdowski@gmail.com>
To: Zsh Users <zsh-users@zsh.org>
Subject: Using Zplugin to have latest Zsh version installed
Date: Thu, 3 May 2018 06:34:24 +0200	[thread overview]
Message-ID: <CAKc7PVB=+gDrC5TU4Ap0yH2qtgDZz1W7VzRZeFVvN1uGm0OHpg@mail.gmail.com> (raw)

[-- 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

                 reply	other threads:[~2018-05-03  4:34 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAKc7PVB=+gDrC5TU4Ap0yH2qtgDZz1W7VzRZeFVvN1uGm0OHpg@mail.gmail.com' \
    --to=sgniazdowski@gmail.com \
    --cc=zsh-users@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).