nushell / nushell/nushell

Recall parameter from history aka. Alt+dot

Open
#11,960 2 comments 4 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

A:history A:line-editor category:enhancement status:needs-triage
Dominant language
Rust
Stars
40.5k
Forks
2.3k
Avg merge
1d 19h
Merged PRs (30d)
85

Description

Related problem

Most other shell has the feature to insert (cycle though) previous arguments with Alt+dot. There are commands for cycling though command history (PreviousHistory/NextHistory) but I couldn't find any for arguments

Describe the solution you'd like

Add 2 command for moving though the parameter history.

Describe alternatives you've considered

No response

Additional context and details

No response

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 locating the existing PreviousHistory and NextHistory commands and reading how command history is represented. Define the two parameter-history commands around the requested Alt+dot-style cycling behavior, then add coverage showing that previous command arguments can be recalled and cycled.

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
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.