WSL icon indicating copy to clipboard operation
WSL copied to clipboard

Terminal does not save command

Open felipeyonehara opened this issue 5 years ago • 1 comments

Windows Build Number

Microsoft Windows [Version 10.0.19041.804]

WSL Version

WSL2

Distro Version

Ubuntu 18.04

Other Software

No response

Repro Steps

Just execute any command with space before and arrow up to see that the command wasnt stored in history.

Example: -normal command works perfectly $date

-bug1 (put a space before) $ date

-bug2 (put a space after the command) $date

Then check the history. It will not show the executed command.

Expected Behavior

Show up command executed with arrow up keyboard tap.

Actual Behavior

Command history not safe.

Diagnostic Logs

No logs needed due the simplicity.

felipeyonehara avatar Apr 15 '21 17:04 felipeyonehara

Thank-you for the report. This is linux-behavior.

image

therealkenc avatar Apr 15 '21 22:04 therealkenc