From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=MAILING_LIST_MULTI, RCVD_IN_DNSWL_NONE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 28799 invoked from network); 1 Jul 2020 10:03:11 -0000 Received: from ns1.primenet.com.au (HELO primenet.com.au) (203.24.36.2) by inbox.vuxu.org with ESMTPUTF8; 1 Jul 2020 10:03:11 -0000 Received: (qmail 26772 invoked by alias); 1 Jul 2020 10:03:01 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: List-Unsubscribe: Sender: zsh-workers@zsh.org X-Seq: 46169 Received: (qmail 27229 invoked by uid 1010); 1 Jul 2020 10:03:01 -0000 X-Qmail-Scanner-Diagnostics: from mxf963.netcup.net by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.102.3/25857. spamassassin: 3.4.4. Clear:RC:0(46.38.249.99):SA:0(-1.9/5.0):. Processed in 1.718837 secs); 01 Jul 2020 10:03:01 -0000 X-Envelope-From: jonas@braeutigamj.de X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | Received-SPF: pass (ns1.primenet.com.au: SPF record at braeutigamj.de designates 46.38.249.99 as permitted sender) X-No-Relay: not in my network From: =?UTF-8?Q?Jonas_Br=c3=a4utigam?= Subject: [Bug] incorrect warning when I type rm /* To: zsh-workers@zsh.org Message-ID: <7438d554-ae4d-01c9-84c1-993227efd6f4@braeutigamj.de> Date: Wed, 1 Jul 2020 12:02:19 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.9.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Hello, these days I wrote a command wrong. Instead of "$ rm ./*" <- deleting  in the current directory I wrote: "$ rm /*" <- deleting in the root path "/" zsh warn me with: "zsh: sure you want to delete all 4 files in /home/[user]/Downloads [yn]?" After I typed "y", it tried to delete the files in "/". So the correct warning should be: "zsh: sure you want to delete all X files in / [yn]?" I use debian 10.4 with no "rm"-specifiy plugin. Whatch out If you try it! :D Best Regards Jonas