Recent Posts

Polyglot PowerShell and bash script

I wanted to put some bash and some PowerShell into the same script file, so if I ran it in bash it would do one thing, and if I ran in PowerShell it would do...

Attach VSCode to container from CLI

VSCode’s new “Remote development” features let you attach the editor to a remote system, for example, WSL, an SSH server, or a docker container.

Bash prompt zero-width spans

I had a lot of trouble setting up a bash prompt that renders within an external function, rather than inline within the PS1 string. Zero-width sequences from...