switch config from an array of tables #11

Open
opened 2024-12-14 06:49:59 +00:00 by josh · 0 comments
Owner

instead of an array of tables, the table name should be based on something unique. maybe the command or the alias, but something to lock it in.

[[shadows]]
original = "find"
replacement = "fd"

[[shadows]]
original = "cat"
replacement = "bat --paging=never"

vs

[find]
original = "find"
replacement = "fd"

Or even just a UUID or some random identifier.

instead of an array of tables, the table name should be based on something unique. maybe the command or the alias, but something to lock it in. ```toml [[shadows]] original = "find" replacement = "fd" [[shadows]] original = "cat" replacement = "bat --paging=never" ``` vs ```toml [find] original = "find" replacement = "fd" ``` Or even just a UUID or some random identifier.
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: josh/shadow#11
No description provided.