Skip to content

Commit b1dff88

Browse files
committed
refactor(improved path handling again):
1 parent 6af2178 commit b1dff88

File tree

3 files changed

+407
-60
lines changed

3 files changed

+407
-60
lines changed

Cargo.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@ dirs = "1.0.4"
2424
clap = { version = "2.32.0", features = ["yaml"] }
2525
glob = "0.2.11"
2626
rayon = "1.0.3"
27-
serde = { version = "1.0.82", features = ["derive"] }
28-
serde_json = "1.0.34"
27+
serde = { version = "1.0.87", features = ["derive"] }
28+
serde_json = "1.0.38"
2929
toml = "0.4.10"
30-
nom = "4.1.1"
30+
nom = "4.2.0"
3131
handlebars = "1.1.0"
32-
notify = "4.0.6"
33-
nom_locate = "0.3.1"
32+
notify = "4.0.9"
33+
nom_locate = "0.3.1"

_

Lines changed: 340 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,340 @@
1+
{
2+
"docs": [
3+
{
4+
"thedocs": [
5+
{
6+
"short_description": "sourcez",
7+
"long_description": "re-initialize .zshrc file",
8+
"descriptors": [],
9+
"params": [],
10+
"returns": [],
11+
"position": 27
12+
},
13+
{
14+
"short_description": "zshconfig",
15+
"long_description": "open .zshrc in VSCode",
16+
"descriptors": [],
17+
"params": [],
18+
"returns": [],
19+
"position": 33
20+
},
21+
{
22+
"short_description": "vimconfig",
23+
"long_description": "open .vimrc in vim",
24+
"descriptors": [],
25+
"params": [],
26+
"returns": [],
27+
"position": 39
28+
},
29+
{
30+
"short_description": "docs",
31+
"long_description": "shortcut to ~/Documents folder",
32+
"descriptors": [],
33+
"params": [],
34+
"returns": [],
35+
"position": 48
36+
},
37+
{
38+
"short_description": "svenv",
39+
"long_description": "activate virtual python environment",
40+
"descriptors": [],
41+
"params": [],
42+
"returns": [],
43+
"position": 54
44+
},
45+
{
46+
"short_description": "update",
47+
"long_description": "update Operating System, Brew, NPM, Applications, and Pip",
48+
"descriptors": [],
49+
"params": [],
50+
"returns": [],
51+
"position": 64
52+
},
53+
{
54+
"short_description": "cleanup",
55+
"long_description": "remove .DS_Store files from current directory",
56+
"descriptors": [],
57+
"params": [],
58+
"returns": [],
59+
"position": 70
60+
},
61+
{
62+
"short_description": "emptytrash",
63+
"long_description": "clean the trash",
64+
"descriptors": [],
65+
"params": [],
66+
"returns": [],
67+
"position": 76
68+
},
69+
{
70+
"short_description": "helpme",
71+
"long_description": "access cht.sh for help with commands and languages",
72+
"descriptors": [],
73+
"params": [],
74+
"returns": [],
75+
"position": 83
76+
},
77+
{
78+
"short_description": "cloud",
79+
"long_description": "shortcut to iCloud documents",
80+
"descriptors": [],
81+
"params": [],
82+
"returns": [],
83+
"position": 89
84+
},
85+
{
86+
"short_description": "notes",
87+
"long_description": "shortcut to exported Notes",
88+
"descriptors": [],
89+
"params": [],
90+
"returns": [],
91+
"position": 95
92+
},
93+
{
94+
"short_description": "gits",
95+
"long_description": "Shortcut to ~/Documents/Gits",
96+
"descriptors": [],
97+
"params": [],
98+
"returns": [],
99+
"position": 101
100+
},
101+
{
102+
"short_description": "csh",
103+
"long_description": "Shortcut to CCIS Servers",
104+
"descriptors": [],
105+
"params": [],
106+
"returns": [],
107+
"position": 107
108+
},
109+
{
110+
"short_description": "glsnips()",
111+
"long_description": "Display descriptions of all Dash Snippets",
112+
"descriptors": [],
113+
"params": [
114+
{
115+
"key": "filter",
116+
"value": "Optional keyword to fuzzy search"
117+
}
118+
],
119+
"returns": [],
120+
"position": 138
121+
},
122+
{
123+
"short_description": "bip()",
124+
"long_description": "Fuzzy search brew",
125+
"descriptors": [],
126+
"params": [],
127+
"returns": [],
128+
"position": 168
129+
},
130+
{
131+
"short_description": "allgits()",
132+
"long_description": "Git add, commit, and push",
133+
"descriptors": [],
134+
"params": [
135+
{
136+
"key": "msg",
137+
"value": "commit message"
138+
}
139+
],
140+
"returns": [],
141+
"position": 183
142+
},
143+
{
144+
"short_description": "fs()",
145+
"long_description": "Fuzzy file and directory search",
146+
"descriptors": [
147+
{
148+
"key": "CTRL-O",
149+
"value": "to open with `open` command,"
150+
},
151+
{
152+
"key": "CTRL-E",
153+
"value": "or Enter key to open with the $EDITOR"
154+
},
155+
{
156+
"key": "CTRL-S",
157+
"value": "to search inside files"
158+
},
159+
{
160+
"key": "CTRL-C",
161+
"value": "to copy file path to clipboard"
162+
},
163+
{
164+
"key": "CTRL-D",
165+
"value": "to cd to directory of file"
166+
},
167+
{
168+
"key": "CTRL-N",
169+
"value": "to make a new markdown file."
170+
}
171+
],
172+
"params": [],
173+
"returns": [],
174+
"position": 212
175+
},
176+
{
177+
"short_description": "2mp4()",
178+
"long_description": "Convert from gif or webm to mp4 for all in current directory",
179+
"descriptors": [],
180+
"params": [
181+
{
182+
"key": "type",
183+
"value": "mp4 or gif"
184+
}
185+
],
186+
"returns": [],
187+
"position": 258
188+
},
189+
{
190+
"short_description": "gitrm()",
191+
"long_description": "Remove an unwanted watched folder",
192+
"descriptors": [],
193+
"params": [
194+
{
195+
"key": "filename",
196+
"value": "file type to be removed from this folder"
197+
}
198+
],
199+
"returns": [],
200+
"position": 275
201+
},
202+
{
203+
"short_description": "pygnore()",
204+
"long_description": "Generate a .gitignore file for python projects",
205+
"descriptors": [],
206+
"params": [],
207+
"returns": [],
208+
"position": 284
209+
},
210+
{
211+
"short_description": "fbr()",
212+
"long_description": "Fuzzy search git branches",
213+
"descriptors": [],
214+
"params": [],
215+
"returns": [],
216+
"position": 293
217+
},
218+
{
219+
"short_description": "fshow()",
220+
"long_description": "Preview git tree",
221+
"descriptors": [],
222+
"params": [],
223+
"returns": [],
224+
"position": 306
225+
},
226+
{
227+
"short_description": "fstat()",
228+
"long_description": "Show uncommitted files",
229+
"descriptors": [],
230+
"params": [],
231+
"returns": [],
232+
"position": 323
233+
},
234+
{
235+
"short_description": "gi()",
236+
"long_description": ".gitignore file generator",
237+
"descriptors": [],
238+
"params": [
239+
{
240+
"key": "list",
241+
"value": "list of types to generator gitignore of"
242+
}
243+
],
244+
"returns": [],
245+
"position": 345
246+
},
247+
{
248+
"short_description": "setgit()",
249+
"long_description": "Initialize a git directory",
250+
"descriptors": [],
251+
"params": [
252+
{
253+
"key": "giturl",
254+
"value": "url of git repo push to"
255+
}
256+
],
257+
"returns": [],
258+
"position": 367
259+
},
260+
{
261+
"short_description": "gup()",
262+
"long_description": "set up stream of passed in branch to origin",
263+
"descriptors": [],
264+
"params": [
265+
{
266+
"key": "branch",
267+
"value": "name of branch"
268+
}
269+
],
270+
"returns": [],
271+
"position": 376
272+
},
273+
{
274+
"short_description": "psman()",
275+
"long_description": "Open man page in Preview.app",
276+
"descriptors": [],
277+
"params": [
278+
{
279+
"key": "cli",
280+
"value": "command line function to call man on"
281+
}
282+
],
283+
"returns": [],
284+
"position": 386
285+
},
286+
{
287+
"short_description": "ppundo()",
288+
"long_description": "Fuzzy search for recent packages installed. On selection, uninstall",
289+
"descriptors": [],
290+
"params": [
291+
{
292+
"key": "pkg",
293+
"value": "package manager (npm, pip, cargo, etc.)"
294+
}
295+
],
296+
"returns": [],
297+
"position": 395
298+
},
299+
{
300+
"short_description": "fop()",
301+
"long_description": "Fuzzy search 1Password",
302+
"descriptors": [],
303+
"params": [],
304+
"returns": [],
305+
"position": 406
306+
},
307+
{
308+
"short_description": "cdoc()",
309+
"long_description": "Generate private cargo documentation with no dependencies",
310+
"descriptors": [],
311+
"params": [],
312+
"returns": [],
313+
"position": 417
314+
},
315+
{
316+
"short_description": "cmds()",
317+
"long_description": "fuzzy search for a command",
318+
"descriptors": [],
319+
"params": [],
320+
"returns": [],
321+
"position": 430
322+
},
323+
{
324+
"short_description": "csearch()",
325+
"long_description": "fuzzy search cargo",
326+
"descriptors": [],
327+
"params": [
328+
{
329+
"key": "name",
330+
"value": "name to search cargo for"
331+
}
332+
],
333+
"returns": [],
334+
"position": 439
335+
}
336+
],
337+
"filename": ".zshrc"
338+
}
339+
]
340+
}

0 commit comments

Comments
 (0)