Skip to content

Update migration to ensure walker is refreshed after finder prefix was added.#425

Merged
dhh merged 2 commits into
basecamp:devfrom
ardavis:fix_walker_migration_for_finder_leader_key
Aug 1, 2025
Merged

Update migration to ensure walker is refreshed after finder prefix was added.#425
dhh merged 2 commits into
basecamp:devfrom
ardavis:fix_walker_migration_for_finder_leader_key

Conversation

@ardavis
Copy link
Copy Markdown
Contributor

@ardavis ardavis commented Jul 31, 2025

It looks like the conditional in the 1753910761.sh migration was returning true due to the other prefixes.

 grep 'prefix = "."' ~/.config/walker/config.toml
prefix = "="
prefix = ":"
prefix = "/"

Because of this, the omarchy-refresh-walker command was never fired and the config.toml which included the prefix = "." was never updated.

This PR:

  • Changes the prefix to use double quotes to be consistent with the others.
  • Modifies the migration to escape the dot to avoid searching for other characters.

Please let me know if it's frowned upon for updating older migrations. This really only solves it for those who haven't yet updated to 1.8.0.

Should I make a new migration that has the fix instead?

…er prefixes in the file. Also mod walker prefix to use double quotes for consistency to match the others.
@dhh dhh changed the base branch from master to dev July 31, 2025 21:31
@dhh
Copy link
Copy Markdown
Member

dhh commented Jul 31, 2025

Yeah, actually best to rename this migration to something newer, then it'll run again for everyone that ran the last one (that didn't do the right thing).

@ardavis
Copy link
Copy Markdown
Contributor Author

ardavis commented Jul 31, 2025

Great idea, I hadn't thought of that. Thanks!

@dhh dhh merged commit 95de571 into basecamp:dev Aug 1, 2025
cdub615 pushed a commit to cdub615/omarchy that referenced this pull request Aug 2, 2025
…s added. (basecamp#425)

* Update migration that looks for prefix with '.' as it matches the other prefixes in the file. Also mod walker prefix to use double quotes for consistency to match the others.

* Rename fixed migration to ensure it runs again for all users
chriopter pushed a commit to chriopter/omarchy that referenced this pull request Nov 18, 2025
…s added. (basecamp#425)

* Update migration that looks for prefix with '.' as it matches the other prefixes in the file. Also mod walker prefix to use double quotes for consistency to match the others.

* Rename fixed migration to ensure it runs again for all users
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants