• karpintero@lemmy.world
    link
    fedilink
    arrow-up
    3
    arrow-down
    1
    ·
    edit-2
    1 month ago

    I might try this. Normally would just pipe history into grep to search or scroll till I found the right command. Also smite is a great name for that function.

      • utopiah@lemmy.ml
        link
        fedilink
        arrow-up
        2
        ·
        1 month ago

        Right, I was starting to think “Oh yeah and maybe I could fzf history…” then wait, I already do that reverse-i-search then edit. If I use that often enough, alias in ~/.bashrc or even function to make it composable.