Skip to content

History partial completion with Up key isn't implemented in git-bash #3018

@AntonioRedondo

Description

@AntonioRedondo
  • I was not able to find an open or closed issue matching what I'm seeing

Setup

  • Which version of Git for Windows are you using? Is it 32-bit or 64-bit?
git version 2.25.1.windows.1
cpu: x86_64
built from commit: cceb69da75b4906bb04cfb3a2f7f37b12b985ec3
  • Which version of Windows are you running? Vista, 7, 8, 10? Is it 32-bit or 64-bit?
Microsoft Windows [Version 10.0.18363.1256]
  • What options did you set as part of the installation? Or did you choose the
    defaults?
Defaults
  • Any other interesting things about your environment that might be related
    to the issue you're seeing?

Nope

Details

Git-bash

For example, on bash on Linux, if in the terminal is written

npm

and I press the key , the history only will iterate over entries that start by npm:

npm i
npm list
npm view

However, on Windows using Git-Bash, what it's already written on the terminal will be ignored and when pressing history will iterate over all entries in reverse chronological order.

npm i
git status
ls -la
npm list
  • What did you expect to occur after running these commands?

If I press when npm is already typed on the terminal:

npm i
npm list
npm view
  • What actually happened instead?

What is written in the terminal is ignored and history will iterate over all entries in reverse chronological order

npm i
git status
ls -la
npm list

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions