Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Can't complete path with hidden .zfs?
- X-seq: zsh-users 22714
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxx, zsh-users@xxxxxxx
- Subject: Re: Can't complete path with hidden .zfs?
- Date: Wed, 24 May 2017 12:03:40 -0700
- 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; bh=DQf02ZCC7Hu5sVrJ7OTres8vLzOU2U2polAVhRrlzc4=; b=XzSHhRQiGxSl5OyEkwDj8niFwf6Z93lcqPiZZkN9PR+lbf6a759peDK5tXwHb7CBNa WUXXCLfugBKZIzUl7KfaFU86QiBpeTeYn+Jko/3s6dRO3gSrDUs76w4F6M+XA4Ac7p18 yFhruNDVUFDjeDyF03xBER2KjYInBuLzsgeFjv/p9yED2nzcyL0nUSiePC/RIQ6LdA4Q jdA+BWMxq2+WBRUiarOmFu1Cj0Fbd2J/y0Um9TUylEeHrqwIqS1IE21DojqeSH4xuKFJ yZJ6H96BKMgAiYTZ4hP0zXuIeHKLrt7CzOk4kXLQAyO+cwMgbsxWFLrW6Bwp3ACIVT/E vrVQ==
- In-reply-to: <20170524104148.GA31624@lilyforest.localdomain>
- 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: <CGME20170518034638epcas3p184182faf0a2f6197f34386a052b7c856@epcas3p1.samsung.com> <20170518034452.GA22579@lilyforest.localdomain> <20170518100220.14cb480e@pwslap01u.europe.root.pri> <20170519033809.GA16150@lilyforest.localdomain> <20170519093052.1832023d@pwslap01u.europe.root.pri> <20170524104148.GA31624@lilyforest.localdomain>
On May 24, 6:41pm, lilydjwg wrote:
}
} It'll be great if I can use a custom function to decide what to add, so
} I can add .zfs only when it actually exists.
There are two ways you can go here.
If the .zfs mappings don't change very often, you can test at the time
your .zshrc etc. are read and assign to fake-files at that time.
On the other hand if either they change during your shell session or
the check for them is very inexpensive, you can use "zstyle -e" to
have a command executed every time the style is looked up.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author