8000 "Up" key should recall previously entered command instead of previous command from history · Issue #1383 · fish-shell/fish-shell · GitHub
[go: up one dir, main page]

Skip to content

"Up" key should recall previously entered command instead of previous command from history #1383

@develop7

Description

@develop7

Repro:

  1. execute echo foo
  2. execute <Space>echo bar (prepend command with a space ( ) to prevent storing it in history)
  3. press key

Expected: <Space>echo bar is recalled

What happens instead: echo foo is recalled

This behavior is very convenient if a user wants to try various approaches to run command but doesn't want to flood history with non-working entries and/or entries containing private data.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0