Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: "zed -h" truncates history
- X-seq: zsh-users 30750
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: vapnik spaknik <vapniks@xxxxxxxxx>
- Cc: Zsh Users <zsh-users@xxxxxxx>
- Subject: Re: "zed -h" truncates history
- Date: Fri, 30 Oct 2026 16:28:53 -0700
- Arc-authentication-results: i=1; mx.google.com; arc=none
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20260327; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=ehTjC4EXg0honKuum/LZJlUusDhwmsoaooJUGxj25Z0=; fh=YxEneYf79K0kIfQKWf/wBdKYR7adhopVj4CdutXqM9g=; b=CYyZWXLIF9QWNEEb/DIJKd5xK0hsE5WuV9m56L74lanskBf3Ojt3lYwfGLDtC8uD3c XKl/CJv3Q1Ulhsc0xNXm9p9Nutkx1wC73YnUunYSH+dBsNOGin2wYnyTwHq6IKy3HIV5 MoDzzNdjCIuPqvPxibGC1P2wW0kjezVtQlUTBiGAVoqUmLiGrjhbNnXmWVr9hL14gm7D gzO3ZRlD2t3aAsARFSCxADyYSE8noov/4e0grlbIGnREqPDjrHJntBGXxPFtLe1VpHNp eJM965qWcFdvOE0afd3jCv11UlG8A8DedR0OIFPn9HjOVY7iCk+gEN3E2/2dwVa0wOKK KIhw==; darn=zsh.org
- Arc-seal: i=1; a=rsa-sha256; t=1793402945; cv=none; d=google.com; s=arc-20260327; b=ryoXwqzXyJR6y8pntD7fZFEiDyPjS6OuVEbQAVCmVxio/aTL6GPOyPihv0gnt69Sfk u1UtVDzaFI+2or0CrMks+WKPMnUq5Zc54IsxWtw3O70TzYpJ6w2jEL5xdplD5lAWdWra o96Z9S7E3ZZ6dpcRkZUvyNTBSHKBBoZdyxycKlPGDNu64u3b8h9IVgJf/leBHz/Vn46S G3ZMEVvmp6++8LFGz76UW1p3dEKuUfmCNTAYwgxsDSvCUnCELl54fJvq3xWnfR5zvMFp u7PgV2j8uP8jJmCPrgBrpSsCUsYmNPk+uQ8ClGcYGtTUdRR60cQW+9LMyAcYftCvLJdt QkLg==
- Archived-at: <https://zsh.org/users/30750>
- In-reply-to: <1356939840.1868661.1793397692191@mail.yahoo.com>
- List-id: <zsh-users.zsh.org>
- References: <1356939840.1868661.1793397692191.ref@mail.yahoo.com> <1356939840.1868661.1793397692191@mail.yahoo.com>
On Fri, Oct 30, 2026 at 3:10 PM vapnik spaknik <vapniks@xxxxxxxxx> wrote:
>
> If I set FCEDIT="zed -h" and then edit the previous command
"zed -h" is not intended to be used in FCEDIT. It's intended to edit
your entire current history, for example to remove commands that
contain passwords in clear text, or other history events that you
don't want saved. If used in FCEDIT, it will be passed a file name
that contains only the previous command, which will then replace your
full history exactly as you described.
For FCEDIT you should use just "zed" with no options.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author