Preferences

jauntywundrkind parent
One of the things I really struggle to retain about the shell is the various expansions.

Unfortunately history shows the expanded form of what's happened, so I can't go reference that I used the third word of history item 773 as an argument, I only see the resolved argument.

Alas I haven't found any hooks in zsh that show promise here. I'd really love the pure history.

One technique I've used in the past is making a quick command in vim, that takes the selection or current line, and sends it to a given terminal. And perhaps starts a new line too. Basically using vim to author commands, to build the history log. Also I get to use vim, yay.


This item has no comments currently.