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

Re: [PATCH] Ignore EACCES when doing non-pure globbing



This hasn't been fully tested, but Prezto is seemingly working on
Termux with this patch.

You can simulate this condition like so (as Michael mentioned):

% mkdir inaccessible; cd inaccessible
% mkdir a; cd a
% chmod 000 .. # make inaccessible inaccessible
% touch a b c; echo *
a b c
% echo $PWD/*
zsh: no matches found: /tmp/inaccessible/a/*
# or "/tmp/inaccessible/a/*"




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