From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) 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.2 Received: from primenet.com.au (ns1.primenet.com.au [203.24.36.2]) by inbox.vuxu.org (OpenSMTPD) with ESMTP id f71b5d0b for ; Sat, 22 Feb 2020 00:37:23 +0000 (UTC) Received: (qmail 2984 invoked by alias); 22 Feb 2020 00:37:18 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: List-Unsubscribe: X-Seq: 24704 Received: (qmail 2668 invoked by uid 1010); 22 Feb 2020 00:37:18 -0000 X-Qmail-Scanner-Diagnostics: from mail-lf1-f54.google.com by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.102.2/25725. spamassassin: 3.4.2. Clear:RC:0(209.85.167.54):SA:0(-1.9/5.0):. Processed in 4.308598 secs); 22 Feb 2020 00:37:18 -0000 X-Envelope-From: schaefer@brasslantern.com X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | Received-SPF: pass (ns1.primenet.com.au: SPF record at _netblocks.google.com designates 209.85.167.54 as permitted sender) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=iY716ePhsk+GYP/xNpHrROwUGfQwY0U40Ru36BSQRtM=; b=cuv3/tTj3RUwe1Ncm9ENOExthzVKUhraXmlo74SRDgl/RhO68RpMrjVGdZjck2Z545 ufp0vay9Ara0KL/VS3+u6c6hWS4oSr/D77EFa2NgcGsgVuzL1VWVZKTMLKmNxwem+QIe 9NJXoc63sInogonvAtXHiufE9zjIXh1VppjQ2QHql+21kms2U9BYz71yAuPsZNzlkW+l Axv1kdOgAmtUB8FK0D/l+5HeJJ5KcIuCSpvFUnfJnxmbpHt4yIbjGxCaFZPyxl3VFY7S BQM6hbdUOBUDsO2RhNGnVwuQ51MOh0wR1SRnBKmy0lo6bu5cUZYM2nYHN2IuHpv/Pfhu 2lfQ== X-Gm-Message-State: APjAAAVJ7Ljq5fwojIMoWkVoGCEvckCK43wbUucfmLF2GuUB/8gmi+o4 eLDzedYdssHcSRcq7GGsY+9B5cJhn6jDq2q3/V7sOA== X-Google-Smtp-Source: APXvYqwS1OkeYzjcFQNlrZuKg4r+dDcvz0neEX1zFtFIGDkr0VmIVkpKbYs8/1g5ui4CYapNH8EvqIng8sF5RkEpdMQ= X-Received: by 2002:a19:f519:: with SMTP id j25mr21001244lfb.41.1582331798887; Fri, 21 Feb 2020 16:36:38 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Bart Schaefer Date: Fri, 21 Feb 2020 16:36:27 -0800 Message-ID: Subject: Re: history expansion To: Pier Paolo Grassi Cc: Zsh-Users List Content-Type: text/plain; charset="UTF-8" On Thu, Feb 20, 2020 at 5:20 AM Pier Paolo Grassi wrote: > > 20-02-20 14:16:45 root@bakeca-vivobook Path: ~ > : print -z '!!' > 20-02-20 14:16:47 root@bakeca-vivobook Path: ~ > : !! > print -z '!!' > > !! is resolved to print -z '!!' I'm surprised that no one has pointed out that history does not expand inside single quotes, but it does in double quotes. print -z "!!"