You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Group entries that should be deployed together.
71
69
staticstruct Group group1 = {
72
70
.name = "Linux desktop",
73
71
.entries = (struct Entry *[]){
@@ -83,12 +81,13 @@ static struct Group group2 = {
83
81
NULL
84
82
}
85
83
};
84
+
85
+
// Finally, list all groups and configure a default group.
86
86
staticstruct Group** groups = (struct Group *[]){
87
87
&group1,
88
88
&group2,
89
89
NULL
90
90
};
91
-
92
91
struct Group **getGroups() {
93
92
return groups;
94
93
}
@@ -99,9 +98,8 @@ struct Group *getDefaultGroup() {
99
98
100
99
In summary, each dotfile entry corresponds to some application and can have multiple dotfile files or directories. Then, group them by how you would like to deploy them. You must write `getGroups()` and `getDefaultGroup()` so `d` can see and use the groups that you have.
101
100
102
-
The really cool part about this, is that you can use macros. If you don't like
103
-
macros, then maybe this software isn't for you. For an example, see my own
0 commit comments