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

Re: [Bug] Strange Globing Behaviour when used with sudo



Bart Schaefer wrote on Wed, 30 May 2018 11:06 -0700:
> On Wed, May 30, 2018 at 10:11 AM, Bengt Brodersen
> <bengt.brodersen@xxxxxxxxx> wrote:
> >
> > ```
> > echo ./*/
> >>> ./folder/
> > ```
> >
> > ```
> > sudo zsh -c 'echo ./*/'
> >>> ./file/ ./folder/
> > ```
> 
> I am not able to reproduce this.  More info about your execution
> environment, please (operating system, etc.)  Also, does it happen
> with "zsh -fc ..." ?

Bengt reported the same issue to z-sy-h
(https://github.com/zsh-users/zsh-syntax-highlighting/pull/518), there
he said he was using:

- macOS 10.13.4 (17E202)
- zsh 5.5.1 (x86_64-apple-darwin17.5.0)

and that the issue still occurred under -fc.

(Bengt: you were correct to report the zsh issue here, but you should
have cross-linked the two threads, like I just did.)

Cheers,

Daniel



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