Hacker News
new
past
comments
ask
show
jobs
points
by
xuhu
11 hours ago
|
comments
by
lelanthran
6 hours ago
|
next
[-]
I run bash from inside vim and nvim. At anytime I can drop into vim and use the entire scrolled history as a buffer.
reply
by
ctippett
9 hours ago
|
prev
|
[-]
You could probably achieve something like that using Fish shell and their fish_preexec and fish_postexec event hooks.
Edit: Nope, looks like you can't. You only get the invoked command and no output.
reply
by
stirfish
9 hours ago
|
parent
|
[-]
Could you use preexec + tee?
reply