From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9174 invoked by alias); 2 Aug 2013 10:39:08 -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: X-Seq: 17905 Received: (qmail 19324 invoked from network); 2 Aug 2013 10:38:52 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW, T_TO_NO_BRKTS_FREEMAIL autolearn=ham version=3.3.2 Received-SPF: pass (ns1.primenet.com.au: SPF record at _netblocks.google.com designates 209.85.212.173 as permitted sender) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=P5k/AaIzWZViGbe/P2AtOnqy4Yzr/EApScioZGlcy+0=; b=gai5L0nrOph+Yya7pJXyPRXb0oCmfcyX2KNUWSYCPD4mdGfYQBsFQYd1kMHAiWjEy/ 1dTEcMpw/I9EiqKXq/l4Hw316z1xaq9wqEoCNeFJVi5Bk53DiOpx374mSVdE717McAnZ mjR4uLG8c02ckP0OHAzIMtp03c65v1p7ap6nkUj4Mo/ZoDbuSYk3vmexkY2ZNJ7gjf7U FdojYhE73AqtfTO5viCzx6bul8j5mpP3xC6FLvj8r3wqSq1rBuiW57ZIuUfiWuqSPJGe +lHwXwDkBwlW30iKtqMDF6pu2VXBjvoUKF5BkVnbsXut2mo+Y4SnhSKpZpNpr+s2644e XTEg== X-Received: by 10.180.75.148 with SMTP id c20mr1387429wiw.25.1375439925413; Fri, 02 Aug 2013 03:38:45 -0700 (PDT) Message-ID: <51FB8C33.30108@gmail.com> Date: Fri, 02 Aug 2013 12:38:43 +0200 From: Maarten Grachten User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130623 Thunderbird/17.0.7 MIME-Version: 1.0 To: zsh-users@zsh.org Subject: search through alternative HISTFILE Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Dear zsh users, As part of an attempt to archive my command line history, I have a need for bck-i-search (as normally invoked by Ctrl-R), but with a history file that is not $HISTFILE, that is, a different file from that which the current shell uses for saving its history. As I envision it, Ctrl-R would still search through the current shell's history (i.e. through $HISTFILE), and another key binding would search through an alternative but constant histfile (say $HOME/.accumulated-history). Is this possible, and if so, can any of you give me a hint as to how to achieve it? Many thanks in advance! Maarten