I’m on a roll. I’ve written the bash completions for Munki.
(tl;dr The completions are on Github )
It’s getting easier to write them. There was one little trick I used that I didn’t
mention in my last post that I thought I’d share. How to use find and replace with
regular expressions to generate some of your code.
For this I use
Find... in BBEdit. I started with a list of the commands, one on each
line. Continue reading