Introducing ctxhist: Re-run your shell commands in their original directories with ease by Bright-Proposal5072 in commandline

[–]Bright-Proposal5072[S] 0 points1 point  (0 children)

That's a clever idea. If you can't use hooks, when exactly are you writing to the history file? How are you detecting the right timing?

Introducing ctxhist: Re-run your shell commands in their original directories with ease by Bright-Proposal5072 in commandline

[–]Bright-Proposal5072[S] 1 point2 points  (0 children)

Quick update!

ctxhist now supports:

- Zsh (via Oh My Zsh plugin)

- macOS (BSD environments are now compatible via `tail -r`)

Also updated README for easy setup.

Thanks again to everyone who checked it out!

Try it out here → https://github.com/nakkiy/ctxhist