Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
additionally saving history for each directory?
- X-seq: zsh-users 26249
- From: Greg Klanderman <gak@xxxxxxxxxxxxxx>
- To: Zsh Users <zsh-users@xxxxxxx>
- Subject: additionally saving history for each directory?
- Date: Sun, 20 Dec 2020 17:19:13 -0500
- Archived-at: <https://zsh.org/users/26249>
- Archived-at: <http://www.zsh.org/sympa/arcsearch_id/zsh-users/2020-12/24543.52705.896312.857217%40lwm.klanderman.net>
- Authentication-results: zsh.org; iprev=pass (so254-31.mailgun.net) smtp.remote-ip=198.61.254.31; dkim=pass header.d=klanderman.net header.s=mg header.a=rsa-sha256; dmarc=none header.from=klanderman.net; arc=none
- Dkim-signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=klanderman.net; q=dns/txt; s=mg; t=1608502765; h=Reply-To: Subject: To: From: Date: Message-ID: Content-Transfer-Encoding: Content-Type: MIME-Version: Sender; bh=5JdxUGP4AE6S8i9bBt1Us2puxh4wWcYTzPg0Ex29YZM=; b=JqjVTXo12tJ/gju+6Z2V1HYA7b7n96fYfUxeT4Owudp0P3LWuByeM5Yqv/MbS0wXwxL7+WvL jI1ltoOKBKsEr0vUci7iKYn7hRzN8WMn7DwK8mgtx+e/b/ADDYGC1Xytv4ngFhUJfLCmnIQC rf9lwlA1u26KHOeKh3o8HP5FyK0=
- List-archive: <http://www.zsh.org/sympa/arc/zsh-users>
- List-help: <mailto:sympa@zsh.org?subject=help>
- List-id: <zsh-users.zsh.org>
- List-owner: <mailto:zsh-users-request@zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- List-subscribe: <mailto:sympa@zsh.org?subject=subscribe%20zsh-users>
- List-unsubscribe: <mailto:sympa@zsh.org?subject=unsubscribe%20zsh-users>
- Reply-to: Greg Klanderman <gak@xxxxxxxxxxxxxx>
- Sender: zsh-users-request@xxxxxxx
I feel like somewhat recently someone posted a few line example of
saving per-directory history, but I've been unable to find it.
Somehow that popped into my head earlier, and seemed like a useful
feature to additionally be saving history across shells to
directory-specific history files, and then have alternate key bindings
of eg. history-incremental-search-backward and
history-beginning-search-backward that search the history for the
current directory instead of the shell instance's history. Anyone
have a simple recipe for something like that to get me started?
thank you,
Greg
Messages sorted by:
Reverse Date,
Date,
Thread,
Author