microsoft / microsoft/terminal

Pane history not being saved (GitBash)

Open
#11,697 12 comments 3 reactions 1 assignee Claimed by @DHowett View on GitHub
Area-Server Issue-Bug Product-Terminal
Dominant language
C++
Stars
105k
Forks
9.6k
Avg merge
3d 17h
Merged PRs (30d)
29

Description

### Windows Terminal version (or Windows build number)

Windows 10 , Version 21H1 (OS Build 19043.1288)
Windows Terminal Preview Version: 1.12.2931.0

### Other Software

Git 2.33.1

### Steps to reproduce

I have three Git Bash panes in my Windows Terminal Preview setup.

I close Windows Terminal Preview by clicking the `X` button in top right of application.

When I re-open, my most recent history is not accessible in any of these three panes (ie pressing the up and down arrows on the command line).

It seems to have saved history from before I installed Windows Terminal Preview.

I have a `.bash_history` file in `C:\Users\Me` and I can see the history entries in that file.

I don't seem to have a `.bash_profile` file in that location (as related answers on stack overflow have suggested looking at).

### Expected Behavior

_No response_

### Actual Behavior

See `Steps to reproduce` section.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.