From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5438 invoked by alias); 27 Nov 2014 02:25:33 -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: 19454 Received: (qmail 6398 invoked from network); 27 Nov 2014 02:25:20 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.2 X-Authority-Analysis: v=2.1 cv=AduIQRnG c=1 sm=1 tr=0 a=p9xhtsQbFeWP+Dk8WftIHA==:117 a=p9xhtsQbFeWP+Dk8WftIHA==:17 a=G8GL833Es-AA:10 a=N659UExz7-8A:10 a=7fuERo5PIY3zgFaURfAA:9 a=pILNOxqGKmIA:10 Message-id: <54768B8D.8000901@eastlink.ca> Date: Wed, 26 Nov 2014 18:25:17 -0800 From: Ray Andrews User-Agent: Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Icedove/31.2.0 MIME-version: 1.0 To: zsh-users@zsh.org Subject: Re: environment stuff. References: <54767D11.8050206@eastlink.ca> <141126180307.ZM11187@torch.brasslantern.com> In-reply-to: <141126180307.ZM11187@torch.brasslantern.com> Content-type: text/plain; charset=windows-1252; format=flowed Content-transfer-encoding: 7bit On 11/26/2014 06:03 PM, Bart Schaefer wrote: > On Nov 26, 5:23pm, Ray Andrews wrote: > } > } When you do a complete dump of the environment, there's this > > Let me point out that if you get any "typeset -A ..." then you're NOT > doing a complete dump of the environment. You're doing a complete dump > of the internal parameter space. Some things get copied back and forth > from the internal parameter space to the environment, and you can use > parameter references to examine the environment, but the two are not > the same. The environment is the exported subset of the parameter > space, and you can't export arrays, especially associative ones. Good to know. I trust this parameter space is off limits and I don't have to know anything more about it for now? > } ginormous thing that starts: > } > } typeset -A _comps > } > } What on Earth is it? Where does stuff like that get set? > > That's the list of all command names mapped to functions that implement > the completions for them. It's populated by compinit. Such a load of work!