Post

I wrote a #powershell function to rebuild the PATH env var because I was annoyed after installing a new CLI tool that it wasn't immediately available. This cross-platform function will update PATH with the machine/user/process-scoped vars. And now this is where you tell me there's a better way 😅

I wanted to get a pretty code snippet without having to manually go to a website or tweak vscode/terminal. I noticed that carbon will accept gist IDs though, and you can just generate a URL with the code in a query param. So of course I'll add a function to my profile to generate those URLs.