v0.1.6
Fix silent hang in cow run, alphabetical list, better tab completion.
Patch release fixing a critical bug where cow run would hang silently for any non-install subcommand.
Bug fixes
- fix
cow run— PM shims recursed infinitely when called with non-install subcommands (e.g.pnpm run dev,npm test). The shim used/usr/bin/env <pm>to find the real binary, but since~/.cow/shims/is prepended to PATH the shim found itself and looped. Fixed by stripping the shims directory from PATH at the top of every shim. Existing stale shims are automatically regenerated on the nextcow runinvocation.
Improvements
- improved
cow listoutput is now sorted alphabetically by name, grouping pastures by project naturally. - improved
cow installnow sets up full tab completion for thecowbinary: subcommand completion at position 1, pasture name completion at position 2 for all name-taking commands (run,status,diff,remove,cd,materialise,fetch-from,recreate). Users with the old snippet are prompted to remove it and re-runcow install.