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.4 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 29307 invoked from network); 16 Apr 2023 07:39:45 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 16 Apr 2023 07:39:45 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1681630786; b=Kas0Aclphfbx80DCb4RHszPkWfCDm7DO15t/EI5NS8U2MAifwX9dO5OhtTWfNtrkRspUUAGsZc SP9UH24lbeGXHeG8YAuvW/8kAhkx+1m/QCyf98MDD8RHvHJz/M/2GCbQaxp/2Sg2jt1AUWK6jG 60c5LTzISZeBnEnGGea7t2/NCh7ayHo1y6Pxqo1sq8WrknkYa3k/s6iAq9OrAsUUVfcsrB+iAn SvM788o5u8YWRObKCTblkXElJtNi4hrhijh97hA/nboDNnI2YeilQ9Moft12UDkwE72bpZRTin DyVWMtAjtRkFylP2cCXOCapxSaGEqemJgp1UXolfT7OH9w==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (mail-lj1-f182.google.com) smtp.remote-ip=209.85.208.182; dkim=pass header.d=gmail.com header.s=20221208 header.a=rsa-sha256; dmarc=pass header.from=gmail.com; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20210803; t=1681630786; bh=o02GDy6fXMr7+QxD5Q+usAeerAk5G+tydYwv2UyKvHk=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:Content-Transfer-Encoding:Content-Type:Cc:To:Subject: Message-ID:Date:From:In-Reply-To:References:MIME-Version:DKIM-Signature: DKIM-Signature; b=B0SYIJ7NXgDvGFQ7orQ8mtgr5DGF6QqOXRqy3R3LVl4Dx7nH0yfKHJMSHVGMGeGEbViHZW27LR 1ZPN/DyTHHJD+UoL5vSgEQvzDj7OVNXTHJVO3nAnaIBTllpVa76g8jGmLRfsWzvcBLPl20wvwZ fsnB7JDmHAy3Ea3Jh6KMWZ+wB9Mr42Sv1FgjltvTJbTr5J5J6WtRed2SS6F9jjXdx2KLgQsTXj 7mmyLNX4hATAtdge+0OJT7qVdj9zSo/WDAOWWsnUdNjc9rTMo2HAMto7ac54AxZuuQ5nPFIKJt 7FeXM8YN1LejTfWa1L76RfkCrc+vZRVi7IGcQwOs5l+eEw==; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=zsh.org; s=rsa-20210803; h=List-Archive:List-Owner:List-Post:List-Unsubscribe: List-Subscribe:List-Help:List-Id:Sender:Content-Transfer-Encoding: Content-Type:Cc:To:Subject:Message-ID:Date:From:In-Reply-To:References: MIME-Version:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=QzBYhCL2FL7QVywqeRiPba5jP/Ry7GUjG8x6wgvBJec=; b=P69IcAm/K7UDs6uLRqxUcowIKX ZVFeTgHzO8Di+j5XbvdU0YSNqAT3UYxTqlKxxyvw73AwkuCW3vHLoAPvfAvpmNc1bY9o7bbINLp8K 2efli8jqzvg23olHi+aD6q80bOtWSQZfp9T4pI4wbBM7lIHhekRq6wsgVr35dbWqba9+MllVHYKlY fAXk8RXBLSAfQYRmSX2NnkSRE0GG6c7pd1HtbeTl+hdf85vPum05W0heZQ9EHgW6GrqgKwKddO8iU xEO4T0so/E94/JmK5ESMtIxXZtVaLPH3lnSp/+5VslnLIdhAeKHikWy42Q7mL+naLfLrCcPoUPGVe WkKuhxRA==; Received: by zero.zsh.org with local id 1pnwzA-000EWf-LX; Sun, 16 Apr 2023 07:39:44 +0000 Authentication-Results: zsh.org; iprev=pass (mail-lj1-f182.google.com) smtp.remote-ip=209.85.208.182; dkim=pass header.d=gmail.com header.s=20221208 header.a=rsa-sha256; dmarc=pass header.from=gmail.com; arc=none Received: from mail-lj1-f182.google.com ([209.85.208.182]:44364) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_128_GCM_SHA256:128) id 1pnwxz-000DnN-6w; Sun, 16 Apr 2023 07:38:33 +0000 Received: by mail-lj1-f182.google.com with SMTP id 38308e7fff4ca-2a8aea2a654so7017351fa.1 for ; Sun, 16 Apr 2023 00:38:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1681630710; x=1684222710; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=QzBYhCL2FL7QVywqeRiPba5jP/Ry7GUjG8x6wgvBJec=; b=CzHRjY3bHezBwkLRLFX3UJjZrfevneth4ncVniAr4sGqRroxdkotgIdd27Aj/cWqvi zP4bp/ZROeQC3ttQY/yJvBROsf9x1+T3uSnZC+kRcE3sdDlUimPbgGqdTeeTdWh1Vdhd S28Y5YLZYYNHz8DoZYt5exZ6lHGONcVR1RPGSK02ylpxZdGS4aMWdgS998l6ykh0A8Qf Qg/aRqM/R0Ky1TLNbiPKN4zv2rYGw8Xf5BIwynMZBbEDFqZ97wxwP+lnS3Kp0hxKYGxH RRCLfu5SrljD2AWbcaqfHwYx2nST1CIMBfMk7fzTc/VvfxQ6qToJMHQ29b8UuGwUjQGj JPTw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1681630710; x=1684222710; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=QzBYhCL2FL7QVywqeRiPba5jP/Ry7GUjG8x6wgvBJec=; b=Cgofko8jeOD2usYBBpVuwkpzP80nqmySy/EW6jmC+tevT0lx1mU5xI0wDk/BafSkow dCi7jOGIGhwgiodnnLtXAhyiFyR3cpdQscxSoMt6HiqB65cYnlPLq3jDlDL3gHY0BjZ8 CmK26ylQpBp5wP/XNeSZqM10adL1CKXnuxt/1FLUHJj8MpizuRO5iF5bwW/AfEk9Eq05 UVRQNJCFI08xyYzKDSzv2sQyL7noRbeq8LUylJg0QxwbtPdB7imbAU8Szgphw0FdBjkl VlenuY5xFIT7UWCDQ9ex+crlSo180fo4SF701lULraIeKrxErVc5mpiWYjPV+j5nfADx /oPA== X-Gm-Message-State: AAQBX9ctW6x7hQ+vrrZ9twE4dHTn9QWqJ9w/9HjjKttexlsMFI51XsDw rmLUsoTLTN4Yu9m/au9tKL+8cFX8dcUP2hemPb0= X-Google-Smtp-Source: AKy350Yd/95Ia6FOF1ydCM7Dx+JlwH62kTmwJng/crsRfzmkxMqHF9fUDPmgycRC1r6HFp8SyzNuTfmUXkyVU49Gzo0= X-Received: by 2002:ac2:5dd2:0:b0:4ea:8659:6deb with SMTP id x18-20020ac25dd2000000b004ea86596debmr1131546lfq.0.1681630710039; Sun, 16 Apr 2023 00:38:30 -0700 (PDT) MIME-Version: 1.0 References: <81609CF4-42DA-4E0F-A6E5-C5D58578B4F7@easesoftware.com> <9a1f77ea-ee4e-95ff-a571-5cd3ddce6cb2@eastlink.ca> In-Reply-To: From: Roman Perepelitsa Date: Sun, 16 Apr 2023 09:38:18 +0200 Message-ID: Subject: Re: .zsh_history To: Ray Andrews Cc: zsh-users@zsh.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Seq: 29028 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 Sat, Apr 15, 2023 at 5:31=E2=80=AFPM Ray Andrews wrote: > > All I want is to be able to recover a command tail *exactly* as it was ty= ped. > > my_function () > { > grab_tail # writes tail to 'my_tail'. > echo "my tail, exactly as typed, is: $my_tail" > } > > $ my_function $path $(eval 'ls *') one two three ! < > ``.."" &>^! > > my tail, exactly as typed, is: $path $(eval 'ls *') one two three ! < > > ``.."" &>^! What would this do? % list=3D(my_function arg) % $list What I typed is `$list`, but what is "tail"? Roman.