nushell / nushell/reedline

Command history additional alternative to sync_on_enter

Open
#806 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

A-History enhancement
Dominant language
Rust
Stars
818
Forks
249
Avg merge
4d 14h
Merged PRs (30d)
30

Description

Let us know about features you really want to see in reedline.

I want sync_on_enter, except that it would always still suggest the last run command in that terminal tab/window first. And only after that would it give the synced commands from other terminal tabs and windows.

References

Seems to be implemented in zsh, as it is only configured in omz.
The way I'm reading that is that zsh only has that one option (read sync_on_enter) but it works a bit differently. As sync_on_enter, after it has synced, will just give the last command from history, not last command in that tab first.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading reedline's existing sync_on_enter behavior and history handling, then compare the requested ordering with the linked zsh configuration. Done means a supported alternative preserves the most recent command from the current terminal tab before synced commands from other tabs, with tests covering that ordering.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
cli
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.