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,RCVD_IN_DNSWL_MED autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 31931 invoked from network); 15 Aug 2023 02:33:45 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 15 Aug 2023 02:33:45 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1692066825; b=Zg0PpUwCDNmP5E7BkXuWr81cL7wtzCle11jRnwl9G92hjHbdgEoHo8LvKTMK8F45GONZxWEVgp 4Xr/b7XBab0p9JrAA7nqUiOqhTOaWbc6ebWCJzsp6jXLiTVunKm+UlklLkFkY7CJNJ8ycnyApU PmGmR/Zq3LIY2QpuzkWDme42H1te6p/6t9gp9EovSUZBkJZyuoGnhvwYiE2hKJncGn39m8GRLE e//7c5PC0JhmuSqX5432LnEy76ozKvbR84kC7DxK842TtHxo6hKHCa7a9n0BwLu0BELCWPUUaN +CbZ0iafWR6V80kHTWcLH3zE/KBf/LHDuEVViJkWuYPU0Q==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (mail-lj1-f171.google.com) smtp.remote-ip=209.85.208.171; dkim=pass header.d=brasslantern-com.20221208.gappssmtp.com header.s=20221208 header.a=rsa-sha256; dmarc=none header.from=brasslantern.com; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20210803; t=1692066825; bh=kZ/aZtRR8EjaWgLaKH8B0aztsfq7VCYrFVV1osoE5oE=; 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=NBqTWFwjN1L1zij8828lv/wjbBMXk2IgvWXNgSQFwsRVDKp+0h+MebRTMyLrxXobxvHSpQqfoS 5ugoxhe/sjY2CPiWts2VpflnHjQknjFcIfAXRm2jFAnbpJnONZwZS0g/5WzebWJ2yl9YYj3r69 Ddcn/qOkAGHoToWnVdlj/u/Oh7V882T+GJSjjgeUgqunD2XE1S+dKNAFjKRi0QYR4vZrbeMsmw 5c+DK9PQjtPV2xpuBW0WpqZryGdOWk/NMQ6HEZVFFjYr9sThtPqycqLKGoaCV1u8hNMKielbmT Q0eSScimY9tbYZDyHq/OMHu0MQOkbfif1bMXi9tUyF5Z3A==; 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=2mkhjYn5SXnjo3xeq0PSGNR+JheNGgm1ouek3+Bobzw=; b=T/uyXVNVe1OtTwD3FJaQsmfecg +V69hsUYBXFcO9PQSBfAaRrg5VmXG9z7j0CtVMfQ09WKNnwIpU/+bYEo659iXLrBK9jzqegWOrKs5 2XxgBJBM5szEme5qHxE6Hk9b++e1hs0K5T6Gv2bVervvUMY2+KOxRFdDCkj+qspR/7yrgIvFoz649 GTp0VASqEgI9CZ2BhBjWVbFPTm00AT/bsKCimzMXUaV+oTSrGmfgW3r8Ku0LYSvQltd4nZ6a7T3+o 1z9Ri8rYbYdOeqKVq58INkgcB9fQa47Md2a05zOnRobAhP7r0VC6ur1e4ksgLW9e4FZFrZGoDw0ZP +WB0x5aA==; Received: by zero.zsh.org with local id 1qVjsO-000Pys-6G; Tue, 15 Aug 2023 02:33:44 +0000 Authentication-Results: zsh.org; iprev=pass (mail-lj1-f171.google.com) smtp.remote-ip=209.85.208.171; dkim=pass header.d=brasslantern-com.20221208.gappssmtp.com header.s=20221208 header.a=rsa-sha256; dmarc=none header.from=brasslantern.com; arc=none Received: from mail-lj1-f171.google.com ([209.85.208.171]:45277) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_128_GCM_SHA256:128) id 1qVjrW-000PIG-3u; Tue, 15 Aug 2023 02:32:51 +0000 Received: by mail-lj1-f171.google.com with SMTP id 38308e7fff4ca-2bad7499bdcso35518621fa.2 for ; Mon, 14 Aug 2023 19:32:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern-com.20221208.gappssmtp.com; s=20221208; t=1692066769; x=1692671569; 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=2mkhjYn5SXnjo3xeq0PSGNR+JheNGgm1ouek3+Bobzw=; b=4YYAujBMDGU83/M+Cu2VqmUnylgvSjt2U8jfBFX9PUWRjnUPt5Epkl3J9B/QtGiTO8 rI7qLGgKYf5iBTUl8IwK3cgupPnOSChMq7on9lubLX/0zZDJUly8IZIZGnX42+dS01lY bBYfVAiNdGoWHi8bqhDTOqUNLSTazBaQAPsLqaR5lIThcM0SD9Ej0ArBqYTxawkoBsS3 R0hDM4o8LS5ADRUo7BxM2Z+R1/9kKF7IeWiIJZ+t5m52V/b0YHZ4RpoY+Wo53uWf/Vo1 T4aYHF75dtuJPsLFPbE50zjyBcS2LTeQDySnxaAq8gGzcnAq9wscrJy8TSm9DaypntBK mPyw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1692066769; x=1692671569; 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=2mkhjYn5SXnjo3xeq0PSGNR+JheNGgm1ouek3+Bobzw=; b=Bfjgtag8sIc9ROwzvj5aM/twjYd/ECJQ5qfSJXQMas6reNanROeUBGoorTkaks9IK7 9aGFkHd63m/+dAp3nx++9Oz4RdJehTx0flsI3DFsXvTTpjcp8UlEJEKgnmwj4CX0P9hv H5wD4KS4fbR3c97w0bonotusHVZJxV6omsKFii6cUSm9Q772eav1Vh5MZhv6KC4ydcSH 79vRdDMh199P088WrWLydIRRYgxtUoqTi/hJp266tzD1WPx6Xuh2hL+H/37hQT6xSfdp r3r01LgTZxslbKSHDKma8zn/OWtdEme6t6ZeUFzyFJkl3A7GrYa59DKSeoH+rPoHgUeo oT+w== X-Gm-Message-State: AOJu0Yw/8S+03mz/hlPZoarv6rcZWJkc/mo1o5bSIAhoW88/lx2NdQDr SpAecZwCKKcwbbuBr0xVaa9XXEVvJLQiADS0wNheLQ== X-Google-Smtp-Source: AGHT+IGDJ8UNDu7ZFKHBfMVxD0RdHGB7g/0spvOZe/5YKuAb75bncIroAoWVTi1I8P9YFrSvUr0/LUPnuLHodIsN+hY= X-Received: by 2002:a2e:9bd6:0:b0:2b6:da64:734f with SMTP id w22-20020a2e9bd6000000b002b6da64734fmr8995658ljj.47.1692066769033; Mon, 14 Aug 2023 19:32:49 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Bart Schaefer Date: Mon, 14 Aug 2023 19:32:38 -0700 Message-ID: Subject: Bash history (was Re: [blank]) To: Budi Cc: Zsh Users Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Seq: 29124 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 Mon, Aug 14, 2023 at 4:20=E2=80=AFPM Budi wrote: > > What is Zsh equivalent of bash history -a save the recent added ones I suspect you're looking for fc -AI ... or if you have SHARE_HISTORY enabled, you might want fc -ALI ... > fc -A ~/.bash_history This is not a particularly wise idea: bash and zsh do not store history in mutually compatible formats.