Neat idea. How about making your .bash_history file a named pipe and have the script read from that, instead of using PROMPT_COMMAND?
I did this at a hackathon. I found it kept having weird sync issues with a lot of shells open, but didn’t have time to fully investigate.
Won’t this block your shell after a while if the reading process somehow dies?
Yep. Equally PROMPT_COMMAND could cause delays/hangs depending on connectivity to the remote system.
That’s a very creative idea that I hadn’t thought of. I did want to avoid interfering with the client system’s history mechanism though.
Ah, good point!
Aaand I missed the other post when submitting this: https://lobste.rs/s/mimoad/red_hat_acquire_coreos_expanding_its
This is a more technical take on the news, compared to that link’s business take.
vnoremap < <gv
vnoremap > >gv
gv is pretty nifty.
That is a top tip indeed!
I’ve been 20% happier since I discovered that. Wish VSCode’s Vim emulation allowed me to do the same.
I also make use of many of Tim Pope’s plugins, notably vim-sensible, vim-commentary and vim-fugitive.
These three are incredibly useful.
I run a Buildbot cluster for an open source project I host for pretty much this reason, and needing to build on multiple platforms which most of the hosted solutions don’t do.
I’d be really interested in hosted solutions which can do multiple platforms.
@email@example.com although I’ve yet to post there. Honestly I keep forgetting I have it as I don’t have an equivalent of Tweetbot for desktop use.
WASD 105-key ISO with Cherry MX Clear switches.
This is the same company that makes the CODE keyboard, but I have no need for backlit keys and prefer to have the number pad on the right, which the CODE lacks.