Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Using Zplugin to have latest Zsh version installed



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


Messages sorted by: Reverse Date, Date, Thread, Author