Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: How completions work, do they require fpath?
- X-seq: zsh-users 21183
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: Zsh Users <zsh-users@xxxxxxx>
- Subject: Re: How completions work, do they require fpath?
- Date: Tue, 26 Jan 2016 23:20:17 -0800
- 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==
- In-reply-to: <CAKc7PVCqw_Z+RnjzwEtoRVLSE1A9JSyVQYpg1E=6u5em5qDdkg@mail.gmail.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: <CAKc7PVCMPay34XS9up_CP-iZ79xPt2sZw35ngPBZZGN=_SRX_Q@mail.gmail.com> <CAKc7PVCqw_Z+RnjzwEtoRVLSE1A9JSyVQYpg1E=6u5em5qDdkg@mail.gmail.com>
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.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author