Email or username:

Password:

Forgot your password?
Top-level
mhoye

Oh, I should mention a personal favorite I ginned up a long time ago: Per-project shell history.

This gist shows you how to keep a separate history for everything under /src/*

gist.github.com/mhoye/469ed97d

1 comment
Travis A. Everett

@mhoye I have been using project-oriented history for a while too, though it's based on named projects instead of directories.

I tend to leave a terminal tab open for most long-term projects, and the history module prods me for a project name when I open a new one. It also restores the right one for a given terminal ID on restore.

If it's an existing project, it'll switch to the directory I was last using for that project. It also has a little per-project init file.

Go Up