From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13141 invoked by alias); 27 Jan 2016 07:19:36 -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: 21183 Received: (qmail 10538 invoked from network); 27 Jan 2016 07:19:36 -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,T_DKIM_INVALID autolearn=ham autolearn_force=no version=3.4.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern-com.20150623.gappssmtp.com; s=20150623; h=from:message-id:date:in-reply-to:comments:references:to:subject :mime-version:content-type; bh=HLlig2YtQ/4nhCQgw9IhoxzmkjaIvA6Gu9j5c/ssvkM=; b=mfO5mK5aZoOfvxcxEMcVSH5YbFJN91FHqQz7qgt3OIgIXOEJtUKzkku5y6HT2xXt5D 4lIEDXf/qN2IgrZAwjl4L0c7qMI7p1d8wzTyBCaZAxkq3/kxqFU+6LBld7vaVvMJI4zy U0uS1g0DdTXZwxenSb/D9sJWA4xUCX8wPaETqU+dJT3OCYLsqXzXcbyjgoYGgBq2mf6D 7gtjCZx8Z2YLXEenepGfcaIJWoA3pA8jWtDyjyqfLqIM12OhuV69HDpGAy42jh75ur6h vG9UHVG+hL0YyvTDEy3QH/1PF43zBA+AlH4fdmzJjSm2NYNToEiIut5sZ2FQgkLDT8JD Wghg== 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=HLlig2YtQ/4nhCQgw9IhoxzmkjaIvA6Gu9j5c/ssvkM=; b=D6zSgOXOaoOI2pDr3p2M59OWmMy6Jm3YhVeo2aqz0HgnMrYi9Fr1ZV55nOVNl6Ub8n sQ/KXPXYKIsCyT3vguN5ixOCH6N0ezVavaw44HdyAuufBE6hJP26ftOQNub2cjCFOYlc 8sR8G28DPc44klEvu1oNvLFgtRZenWz68OfcNVr9DSp3IsA6br4UGFM9fc4y56uVv8cJ tntuSz10GHCIVJMS/f/0ZI4IzMW6GAph3Z2suZ7q4HQQRMTy/f/u8PnUFu832hDY/Nca By3buTCGIrOube1rIorXdzQtVR8r7Mo1fQJyzn6NgZVHatvIlAFCGFXa9wOyQl7uICZ2 IOMw== X-Gm-Message-State: AG10YORCtkQnvck8zKA8gZCOvhBkFHqNkeaiPvTeRS6faMwMsr2hkh1chdkZGnQsggfAhQ== X-Received: by 10.66.118.198 with SMTP id ko6mr40110098pab.122.1453879174312; Tue, 26 Jan 2016 23:19:34 -0800 (PST) From: Bart Schaefer Message-Id: <160126232017.ZM3789@torch.brasslantern.com> Date: Tue, 26 Jan 2016 23:20:17 -0800 In-Reply-To: Comments: In reply to Sebastian Gniazdowski "Re: How completions work, do they require fpath?" (Jan 26, 8:51pm) References: X-Mailer: OpenZMail Classic (0.9.2 24April2005) To: Zsh Users Subject: Re: How completions work, do they require fpath? MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On Jan 26, 8:51pm, Sebastian Gniazdowski wrote: } Subject: Re: How completions work, do they require fpath? } } So this suggests that if there is Base sub directory in $_compdir, it } will be used by completion. Tested this and that's true. Quite } contradict to manual which says: No, it doesn't contradict the manual. The check for a directory named "Base" is to distinguish "configure --enable-function-subdirs" from the default configuration which is to avoid creating subdirectories. If the "Base" directory is present it's expected to contain all the files from Completion/Base/ in the source tree, and although the explicit check is not done the directories AIX/, BSD/, Cygwin/, etc. are also expected to be found within $_compdir in that case. This is NOT an indication that you can co-opt these directories for plugins, nor is it "safe" to run compinit more than once with a new value of $_compdir -- I'm fairly sure you will mangle, or misuse, or both, the ~/.zcompdump file if you do so.