From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10117 invoked by alias); 16 May 2017 11:49:49 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 22700 Received: (qmail 2866 invoked from network); 16 May 2017 11:49:49 -0000 X-Qmail-Scanner-Diagnostics: from aok120.rev.netart.pl by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.99.2/21882. spamassassin: 3.4.1. Clear:RC:0(85.128.245.120):SA:0(0.0/5.0):. Processed in 4.374503 secs); 16 May 2017 11:49:49 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=unavailable autolearn_force=no version=3.4.1 X-Envelope-From: psprint@zdharma.org X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | Received-SPF: none (ns1.primenet.com.au: domain at zdharma.org does not designate permitted sender hosts) X-Virus-Scanned: by amavisd-new using ClamAV (17) Date: Tue, 16 May 2017 13:49:39 +0200 From: Sebastian Gniazdowski To: zsh-users@zsh.org Message-ID: Subject: Call for ideas for Ice-modifiers for Zplugin X-Mailer: Airmail (231) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hello, ice is something that is easily added and something that melts. In Zplugi= n ice modifies next command, and melts, leaving following commands unaffe= cted. =C2=A0 =C2=A0 % zplg ice from=22notabug=22 atload=22echo --Loaded--=22 at= clone'echo --Cloned--' =C2=A0 =C2=A0 % zplg load zdharma/zui =C2=A0 =C2=A0 Downloading zdharma/zui... =C2=A0 =C2=A0 ... =C2=A0 =C2=A0 Checking connectivity... done. =C2=A0 =C2=A0 --Cloned-- =C2=A0 =C2=A0 Compiling zui.plugin.zsh... =C2=A0 =C2=A0 --Loaded-- =C2=A0 =C2=A0 % grep notabug =7E/.zplugin/plugins/zdharma---zui/.git/conf= ig =C2=A0 =C2=A0 =C2=A0 =C2=A0 url =3D https://notabug.org/zdharma/zui The format from=22bb=22 (bitbucket) means =22bb=22 will be syntax highlig= hted in editor. One can even use from=24'nb' (notabug.org) to have greate= r visual separation. What ice-modifiers to add=3F I can tell that this technique, of having modifiers hanging in air, would= be good for the hypothetical official plugin manager. It is trivial to p= arse and the injection of actions mostly single lines of code, like: ( ((= =24=7B+ZPLG=5FICE=5Batclone=5D=7D )) && eval =22=24=7BZPLG=5FICE=5Batclo= ne=5D=7D=22 ) All Zplugin news:=C2=A0https://github.com/zdharma/zplugin=23news -- Sebastian Gniazdowski psprint /at/ zdharma.org