Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
search through alternative HISTFILE
- X-seq: zsh-users 17905
- From: Maarten Grachten <maarten.grachten@xxxxxxxxx>
- To: zsh-users@xxxxxxx
- Subject: search through alternative HISTFILE
- Date: Fri, 02 Aug 2013 12:38:43 +0200
- 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==
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author