warpdotdev / Warp

Warp is a modern, Rust-based terminal with AI built in so you and your team can build great software, faster.
https://warp.dev
Other
21.51k stars 376 forks source link

Per directory history #5336

Open snez opened 1 month ago

snez commented 1 month ago

Dupe Check

Describe the solution you'd like?

Warp is amazing, but there is one feature that I miss from zsh: Per directory history. I used to have this set up via https://github.com/jimhester/per-directory-history. It would allow you to have a history of commands that were ran from inside a specific directory, and would also allow you to switch to global history as needed with ^G. I hardly ever used the global history though.

If this is selected for implementation, one variation from jimhester's implementation that would be great, is for the directory history to be updated in realtime between multiplexed windows.

I have found 2 similar feature requests

2932 - this seems to have been neglected due to Workflows as an alternative, however Workflows look like a hassle. The easiest way to use this feature is simply with Up/Down arrows and nothing else.

4987 - similar, but suggests using Alt-Left/Right arrows which I strongly disagree with because you'd loose the IDE-style navigation between words.

A workable alternative is to somehow allow zsh plugins to be installed, that way I could simply switch back to https://github.com/jimhester/per-directory-history

Is your feature request related to a problem? Please describe.

This is very useful when working with git from inside project directories.

Additional context

See https://github.com/jimhester/per-directory-history

How important is this feature to you?

4

Warp Internal (ignore) - linear-label:39cc6478-1249-4ee7-950b-c428edfeecd1

None

snez commented 1 month ago

Adding more duplicates found:

2193 #2582