bash-shortening
paulnsorensen · Community
From the publisher: Rewrite verbose Bash into concise, idiomatic Bash without losing readability.
Discoverable only. Sundrybay does not install anything yet. The routes below are copy-paste setups and links that open your app, where you confirm. How we check
Set it up yourself
Source 1 route
Any app that loads skills from a folder 1 route
git clone --no-checkout https://github.com/paulnsorensen/dotfiles.git dotfiles && git -C dotfiles checkout --detach 48a8121713a60cff530010b40842920e7d8ed9e1 && cp -r -- dotfiles/skills/bash-shortening <your skills folder>
Pinned to commit 48a8121713a6, the version Sundrybay listed.
Rewrite verbose Bash into concise, idiomatic Bash without losing readability. Use when the user says "shorten this script", "make this more idiomatic", "clean up this bash", "this script is too long", "is there a shorter way to do this in bash", asks for a review of a Bash script, or when you write a new Bash `.sh`/`.bash` script or `bash` block. Covers parameter expansion, brace expansion, process substitution, arithmetic, functions, heredocs, associative arrays, parallel jobs, and IFS parsing, and refuses cryptic one-liners. Do NOT use for fish, zsh, or POSIX `/bin/sh` scripts, where bashisms break portability.
- Name in SKILL.md
- bash-shortening · From the SKILL.md front matter
- Version
- c3360f8d5141 · From the SKILL.md front matter, or the content hash when none is given