zsh-users
 help / color / mirror / code / Atom feed
* additionally saving history for each directory?
@ 2020-12-20 22:19 Greg Klanderman
  2020-12-20 22:32 ` Bart Schaefer
  0 siblings, 1 reply; 4+ messages in thread
From: Greg Klanderman @ 2020-12-20 22:19 UTC (permalink / raw)
  To: Zsh Users


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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-01-12 16:50 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-20 22:19 additionally saving history for each directory? Greg Klanderman
2020-12-20 22:32 ` Bart Schaefer
2020-12-22 16:00   ` Greg Klanderman
2021-01-12 16:47     ` Greg Klanderman

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).