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=-3.3 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, MAILING_LIST_MULTI,NICE_REPLY_A,RCVD_IN_DNSWL_MED,UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 26104 invoked from network); 27 Apr 2021 14:50:45 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 27 Apr 2021 14:50:45 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20200801; t=1619535045; b=Ty2fFILpD3yUzcLts7FPvDX/0x6TlFuCETWMno8un/9ctptOyFgNt1TTcbRDFQh74Hrz/8tPfY T5/xggoPaytGg2pfD2D/zcjEjQrplFT+yqZZALfbsHr6lBocGZesa5fPj4+QzxOMuy2Zk4YiNn 1hSzCXNX5Cr5sZ5HeeO5rjWphnvYp8Ai26rPcDsJdmkVc4QjyFoS6F962+CD14CYjnacvzH3gZ iU5tYqVmO5+GH3AAey6X2E6BOTSZL0SzSbOOM/czS5ZqzG573ScbV7ACATHnA7O6vSg5Ou0phF y+4kl3qqawRnFhBmYRnlISJkGW2E2Wr+knBiGf/JUlYAsA==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (p3plsmtp13-01-2.prod.phx3.secureserver.net) smtp.remote-ip=173.201.192.162; dmarc=none header.from=rayninfo.co.uk; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20200801; t=1619535045; bh=gKHJ3CkofsdE+RIkG898habuP5oBwkgbVmoweoRgAok=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:Content-Transfer-Encoding:Content-Type:In-Reply-To: MIME-Version:Date:Message-ID:From:References:To:Subject:DKIM-Signature; b=K6vXgc3DbqK31hxfLoP1BYVj/E2XLHw73ExnntMp0L1kaCgYLoKkN5WaHC3x5pjYHZ9Xzg7FAW WNK4mjv7GATBB36h8Ox23GAsyGByyJN3BixCsolFS/3uakIqpGCTaxXxHn4WR8WmDaOvB82CXL piVDlcrpagegttFUPy4AT08IvXyhwcHtkFLzsx9ytBpS9yzvDoQCQwok7abhvZ0GxKv8Kk9RE1 zH02xgH/tZWI2LpCwWos3Hg0QaUfsiaaEJ0wLXDaTNdey7x4D3qRTSl6eQaO7LrapunZFDgAiU yj3nNIR2tl0uHDtbcPLxv2dMCMXDd37NvCq2V2xpUjczEw==; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=zsh.org; s=rsa-20200801; h=List-Archive:List-Owner:List-Post:List-Unsubscribe: List-Subscribe:List-Help:List-Id:Sender:Content-Transfer-Encoding: Content-Type:In-Reply-To:MIME-Version:Date:Message-ID:From:References:To: Subject:Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=TW7uoPAMUy5d76Uk8JsZiU+rn5toahlVCQsg4k0t6gI=; b=TuPZZmNUvk+izz89S7rW4o6Vmr m9sL/pcBGUPx8Y8M6Xq8nwrPj78D/w+zN6/t84a7TNvf16v3WuWDNEWakAl5T84mLYzvTTQPN8pr0 P/IvUe3yK8u0hCE/4PE0M3S8V0v36fDf/6GF2ujj0Tbb0DRuHZVMMOtlvAhWctjSSA2uPsSqHd02k 9pQ80yJlLDwn1tcwF2THWT29l/lnZZSfpDytLvbMuJzpOzRBpqw1J2jhg3uwt23TgTQVEuLaJw8wn MQx44QQ+zttqgk9hSHqWRXArYSv2exe6tK9MMfKpsTgeqKQej+9iNi//wF7ubrmz5vDAnWtBli5SB NKI10DOQ==; Received: from authenticated user by zero.zsh.org with local id 1lbP2w-00075I-Cb; Tue, 27 Apr 2021 14:50:42 +0000 Authentication-Results: zsh.org; iprev=pass (p3plsmtp13-01-2.prod.phx3.secureserver.net) smtp.remote-ip=173.201.192.162; dmarc=none header.from=rayninfo.co.uk; arc=none Received: from p3plsmtp13-01-2.prod.phx3.secureserver.net ([173.201.192.162]:51273 helo=p3plwbeout13-01.prod.phx3.secureserver.net) by zero.zsh.org with esmtps (TLS1.2:ECDHE-RSA-AES256-GCM-SHA384:256) id 1lbP2O-0006VD-8F; Tue, 27 Apr 2021 14:50:09 +0000 Received: from mailex.mailcore.me ([94.136.40.141]) by :WBEOUT: with ESMTP id bP2KlaJAqUBdAbP2LlKFiQ; Tue, 27 Apr 2021 07:50:06 -0700 X-CMAE-Analysis: v=2.4 cv=Ctl6zl0D c=1 sm=1 tr=0 ts=6088249e a=bheWAUFm1xGnSTQFbH9Kqg==:117 a=MSuxXlsgQg/r+Vijqd6nqw==:17 a=toa1DQ_u1RAA:10 a=IkcTkHD0fZMA:10 a=3YhXtTcJ-WEA:10 a=22Ro6XbQAAAA:8 a=NHqbrBG21VKmryNhKygA:9 a=QEXdDO2ut3YA:10 a=p1RiBf0vZFgkX3Jmbd9N:22 X-SECURESERVER-ACCT: zsh@rayninfo.co.uk X-SID: bP2KlaJAqUBdA Received: from [95.150.51.97] (helo=[192.168.1.231]) by smtp06.mailcore.me with esmtpa (Exim 4.92.3) (envelope-from ) id 1lbP2K-0004R8-Eq for zsh-users@zsh.org; Tue, 27 Apr 2021 15:50:04 +0100 Subject: Re: cd with wildcard fails instead cd's to home To: zsh-users@zsh.org References: <8e6420d4-84a6-7c69-750d-81f904f215d2@rayninfo.co.uk> <1329683328.491734.1619532075333@mail2.virginmedia.com> From: zzapper Message-ID: Date: Tue, 27 Apr 2021 15:50:04 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.1 MIME-Version: 1.0 In-Reply-To: <1329683328.491734.1619532075333@mail2.virginmedia.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-Mailcore-Auth: 8308408 X-Mailcore-Domain: 840527 X-122-reg-Authenticated: 8308408 X-Originating-IP: 95.150.51.97 X-CMAE-Envelope: MS4xfM3PoTc6gPaD7YGgYzdgRwPEP5ZJvx8e7GaaUP97pIPE88FIvggZHuAFPwba+yLdTFeQ/QaUGKHmsAA/kRp9zSv87swmjxqVc62/kF6q3I/k7zfeqJC+ X0tlo5mMq4kfji3htmrRAbiDtK5A+5F9ZfNhCaEe+VdZLBf4nxygPJdLiXPgB6/6y8E/31X+k18tfg== X-Seq: 26709 Archived-At: X-Loop: zsh-users@zsh.org Errors-To: zsh-users-owner@zsh.org Precedence: list Precedence: bulk Sender: zsh-users-request@zsh.org X-no-archive: yes List-Id: List-Help: List-Subscribe: List-Unsubscribe: List-Post: List-Owner: List-Archive: On 27/04/2021 15:01, Peter Stephenson wrote: > On 27 April 2021 at 13:46 zzapper wrote: >> ~/Videos/kdenlivedemo > cd gggg* >> ~ >      # <<<< BAD I've cd'd to home -- no warning message > You've got the NULL_GLOB option set, which simply removes any argument > with pattern characters in that doesn't match. PWS, >>> thanks that was it. <<<< #setopt nullglob  # stops  a glob barfing if no matches <<< NOT EVEN SURE THAT EVEN HELPED JUST A  BIT OF FORGOTTEN CLUDGE in my .zshrc It was stopping a longish script from working but it took me ages to isolate the problem. I eventually whittled the script down to the one line that was the culprit but a ton of red herrings on the journey !! echo "Now can you give me back 6 hours of my life back LOL" zzapper