From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7319 invoked by alias); 17 Sep 2015 17:34:24 -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: 20574 Received: (qmail 14638 invoked from network); 17 Sep 2015 17:34: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 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=isN9NsAygXY8N9vVSqlAf0iLfnPz/LFOSfdG2il3zN8=; b=hjsfc+Uq5847tvatTfwEpO3+YQ0uRnQlXcKcz8mCvIMpc/0e6UooTGenSRH46epKhs h/tR1VZC1ukXUNwBCSiSzAxryTrSJD0RhsA8aE4AH8BRYEeMpU3TDd0+xM+92ObMguLN 0JhGMev1x3p2nGKl50DLqg71zqgPzS8j9JmKjXg+06BKg2pYwMadks40rrGsHssmZFy8 Fca6hLHAfh2PEon+XAWd2QtDO1cmf1jJAQ3tSstsUZH5MILcz3UmMOIYaC6GIBQ0duTN x7+e4OIgo0DO/524YYbqWgTtciO2cEyykovQXLqL6BAM9xA+XV9iusfmK2QWnszuqSgO DAsw== X-Gm-Message-State: ALoCoQl39bNRmuN4eUfhemeL1OHEmlfpspJcqrdLNktyGgEDPDRoi1Uyf/IropS66329Ke+YTwUc X-Received: by 10.202.180.212 with SMTP id d203mr348691oif.46.1442511262160; Thu, 17 Sep 2015 10:34:22 -0700 (PDT) From: Bart Schaefer Message-Id: <150917103419.ZM10067@torch.brasslantern.com> Date: Thu, 17 Sep 2015 10:34:19 -0700 In-Reply-To: <55FAE223.2080502@eastlink.ca> Comments: In reply to Ray Andrews "autoload" (Sep 17, 8:54am) References: <55FAE223.2080502@eastlink.ca> X-Mailer: OpenZMail Classic (0.9.2 24April2005) To: Zsh Users Subject: Re: autoload MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On Sep 17, 8:54am, Ray Andrews wrote: } Subject: autoload } } # Assume starting here with the default $fpath I think the problem here is that you've put a .zwc file IN a directory that is itself listed in $fpath. This is typically a no-no. You want a .zwc file to be treated as if it WERE a directory, NOT as if it were one of the function definition files IN the directory. If you must have the .zwc where you've presently got it, then you need to exclude it from the file pattern $^fpath/*(N.:A) -- which is easiest if you have extendedglob set, so you can write $^fpath/*~*.zwc(N.:A) instead. } /aWorking/Zsh/Boot/ztest:5: parse error near `)' } /aWorking/Zsh/Boot/ztest:zcompile:10: can't read file: /usr/share } /zsh/functions/Completion /Base.zwc See, zcompile (without the -t) is attempting to parse Base.zwc as a function definition, and getting what looks like garbage to the parser. (I have no idea where those spaces in the path are coming from.)