[Pkg-zsh-devel] Bug#875460: zsh: RM_STAR warning counts files as though DOT_GLOB is set

Daniel Shahaf danielsh at apache.org
Mon Sep 11 15:07:40 UTC 2017


Control: retitle -1 zsh: RM_STAR warning counts files as though DOT_GLOB is set
Control: found -1 5.4.1-1+b1

Maxime “pep” Buquet wrote on Mon, Sep 11, 2017 at 15:34:36 +0100:
> Just ran into zsh giving me a slightly off count during the
> confirmation of `rm *`. The count matches the number of files (including
> dotfiles), but the actual number of erased files is 4 not 19.

Thanks for the report.  I can reproduce this with upstream 5.4.2 (not
yet packaged):

$ zsh -f
% cd $(mktemp -d)
% touch ./foo ./.bar 
% rm *
zsh: sure you want to delete all 2 files in /tmp/tmp.65xnqgzMAY [yn]? y
% 
% ls -A
.bar
% echo $ZSH_PATCHLEVEL
zsh-5.4.2-1-gab6ac7313

> Not sure what else to include, please poke me if you need more
> information.

For future reference, a descriptive subject line would have been
helpful.  I've fixed this for you now.

I'll forward this upstream.

Cheers,

Daniel



More information about the Pkg-zsh-devel mailing list