mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-02-21 03:02:55 +08:00

After accidentally running a command that includes a pasted password, I want to delete command from history. Today we need to recall or type (part of) that command and type "history delete". Let's maybe add a shortcut to do this from the history pager. The current shortcut is Shift+Delete. I don't think that's very discoverable, maybe we should use Delete instead (but only if the cursor is at the end of the commandline, otherwise delete a char). Closes #9454 (cherry picked from commit 052823c1202faf840c6d86644a21f0ad8c5b074c)