Posts categorized under: Coding

Capturing `stderr` during Fish's Command Substitution

I've been working on extending Spack's fish-shell support, and I came across an unusual problem in fish: when I use a nested version of command substitution (ie. the braces-operator (cmd)), the outer command Substitution refused to capture stderr. This can be demonstrated using the (rather dumb) following example:

function cause_error …

Getting Pelican to Play Nice With Keybase

I use Keybase prove my online identiy. Of course, when I moved my website over to pelican, I accidentally nuked my proof-of-ownership token. Keybase requires you to host you to host a file: .well-known/keybase.txt. This way the world knows that the person claiming to be me on, say …