From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9124 invoked by alias); 23 Jan 2016 16:09:25 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 37741 Received: (qmail 22023 invoked from network); 23 Jan 2016 16:09:24 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, T_DKIM_INVALID autolearn=ham autolearn_force=no version=3.4.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=Gy9ptpRUhzS6KkNB2ZzVnC3KmVBX/LuacmIIPSYalRQ=; b=dS7iBqegcexI2JkZ8m4OtGrdPYj9TDHGhXbn9P+alVOff5iY3j1UNYACbFArZyRPXI Sop9rJ6NAlhGSWE5xgb+U2pVnEfBxp75Be5jOM5GSmgFSt6BH5pt0iE1jO0akg5hNTKt VRA3VRp23zuOj0f4EsDCU65h2fQf950mkXS0xKEJnwAfmy2J5i/vYIpi/33RpI8PVGHe xSjM9OquGkgbIFiqBxTPn41hDMfmmYzMsHNigbbiBdGlVC4EULQgoZFP4GRX8nauf4Cl ZX+JT5seqQyHmr/cF7uk+daNyihtmoDwDjcmmOSERHb7wRBKQwggQTNzbFEZk0OWhBB8 oYzg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=Gy9ptpRUhzS6KkNB2ZzVnC3KmVBX/LuacmIIPSYalRQ=; b=e1y26Ti9Wp0Blvjw7W+9i8YOY6dpqIKJ78LtPA3GoHNffY7c4g69OtJAYKGzNnv0h0 xGcwoKmcm94fQNw2aGYrZDc1+FdzfAcubIv6NH9HyzOY56VlK+INTpug9BpqA4i3vb7J p/2CIdewK0Wqrs1gkY3gK9SzxT6rZyPo5sTm2qaEh1l+YGX9bIYZm4xba7mv1/jAoy80 o3uqwba7fa/wW0KEPvA/LIFr+EOi6U7QbP47G/gUVl+SsMvKV+RDTMt6kvTcR5zP4Qhv aKMnu48jGdXfIZDj7L9mEsCmdbfoQtJQ4pEayThIMGdEzBHvTM8SKfQUOQPJaZebl56y t4SQ== X-Gm-Message-State: AG10YOQT15G1D2f9J6sFPZbUcbhGWa674mVYjo/fjM1tLEhOhxuuFSzjMNR1ayy1B9YZgWm1lZhAOo+y56zVdg== X-Received: by 10.25.141.129 with SMTP id p123mr2663274lfd.65.1453565362538; Sat, 23 Jan 2016 08:09:22 -0800 (PST) MIME-Version: 1.0 In-Reply-To: References: <160122173705.ZM11491@torch.brasslantern.com> From: Sebastian Gniazdowski Date: Sat, 23 Jan 2016 17:09:03 +0100 Message-ID: Subject: Re: Proof of concept mainstream plugin manager To: Bart Schaefer Cc: Zsh hackers list Content-Type: text/plain; charset=UTF-8 And even this doesn't work: for i in "$@"; do functions[$i]=" local FPATH='$ZPLUGIN_HOME/plugins/${ZPLUGIN_CURRENT_USER}--${ZPLUGIN_CURRENT_PLUGIN}' builtin autoload -X " done One hint is that when functions[$i] is called for second time, then traps work fine PS. Sorry for streams of consciousness, that should be the last email... However at least each of the emails sent is constructive Best regards, Sebastian Gniazdowski