An Alfred workflow for Trimmy — the macOS menu bar utility that flattens multi-line shell commands for proper pasting.
Install the CLI tool via Trimmy.app Settings → General → Install CLI Tool.
Trim multi-line shell commands in your clipboard via the trim keyword.
- ↩ Trim at normal aggressiveness.
Append high or low to adjust aggressiveness:
trim high— Aggressive joining for heavily formatted code blocks.trim low— Conservative, only joins obvious continuations.
Configure the Hotkey for instant trimming at high aggressiveness.
MIT