Skip to content
Gloss 0.1.2: Hyphens, Quotes, and Fewer Backups

Gloss 0.1.2: Hyphens, Quotes, and Fewer Backups

Managed aliases can now use hyphens, Scan handles quotes and comments more reliably, and syncing unchanged aliases leaves your shell config alone.

Valeriy Bagrintsev December 4, 2026 2 min read

The first issue opened on Gloss was about a hyphen. Someone wanted to call an alias main-route, which Bash and Zsh were perfectly happy with. Gloss, for reasons known mostly to its own validation rules, was not.

Gloss 0.1.2 fixes that. Use gloss alias add to save git-status with the target git status, then run gloss alias sync and open a fresh shell. Try:

git-status --short

Bash and Zsh already know how to pass --short to git status. There’s no new argument syntax to learn. I just added an example to the README, along with support for hyphens after the first character.

A couple of less visible fixes

Scan now keeps literal # characters and quoted text intact while ignoring comments after an alias. An imported alias stays a glossary entry; it won’t be written back to your shell config unless you add it as a managed alias separately.

Syncing the same aliases twice also leaves your shell file alone. The second sync no longer rewrites it or creates another backup just to prove it was there. The install script now pipes cleanly into Bash and gives clearer feedback about what it’s doing.

Update Gloss

brew upgrade Architeg/tap/gloss

If you installed Gloss without Homebrew, use gloss update --install. For a fresh install, see the Gloss project page.

Thanks to the first issue reporter for the concrete examples. If you run into another small thing that gets in the way, those are exactly the reports I want.

Share this post