Skip to content

history delete function seems inadequate for common use cases #5791

@crabdancing

Description

@crabdancing

Using fish version 3.0.2-661-g6e525cc5d on Arch Linux with uxterm.

The main thing I find myself using history delete for is clearing a password from the shell history. Thus it would be reasonable to expect it to be easy to delete, say, the last 10 lines from history, or the history from the current session (but spare all other history).

But the interface expects me to delete by search term instead, which wastes time when I could have just typed history clear-session or something like history delete -10 (to delete the last 10 lines, ideally without it bringing up a confirmation thing).

What does everyone think?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions