From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11439 invoked by alias); 19 Sep 2015 16:29:30 -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: 20599 Received: (qmail 5052 invoked from network); 19 Sep 2015 16:29:28 -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 autolearn=ham autolearn_force=no version=3.4.0 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:message-id:date:in-reply-to:comments :references:to:subject:mime-version:content-type; bh=AYI80bp5ebIFdYV0I5azcw0pMfxH5nSr+ufRi7SkaaY=; b=hwPjjk8zLlhQVcJ3pMqtU5+qK/0UFdedTu+w9Z16K4YxRMIHlsdVIli/iErA9hSdQH 9ItbpaDLmGdMW/vAOzZCA4o8DqrnxskEVA7grC3pRjhf6N67q6dh3E0ZS+rzAwueQyCC DRvbjBT84jYKZk+pZypC453//IGLCXrZkndvVgEt+58gRmFfACSgivh0VjLTmcqVFq8K vWccQ/hmW97A7vbiVSbDnRgibPzTxRAEt+ZgoQzu5ybiA2xq6/H0A6y+orG9TLubzxnO jyTX1ltTWo7/IOo0+ISU/wGDZU38Ce4O8qwPo09i1W151LbHyHETEu5BTWzBK9Gwjzka wUMg== X-Gm-Message-State: ALoCoQl/109hR8FWoa4N4dU7h/X4Jik2ymUwWL5jkOVVGn7uVUqzXdBSqJCGIHJ6TzUVGuh9Zz53 X-Received: by 10.60.58.4 with SMTP id m4mr7243539oeq.74.1442680165994; Sat, 19 Sep 2015 09:29:25 -0700 (PDT) From: Bart Schaefer Message-Id: <150919092922.ZM28214@torch.brasslantern.com> Date: Sat, 19 Sep 2015 09:29:22 -0700 In-Reply-To: <55FD7982.9030505@eastlink.ca> Comments: In reply to Ray Andrews "Re: autoload" (Sep 19, 8:04am) References: <55FAE223.2080502@eastlink.ca> <150917103419.ZM10067@torch.brasslantern.com> <150918171441.ZM27212@torch.brasslantern.com> <55FD7982.9030505@eastlink.ca> X-Mailer: OpenZMail Classic (0.9.2 24April2005) To: zsh-users@zsh.org Subject: Re: autoload MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On Sep 19, 8:04am, Ray Andrews wrote: } } If I understand, you are saying that a .zwc can't be in the same dir } as the files from which it was created? No. I'm saying that if fpath is a tree, (X X/Y X/Y/Z), having function files at all levels of the tree, then a file X/Y/Z.zwc containing all the functions from Z might be wrongly interpreted as containing a single function named Z instead. } autoload --functions-out /All-My-Functions/All-My-Functions.zwc } } autoload --functions-in /All-My-Functions/All-My-Functions.zwc \ } /All-My-Functions/* I don't understand your intended semantics of "out" and "in" here, which argues against "expained in two minutes," but the point of shell builtins is to provide building blocks for solutions like you seem to be thinking of here. } Sheesh, even Bart forgets how it works ... Actually that's because I don't use it. I'm nearly always either running everything out of a development tree where I recompile zsh (or pull new functions from git) sometimes multiple times a day, or else running the same shell nonstop for weeks at a time without ever restarting it. There's no point in trying to keep a compiled bundle around if I'm never going to reference it.