Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Can't complete path with hidden .zfs?



On Fri, May 19, 2017 at 09:30:52AM +0100, Peter Stephenson wrote:
> Here's some improved documentation about the cases in question.
> [...]
> @@ -1428,9 +1434,10 @@ or colons in var(dir) should be quoted with a backslash to be treated
>  literally.
>  
>  This can be useful on systems that support special file systems whose
> -top-level pathnames can not be listed or generated with glob patterns.
> -It can also be used for directories for which one does not have read
> -permission.
> +top-level pathnames can not be listed or generated with glob patterns
> +(but see tt(accept-exact-dirs) for a more general way of dealing
> +with this problem).  It can also be used for directories for which one
> +does not have read permission.
>  
>  The pattern form can be used to add a certain `magic' entry
>  to all directories on a particular file system.

Thanks. But with fake-files, I have to list all paths that are root of
a zfs "filesystem". It isn't going to be easy to maintain, so I prefer
accept-exact-dirs.

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.

-- 
Best regards,
lilydjwg



Messages sorted by: Reverse Date, Date, Thread, Author