home.social

#commandhistory — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #commandhistory, aggregated by home.social.

  1. Here's today's "peanut butter & chocolate" combination: I love `atuin`. I've been using it for at least a couple of years now. I love `fc`, though with `atuin` in place, it's harder to put yourself in an `fc` situation.

    `fc` excels: opens up some previous command in your favorite editor; tweak as needed; write and quit; the changed command is executed and added to history.

    `atuin` excels at almost everything else, but not this. My workflow in `atuin` to accomplish the same thing is:

    * use arrows or Ctrl-R to select the command that wasn't quite right
    * tab takes you back to the command line with the selected command, but does **not** execute it
    * I use Vi-mode, so I have to hit ESC, and then v (and because it's Zsh, v again) to get into my editor. If you use Emacs-mode (the default), I think it's Ctrl-X Ctrl-E to go from normal typing into your full-blown editor
    * tweak; write; quit
    * ...and now you have the edited command, **but it still hasn't executed**
    * hit return

    My Atuin PR addresses this: github.com/atuinsh/atuin/pull/

    #CLI #Atuin #fc #tui #editor #commandhistory

  2. Here's today's "peanut butter & chocolate" combination: I love `atuin`. I've been using it for at least a couple of years now. I love `fc`, though with `atuin` in place, it's harder to put yourself in an `fc` situation.

    `fc` excels: opens up some previous command in your favorite editor; tweak as needed; write and quit; the changed command is executed and added to history.

    `atuin` excels at almost everything else, but not this. My workflow in `atuin` to accomplish the same thing is:

    * use arrows or Ctrl-R to select the command that wasn't quite right
    * tab takes you back to the command line with the selected command, but does **not** execute it
    * I use Vi-mode, so I have to hit ESC, and then v (and because it's Zsh, v again) to get into my editor. If you use Emacs-mode (the default), I think it's Ctrl-X Ctrl-E to go from normal typing into your full-blown editor
    * tweak; write; quit
    * ...and now you have the edited command, **but it still hasn't executed**
    * hit return

    My Atuin PR addresses this: github.com/atuinsh/atuin/pull/

    #CLI #Atuin #fc #tui #editor #commandhistory

  3. Here's today's "peanut butter & chocolate" combination: I love `atuin`. I've been using it for at least a couple of years now. I love `fc`, though with `atuin` in place, it's harder to put yourself in an `fc` situation.

    `fc` excels: opens up some previous command in your favorite editor; tweak as needed; write and quit; the changed command is executed and added to history.

    `atuin` excels at almost everything else, but not this. My workflow in `atuin` to accomplish the same thing is:

    * use arrows or Ctrl-R to select the command that wasn't quite right
    * tab takes you back to the command line with the selected command, but does **not** execute it
    * I use Vi-mode, so I have to hit ESC, and then v (and because it's Zsh, v again) to get into my editor. If you use Emacs-mode (the default), I think it's Ctrl-X Ctrl-E to go from normal typing into your full-blown editor
    * tweak; write; quit
    * ...and now you have the edited command, **but it still hasn't executed**
    * hit return

    My Atuin PR addresses this: github.com/atuinsh/atuin/pull/

  4. Here's today's "peanut butter & chocolate" combination: I love `atuin`. I've been using it for at least a couple of years now. I love `fc`, though with `atuin` in place, it's harder to put yourself in an `fc` situation.

    `fc` excels: opens up some previous command in your favorite editor; tweak as needed; write and quit; the changed command is executed and added to history.

    `atuin` excels at almost everything else, but not this. My workflow in `atuin` to accomplish the same thing is:

    * use arrows or Ctrl-R to select the command that wasn't quite right
    * tab takes you back to the command line with the selected command, but does **not** execute it
    * I use Vi-mode, so I have to hit ESC, and then v (and because it's Zsh, v again) to get into my editor. If you use Emacs-mode (the default), I think it's Ctrl-X Ctrl-E to go from normal typing into your full-blown editor
    * tweak; write; quit
    * ...and now you have the edited command, **but it still hasn't executed**
    * hit return

    My Atuin PR addresses this: github.com/atuinsh/atuin/pull/

    #CLI #Atuin #fc #tui #editor #commandhistory