Maximus5 / ConEmu

Customizable Windows terminal with tabs, splits, quake-style, hotkeys and more
https://conemu.github.io/
BSD 3-Clause "New" or "Revised" License
8.53k stars 572 forks source link

History Missing Using Up Arrow #2386

Closed NatalieGates closed 2 years ago

NatalieGates commented 2 years ago

Versions

ConEmu build: 210912 [64] OS version: Windows 11 [64] Used shell version (Far Manager, git-bash, cmd, powershell, cygwin, whatever): idk

Problem description

Before this latest version I could open ConEmu and hit the up arrow key and see my previous command history. This is no longer possible. I am not seeing previous history. When I press the up arrow key nothing happens. Nothing exists. Can you help me get this feature back? I looked in settings but I'm not sure how to change this setting.

Steps to reproduce

  1. Open ConEmu
  2. Press 'up arrow' key on the keyboard
  3. nothing in history

Actual results

nothing in history.

Expected results

history of all commands when i press up or down arrow to cycle through previous commands entered to easily run a previous command without retyping.

Additional files

null.

dodmi commented 2 years ago

Command history is not a ConEmu feature; it depends on the used shell. So "idk" isn't very helpful. As you're on Windows 11: PowerShell (or better PSReadLine, which is active by default) has command history over sessions, CMD doesn't have this feature by default.

NatalieGates commented 2 years ago

it's easily reproducible. update. type anything, press enter, press the up arrow. like magic it's there. close, reopen, press the up arrow, it's gone.

Can someone help me please fix this?

dodmi commented 2 years ago

cmd doesn't provide persistent history by default. I don't know, which tool you used before to get this. You can use Clink, for example, to get a persistent history with cmd. Clink can even be integrated using ConEmu settings: Settings -> Features -> Use Clink in prompt; note that Clink must be downloaded seperately (use the ... button next to the checkbox) and the files should be placed in [ConEmu dir]\ConEmu\clink

NatalieGates commented 2 years ago

You are incorrect. I'm not asking about any addon or tools. I used only ComEmu.

Can you please stop commenting on my issue. I don't think you understand. I would prefer the owner respond as they probably understand what is happening.

Please no more suggestions for addons or tools.

NatalieGates commented 2 years ago

Well it seems like everyone is super busy with their coding careers to help me today.

To get around this stupid bug I wrote a script that keeps the important commands I use daily. Not as convenient as the memory + up arrow but it will have to do since we have a super busy community base.

I'm closing this and will never ever look at any replies!!!!! jaja

Maximus5 commented 2 years ago

I would not recommend to insult other users who provided you a support and explanations.

@dodmi is absolutely right.

https://conemu.github.io/#Disclaimer

steveoh commented 2 years ago

For me this was a permission issue and once the file permissions were corrected I had history again. Unsure how they corrupted but it happened.