Adolanium
0a65b45ab1
Refuse hook and state names that are paths
...
omarchy-hook and omarchy-state set join a name straight into a path. A name
with a slash, or a bare . or .., points outside the hooks or state directory.
Every caller in the repo passes a fixed label, so this is a footgun guard for
future callers, not a fix for anything that ships today.
Names with dots in the middle (a..b) stay allowed. omarchy-state clear is
untouched: find -name matches basenames only.
2026-09-01 23:21:37 +03:00
David Heinemeier Hansson
c9aece1cb7
Make sure individual hooks can't halt the process
2026-05-07 10:33:12 +02:00
David Heinemeier Hansson
fe0ea4de3e
Move to .d directories for hooks instead of a single file
...
Easier to manage especially with separate installs
2026-05-07 09:59:18 +02:00
David Heinemeier Hansson
f0969c6793
Allow hooks to live in a .d directory
2026-05-07 09:46:00 +02:00
Ryan Hughes and David Heinemeier Hansson
d2a4cc0c4d
Add omarchy CLI ( #5477 )
...
* Add omarchy CLI
* Remove outdated or internal
* Add bash completions for command
* Add omarchy command documentation
* Add missing docs
* Correct to what's now right
* Fix tests
---------
Co-authored-by: David Heinemeier Hansson <david@hey.com >
2026-05-01 17:40:22 +02:00
David Heinemeier Hansson
7514ae7dcf
Use consistent bash5 style for conditionals and quoting
2026-02-21 10:18:47 +01:00
David Heinemeier Hansson
ca40676657
Add documentation to Omarchy commands
2026-01-05 10:17:32 +01:00
Ryan Hughes
413d292f2a
Improve update error catching
2025-10-23 21:33:23 -04:00
David Heinemeier Hansson
24e76a3b90
Add hooks for theme set, font set, and post update ( #2527 )
...
Ala git hooks
2025-10-18 16:11:49 +02:00