Redirect Output to Buffers from Emacs Eshell

With Emacs eshell, you can redirect the standard output of shell programs into buffers: That will use existing buffers and create new buffers as needed. For me, the new buffers would not be switched to automatically, but created in the background. You don’t pipe into a buffer function, but redirect the output like you’d redirect file output. Instead of a file on disk, you specify a buffer with the special form:

Continue reading …

Fetch Personalized Command Explanations with 'um' from Your Terminal

Teaser image

I stumbled upon this page: http://ratfactor.com/cards/um Dave Gauer describes how he has a shell script, um, that he can use as a man replacement to help remember how to use a command. Dave’s implementation uses the cards} from his own Wiki, because the um pages there are “consolidated, I won’t forget about them, it’s easy to list, create, and update pages.” (To be honest, though, I can’t figure out where his um cards actually are, and what they look like.)

Continue reading …

Create FastMail Masked Email Addresses with maskedemail-cli

I’m a happy FastMail user. If you want to be a happy, too, use my referral code for 10% off of your first year (and I’ll get a discount, too!) → https://ref.fm/u21056816 I never used their Masked Email feature, though, because it’s so cumbersome to create these addresses from the web UI. I all but forgot about this feature until today, when I looked for something else in my settings.

Continue reading …

From bash to zsh on macOS

Teaser image

In anticipation of macOS 10.15 Catalina, I have changed my shell from bash to zsh. macOS 10.15 will use zsh as the new default, and I was pretty sure that things will break immediately unless I prepare – so I did prepare, and I found the transition very simple. My old bash prompt didn’t work out of the box, so getting a decent prompt with some color and git repository information, I managed to set up sindresorhus/pure to offer asynchronous (!) info like the pwd’s git metadata.

Continue reading …