Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Global arrays in widgets
- X-seq: zsh-users 21160
- From: Sebastian Gniazdowski <sgniazdowski@xxxxxxxxx>
- To: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- Subject: Re: Global arrays in widgets
- Date: Sun, 17 Jan 2016 19:32:41 +0100
- Cc: Zsh Users <zsh-users@xxxxxxx>
- 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=0sNaoeSIbW71xC0UtLj7RygbPcunTBrp+30W0+f77Ug=; b=ljE3uDSq8Vg7+XRhTE9WlSoGDQ2L/n9B4f9fx9Ni4UmIZ+PlFYqb7LbTuWFHNAQLVo PYqsxxJMsRG5kS8vFylErVgi6W09cKUvVkzcRYOWKXPOmTO19dEDOrsZIVvmaapm8FlY wQvZvn4WLH9/Z/lMcy4MQ7oSg35WD9XCqAa3imDbQvCcH6eR1d+pQIqZhYeAZ79zy3+Z wBfxvFPqFUk3Vi/1RsgE79KcHU+WGa4Uoe9yOVk09g+QkFMOyAeW2nbfQ/G4j9jv15Bm KhGOO+FwXIcEveQREW3kY4gydbsBLdj7vKMIFQL9orrPK3GaQFgFTI7Sdq1bA6qR9e88 FLVA==
- In-reply-to: <160117093726.ZM2939@torch.brasslantern.com>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <CAKc7PVB5QJq-MrxucOoUFOLo_JEn04sJrROSWhhsAT_h6w2JjA@mail.gmail.com> <160117093726.ZM2939@torch.brasslantern.com>
Nice catch, thanks! I would have spotted this but a side test that I
did, in general something like this:
typeset -ga testa
testa=( "$testa[@]" "a" )
echo $testa[@]
also failed. I had to do something wrong then, now this and the
typeset -gaU do work.
Best regards,
Sebastian Gniazdowski
Messages sorted by:
Reverse Date,
Date,
Thread,
Author