-
Notifications
You must be signed in to change notification settings - Fork 0
/
tools_work.json
542 lines (542 loc) · 30.3 KB
/
tools_work.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
{
"macOS": {
"description": "Installing ABK tool set for MacOS",
"supported_versions": {
"macOS": ["11", "12", "13", "14"]
},
"update_packages": ["brew update", "brew upgrade", "brew cleanup", "brew missing"],
"tools": {
"check": {
"aws": ["command -v aws"],
"direnv": ["command -v direnv"],
"git": ["command -v git"],
"pass": ["command -v pass"],
"gpg": ["command -v gpg"],
"jq": ["command -v jq"],
"nmap": ["command -v nmap"],
"nodenv": ["command -v nodenv"],
"oh-my-posh": ["brew list | grep oh-my-posh"],
"parallel": ["command -v parallel"],
"pyenv": ["command -v pyenv"],
"serverless": ["command -v serverless"],
"tree": ["command -v tree"],
"tfenv": ["command -v tfenv"],
"typescript": ["command -v tsc"],
"wget": ["command -v wget"],
"yq": ["command -v yq"],
"zsh-autocomplete": ["[ \"$ABK_SHELL\" = \"zsh\" ] && brew list | grep zsh-autocomplete"],
"zsh-autosuggestions": ["[ \"$ABK_SHELL\" = \"zsh\" ] && brew list | grep zsh-autosuggestions"],
"zsh-syntax-highlighting": ["[ \"$ABK_SHELL\" = \"zsh\" ] && brew list | grep zsh-syntax-highlighting"]
},
"install": {
"aws": [
"brew install awscli",
"ln -s ./XXX_aws.env ./unixBin/env/LINK_aws.env"
],
"direnv": [
"brew install direnv",
"ln -s ./XXX_direnv.env ./unixBin/env/LINK_direnv.env"
],
"git": ["brew install git"],
"pass": ["brew install pass"],
"gpg": ["brew install gnupg"],
"jq": ["brew install jq"],
"nmap": ["brew install nmap"],
"nodenv": [
"brew install nodenv",
"nodenv install 16.20.2",
"nodenv install 18.18.2",
"nodenv install 21.5.0",
"ln -s ./XXX_nodenv.env ./unixBin/env/LINK_nodenv.env"
],
"oh-my-posh": [
"brew install oh-my-posh",
"oh-my-posh init $ABK_SHELL",
"ln -s ./XXX_oh-my-posh.env ./unixBin/env/LINK_oh-my-posh.env"
],
"parallel": ["brew install parallel"],
"pyenv": [
"brew install pyenv",
"brew install pyenv-virtualenv",
"pyenv install 3.11.5",
"pyenv virtualenv 3.11.5 bwp",
"pyenv virtualenv 3.11.5 cloud",
"pyenv virtualenv 3.11.5 itest",
"ln -s ./XXX_pyenv.env ./unixBin/env/LINK_pyenv.env"
],
"serverless": ["brew install serverless"],
"tfenv": [
"brew install tfenv",
"tfenv install 1.3.9"
],
"tree": ["brew install tree"],
"typescript": ["brew install typescript"],
"wget": ["brew install wget"],
"yq": ["brew install yq"],
"zsh-autocomplete": [
"brew install zsh-autocomplete",
"[ ! -L ./unixBin/env/LINK_zsh_plugins.env ] && ln -s ./XXX_zsh_plugins.env ./unixBin/env/LINK_zsh_plugins.env"
],
"zsh-autosuggestions": [
"brew install zsh-autosuggestions",
"[ ! -L ./unixBin/env/LINK_zsh_plugins.env ] && ln -s ./XXX_zsh_plugins.env ./unixBin/env/LINK_zsh_plugins.env"
],
"zsh-syntax-highlighting": [
"brew install zsh-syntax-highlighting",
"[ ! -L ./unixBin/env/LINK_zsh_plugins.env ] && ln -s ./XXX_zsh_plugins.env ./unixBin/env/LINK_zsh_plugins.env"
]
},
"uninstall": {
"aws": [
"find ./unixBin/env -type l -name 'LINK_aws.env' -delete",
"brew uninstall awscli"
],
"direnv": [
"find ./unixBin/env -type l -name 'LINK_direnv.env' -delete",
"brew uninstall direnv"
],
"git": ["brew uninstall git"],
"pass": ["brew uninstall pass"],
"gpg": ["brew uninstall gnupg"],
"jq": ["brew uninstall jq"],
"nmap": ["brew uninstall nmap"],
"nodenv": [
"find ./unixBin/env -type l -name 'LINK_nodenv.env' -delete",
"nodenv uninstall -f 16.20.2",
"nodenv uninstall -f 18.18.2",
"nodenv uninstall -f 21.5.0",
"brew uninstall nodenv",
"rm -Rf ~/.nodenv"
],
"oh-my-posh": [
"find ./unixBin/env -type l -name 'LINK_oh-my-posh.env' -delete",
"brew uninstall oh-my-posh"
],
"parallel": ["brew uninstall parallel"],
"pyenv": [
"find ./unixBin/env -type l -name 'LINK_pyenv.env' -delete",
"pyenv virtualenv-delete -f bwp",
"pyenv virtualenv-delete -f cloud",
"pyenv virtualenv-delete -f itest",
"pyenv uninstall -f 3.11.5",
"brew uninstall pyenv-virtualenv",
"brew uninstall pyenv",
"rm -Rf ~/.pyenv"
],
"serverless": ["brew uninstall serverless"],
"tfenv": [
"tfenv uninstall 1.3.9",
"brew uninstall tfenv"
],
"tree": ["brew uninstall tree"],
"typescript": ["brew uninstall typescript"],
"wget": ["brew uninstall wget"],
"yq": ["brew uninstall yq"],
"zsh-autocomplete": [
"find ./unixBin/env -type l -name 'LINK_zsh_plugins.env' -delete",
"brew uninstall zsh-autocomplete"
],
"zsh-autosuggestions": [
"find ./unixBin/env -type l -name 'LINK_zsh_plugins.env' -delete",
"brew uninstall zsh-autosuggestions"
],
"zsh-syntax-highlighting": [
"find ./unixBin/env -type l -name 'LINK_zsh_plugins.env' -delete",
"brew uninstall zsh-syntax-highlighting"
]
}
},
"apps": {
"check": {
"balenaetcher": [
"brew list --cask | grep ^balenaetcher$",
"ls \"/Applications/balenaEtcher.app\"",
"ls \"~/Applications/balenaEtcher.app\""
],
"brave-browser": [
"brew list --cask | grep ^brave-browser$",
"ls \"/Applications/Brave Browser.app\"",
"ls \"~/Applications/Brave Browser.app\""
],
"docker": [
"brew list --cask | grep ^docker$",
"ls \"/Applications/Docker.app\"",
"ls \"~/Applications/Docker.app\""
],
"flycut": [
"brew list --cask | grep ^flycut$",
"ls \"/Applications/Flycut.app\"",
"ls \"~/Applications/Flycut.app\""
],
"iterm2": [
"brew list --cask | grep ^iterm2$",
"ls \"/Applications/iTerm.app\"",
"ls \"~/Applications/iTerm.app\""
],
"microsoft-teams": [
"brew list --cask | grep ^microsoft-teams$",
"ls \"/Applications/Microsoft Teams (work or school).app\"",
"ls \"~/Applications/Microsoft Teams (work or school).app\""
],
"mqttx": [
"brew list --cask | grep ^mqttx$",
"ls \"/Applications/MQTTX.app\"",
"ls \"~/Applications/MQTTX.app\""
],
"onedrive": [
"brew list --cask | grep ^onedrive$",
"ls \"/Applications/OneDrive.app\"",
"ls \"~/Applications/OneDrive.app\""
],
"raspberry-pi-imager": [
"brew list --cask | grep ^raspberry-pi-imager$",
"ls \"/Applications/Raspberry Pi Imager.app\"",
"ls \"~/Applications/Raspberry Pi Imager.app\""
],
"slack": [
"brew list --cask | grep ^slack$",
"ls \"/Applications/Slack.app\"",
"ls \"~/Applications/Slack.app\""
],
"visual-studio-code": [
"brew list --cask | grep ^visual-studio-code$",
"ls \"/Applications/Visual Studio Code.app\"",
"ls \"~/Applications/Visual Studio Code.app\""
],
"vlc": [
"brew list --cask | grep ^vlc$",
"ls \"/Applications/VLC.app\"",
"ls \"~/Applications/VLC.app\""
]
},
"install": {
"balenaetcher": ["brew install --cask balenaetcher"],
"brave-browser": ["brew install --cask brave-browser"],
"docker": ["brew install --cask docker"],
"flycut": ["brew install --cask flycut"],
"iterm2": ["brew install --cask iterm2"],
"microsoft-teams": [
"brew install --cask microsoft-teams",
"brew uninstall --cask microsoft-auto-update"
],
"mqttx": ["brew install --cask mqttx"],
"onedrive": ["brew install --cask onedrive"],
"raspberry-pi-imager": ["brew install --cask raspberry-pi-imager"],
"slack": ["brew install --cask slack"],
"visual-studio-code": [
"brew install --cask visual-studio-code",
"ABK_VSCODE_USER_CONFIG_DIR=\"$HOME/Library/Application Support/Code/User\"",
"ABK_VSCODE_USER_CONFIG_SETTING=\"$ABK_VSCODE_USER_CONFIG_DIR/settings.json\"",
"mkdir -p $ABK_VSCODE_USER_CONFIG_DIR",
"[ ! -f \"$ABK_VSCODE_USER_CONFIG_SETTING\" ] && echo {} > \"$ABK_VSCODE_USER_CONFIG_SETTING\" && chmod 600 \"$ABK_VSCODE_USER_CONFIG_SETTING\"",
"jq '. + {\"terminal.integrated.fontSize\": 14}' \"$ABK_VSCODE_USER_CONFIG_SETTING\" > ./tmp_setting.json && mv ./tmp_setting.json \"$ABK_VSCODE_USER_CONFIG_SETTING\"",
"jq '. + {\"terminal.integrated.fontFamily\": \"Hack Nerd Font\"}' \"$ABK_VSCODE_USER_CONFIG_SETTING\" > ./tmp_setting.json && mv ./tmp_setting.json \"$ABK_VSCODE_USER_CONFIG_SETTING\"",
"jq '. + {\"terminal.integrated.shellIntegration.enabled\": true}' \"$ABK_VSCODE_USER_CONFIG_SETTING\" > ./tmp_setting.json && mv ./tmp_setting.json \"$ABK_VSCODE_USER_CONFIG_SETTING\"",
"jq '. + {\"terminal.integrated.tabs.enabled\": true}' \"$ABK_VSCODE_USER_CONFIG_SETTING\" > ./tmp_setting.json && mv ./tmp_setting.json \"$ABK_VSCODE_USER_CONFIG_SETTING\"",
"jq '. + {\"terminal.integrated.tabs.title\": \"${cwd}\"}' \"$ABK_VSCODE_USER_CONFIG_SETTING\" > ./tmp_setting.json && mv ./tmp_setting.json \"$ABK_VSCODE_USER_CONFIG_SETTING\"",
"jq '. + {\"files.autoSave\": \"afterDelay\"}' \"$ABK_VSCODE_USER_CONFIG_SETTING\" > ./tmp_setting.json && mv ./tmp_setting.json \"$ABK_VSCODE_USER_CONFIG_SETTING\""
],
"vlc": ["brew install --cask vlc"]
},
"uninstall": {
"balenaetcher": ["brew uninstall --cask balenaetcher"],
"brave-browser": ["brew uninstall --cask brave-browser"],
"docker": ["brew uninstall --cask docker"],
"flycut": ["brew uninstall --cask flycut"],
"iterm2": ["brew uninstall --cask iterm2"],
"microsoft-teams": ["brew uninstall --cask microsoft-teams"],
"mqttx": ["brew uninstall --cask mqttx"],
"onedrive": ["brew uninstall --cask onedrive"],
"raspberry-pi-imager": ["brew uninstall --cask raspberry-pi-imager"],
"slack": ["brew uninstall --cask slack"],
"visual-studio-code": ["brew uninstall --cask visual-studio-code"],
"vlc": ["brew uninstall --cask vlc"]
}
},
"fonts": {
"check": {
"homebrew/cask-fonts": ["brew tap | grep ^homebrew/cask-fonts$"],
"font-agave-nerd-font": ["brew list --cask | grep ^font-agave-nerd-font$"],
"font-comic-shanns-mono-nerd-font": ["brew list --cask | grep ^font-comic-shanns-mono-nerd-font$"],
"font-droid-sans-mono-nerd-font": ["brew list --cask | grep ^font-droid-sans-mono-nerd-font$"],
"font-cascadia-code": ["brew list --cask | grep ^font-cascadia-code$"],
"font-cascadia-code-pl": ["brew list --cask | grep ^font-cascadia-code-pl$"],
"font-caskaydia-cove-nerd-font": ["brew list --cask | grep ^font-caskaydia-cove-nerd-font$"],
"font-hack-nerd-font": ["brew list --cask | grep ^font-hack-nerd-font$"]
},
"install": {
"homebrew/cask-fonts": ["brew tap homebrew/cask-fonts"],
"font-agave-nerd-font": ["brew install --cask font-agave-nerd-font"],
"font-comic-shanns-mono-nerd-font": ["brew install --cask font-comic-shanns-mono-nerd-font"],
"font-droid-sans-mono-nerd-font": ["brew install --cask font-droid-sans-mono-nerd-font"],
"font-cascadia-code": ["brew install --cask font-cascadia-code"],
"font-cascadia-code-pl": ["brew install --cask font-cascadia-code-pl"],
"font-caskaydia-cove-nerd-font": ["brew install --cask font-caskaydia-cove-nerd-font"],
"font-hack-nerd-font": ["brew install --cask font-hack-nerd-font"]
},
"uninstall": {
"font-agave-nerd-font": ["brew uninstall --cask font-agave-nerd-font"],
"font-comic-shanns-mono-nerd-font": ["brew uninstall --cask font-comic-shanns-mono-nerd-font"],
"font-droid-sans-mono-nerd-font": ["brew uninstall --cask font-droid-sans-mono-nerd-font"],
"font-cascadia-code": ["brew uninstall --cask font-cascadia-code"],
"font-cascadia-code-pl": ["brew uninstall --cask font-cascadia-code-pl"],
"font-caskaydia-cove-nerd-font": ["brew uninstall --cask font-caskaydia-cove-nerd-font"],
"font-hack-nerd-font": ["brew uninstall --cask font-hack-nerd-font"],
"homebrew/cask-fonts": ["brew tap homebrew/cask-fonts"]
}
}
},
"linux": {
"debian": {
"description": "Installing ABK tool set for Linux / Debian based distro",
"supported_versions": {
"debian": ["9", "10", "11", "12"],
"raspbian": ["9", "10", "11", "12"],
"ubuntu": ["20.04", "20.10", "22.04"]
},
"update_packages": ["sudo apt update", "sudo apt upgrade -y", "sudo apt dist-upgrade -y"],
"tools": {
"check": {
"aws": ["command -v aws"],
"direnv": ["command -v direnv"],
"ffmpeg": ["command -v ffmpeg"],
"git": ["command -v git"],
"pass": ["command -v pass"],
"gpg": ["command -v gpg"],
"jq": ["command -v jq"],
"mplayer": ["command -v mplayer"],
"nmap": ["command -v nmap"],
"nodenv": ["command -v nodenv"],
"oh-my-posh": ["-e ./unixBin/oh-my-posh"],
"parallel": ["command -v parallel"],
"pyenv": ["command -v pyenv"],
"serverless": ["command -v serverless"],
"tfenv": ["command -v tfenv"],
"tree": ["command -v tree"],
"wget": ["command -v wget"],
"yq": ["command -v yq"],
"xclip": ["command -v xclip"],
"zsh-autosuggestions": ["[ \"$ABK_SHELL\" = \"zsh\" ] && apt list --installed | grep zsh-autosuggestions"],
"zsh-syntax-highlighting": ["[ \"$ABK_SHELL\" = \"zsh\" ] && apt list --installed | grep zsh-syntax-highlighting"]
},
"install": {
"aws": [
"curl \"https://awscli.amazonaws.com/awscli-exe-linux-$(uname -m).zip\" -o \"awscliv2.zip\"",
"unzip awscliv2.zip",
"sudo ./aws/install --bin-dir /usr/local/bin --install-dir /usr/local/aws-cli",
"[ -d ./aws ] && rm -Rf aws",
"[ -e ./awscliv2.zip ] && rm awscliv2.zip",
"ln -s ./XXX_aws.env ./unixBin/env/LINK_aws.env"
],
"direnv": [
"sudo apt install -y direnv",
"ln -s ./XXX_direnv.env ./unixBin/env/LINK_direnv.env"
],
"ffmpeg": ["sudo apt install -y ffmpeg"],
"pass": ["sudo apt install -y pass"],
"gpg": ["sudo apt install -y gnupg"],
"jq": ["sudo apt install -y jq"],
"mplayer": ["sudo apt install -y mplayer"],
"nmap": ["sudo apt install -y nmap"],
"nodenv": [
"git clone https://github.com/nodenv/nodenv.git ~/.nodenv",
"sudo ln -vs ~/.nodenv/bin/nodenv /usr/local/bin/nodenv",
"(cd ~/.nodenv src/configure && make -C src || true)",
"mkdir -p $(nodenv root)/plugins",
"git clone https://github.com/nodenv/node-build.git $(nodenv root)/plugins/node-build",
"git clone https://github.com/nodenv/nodenv-aliases.git $(nodenv root)/plugins/nodenv-aliases",
"ln -s ./XXX_nodenv.env ./unixBin/env/LINK_nodenv.env",
"nodenv install 16.20.2",
"nodenv install 18.18.2",
"nodenv install 21.5.0",
"nodenv global 21.5.0"
],
"oh-my-posh": [
"curl -s https://ohmyposh.dev/install.sh | bash -s -- -d ./unixBin",
"ln -s ./XXX_oh-my-posh.env ./unixBin/env/LINK_oh-my-posh.env"
],
"parallel": ["sudo apt install -y parallel"],
"pyenv": [
"sudo apt install -y make build-essential libssl-dev zlib1g-dev libbz2-dev libreadline-dev libsqlite3-dev wget curl llvm libncurses5-dev libncursesw5-dev xz-utils tk-dev libffi-dev liblzma-dev python3-openssl git",
"git clone https://github.com/pyenv/pyenv.git ~/.pyenv",
"sudo ln -vs ~/.pyenv/bin/pyenv /usr/local/bin/pyenv",
"(cd ~/.pyenv && src/configure && make -C src || true)",
"mkdir -p ~/.pyenv/plugins",
"git clone https://github.com/pyenv/pyenv-virtualenv.git ~/.pyenv/plugins/pyenv-virtualenv",
"ln -s ./XXX_pyenv.env ./unixBin/env/LINK_pyenv.env",
"pyenv install 3.11.5",
"pyenv virtualenv 3.11.5 bwp",
"pyenv virtualenv 3.11.5 cloud",
"pyenv virtualenv 3.11.5 itest"
],
"serverless": ["sudo npm install -g serverless"],
"tfenv": [
"git clone https://github.com/tfutils/tfenv.git ~/.tfenv",
"sudo ln -vs ~/.tfenv/bin/tfenv /usr/local/bin/tfenv",
"ln -s ./XXX_tfenv.env ./unixBin/env/LINK_tfenv.env",
"tfenv install 1.3.9"
],
"tree": ["sudo apt install -y tree"],
"wget": ["sudo apt install -y wget"],
"yq": ["sudo snap install yq"],
"xclip": ["sudo apt install -y xclip"],
"zsh-autosuggestions": [
"sudo apt install -y zsh-autosuggestions",
"[ ! -L ./unixBin/env/LINK_zsh_plugins.env ] && ln -s ./XXX_zsh_plugins.env ./unixBin/env/LINK_zsh_plugins.env"
],
"zsh-syntax-highlighting": [
"sudo apt install -y zsh-syntax-highlighting",
"[ ! -L ./unixBin/env/LINK_zsh_plugins.env ] && ln -s ./XXX_zsh_plugins.env ./unixBin/env/LINK_zsh_plugins.env"
]
},
"uninstall": {
"aws": [
"find ./unixBin/env -type l -name 'LINK_aws.env' -delete",
"sudo find /usr/local/bin -type l -name 'aws' -delete",
"sudo find /usr/local/bin -type l -name 'aws_completer' -delete",
"[ -d /usr/local/aws-cli ] && sudo rm -Rf /usr/local/aws-cli"
],
"direnv": [
"find ./unixBin/env -type l -name 'LINK_direnv.env' -delete",
"sudo apt remove -y direnv"
],
"ffmpeg": ["sudo apt remove -y ffmpeg"],
"pass": ["sudo apt remove -y pass"],
"gpg": ["sudo apt remove -y gnupg"],
"jq": ["sudo apt remove -y jq"],
"mplayer": ["sudo apt remove -y mplayer"],
"nmap": ["sudo apt remove -y nmap"],
"nodenv": [
"find ./unixBin/env -type l -name 'LINK_nodenv.env' -delete",
"nodenv uninstall -f 16.20.2",
"nodenv uninstall -f 18.18.2",
"nodenv uninstall -f 21.5.0",
"sudo find /usr/local/bin -type l -name 'nodenv' -delete",
"rm -Rf ~/.nodenv"
],
"oh-my-posh": [
"find ./unixBin/env -type l -name 'LINK_oh-my-posh.env' -delete",
"rm ./unixBin/oh-my-posh"
],
"parallel": ["sudo apt remove -y parallel"],
"pyenv": [
"find ./unixBin/env -type l -name 'LINK_pyenv.env' -delete",
"pyenv virtualenv-delete -f bwp",
"pyenv virtualenv-delete -f cloud",
"pyenv virtualenv-delete -f itest",
"pyenv uninstall -f 3.11.5",
"sudo find /usr/local/bin -type l -name 'pyenv' -delete",
"rm -Rf ~/.pyenv"
],
"serverless": ["sudo npm uninstall -g serverless"],
"tfenv": [
"tfenv uninstall 1.3.9",
"find ./unixBin/env -type l -name 'LINK_tfenv.env' -delete",
"sudo find /usr/local/bin -type l -name 'tfenv' -delete",
"rm -Rf ~/.tfenv"
],
"tree": ["sudo apt remove -y tree"],
"wget": ["sudo apt remove -y wget"],
"yq": ["sudo snap remove yq"],
"xclip": ["sudo apt remove -y xclip"],
"zsh-autosuggestions": [
"find ./unixBin/env -type l -name 'LINK_zsh_plugins.env' -delete",
"sudo apt remove -y zsh-autosuggestions"
],
"zsh-syntax-highlighting": [
"find ./unixBin/env -type l -name 'LINK_zsh_plugins.env' -delete",
"sudo apt remove -y zsh-syntax-highlighting"
]
}
},
"apps": {
"check": {
"visual-studio-code": ["command -v code"]
},
"install":{
"visual-studio-code": [
"sudo snap install --classic code",
"ABK_VSCODE_USER_CONFIG_DIR=\"$HOME/.config/Code/User\"",
"ABK_VSCODE_USER_CONFIG_SETTING=\"$ABK_VSCODE_USER_CONFIG_DIR/settings.json\"",
"mkdir -p $ABK_VSCODE_USER_CONFIG_DIR",
"[ ! -f \"$ABK_VSCODE_USER_CONFIG_SETTING\" ] && echo {} > \"$ABK_VSCODE_USER_CONFIG_SETTING\" && chmod 600 \"$ABK_VSCODE_USER_CONFIG_SETTING\"",
"jq '. + {\"terminal.integrated.fontSize\": 14}' \"$ABK_VSCODE_USER_CONFIG_SETTING\" > ./tmp_setting.json && mv ./tmp_setting.json \"$ABK_VSCODE_USER_CONFIG_SETTING\"",
"jq '. + {\"terminal.integrated.fontFamily\": \"Hack Nerd Font\"}' \"$ABK_VSCODE_USER_CONFIG_SETTING\" > ./tmp_setting.json && mv ./tmp_setting.json \"$ABK_VSCODE_USER_CONFIG_SETTING\"",
"jq '. + {\"terminal.integrated.shellIntegration.enabled\": true}' \"$ABK_VSCODE_USER_CONFIG_SETTING\" > ./tmp_setting.json && mv ./tmp_setting.json \"$ABK_VSCODE_USER_CONFIG_SETTING\"",
"jq '. + {\"terminal.integrated.tabs.enabled\": true}' \"$ABK_VSCODE_USER_CONFIG_SETTING\" > ./tmp_setting.json && mv ./tmp_setting.json \"$ABK_VSCODE_USER_CONFIG_SETTING\"",
"jq '. + {\"terminal.integrated.tabs.title\": \"${cwd}\"}' \"$ABK_VSCODE_USER_CONFIG_SETTING\" > ./tmp_setting.json && mv ./tmp_setting.json \"$ABK_VSCODE_USER_CONFIG_SETTING\"",
"jq '. + {\"files.autoSave\": \"afterDelay\"}' \"$ABK_VSCODE_USER_CONFIG_SETTING\" > ./tmp_setting.json && mv ./tmp_setting.json \"$ABK_VSCODE_USER_CONFIG_SETTING\""
]
},
"uninstall": {
"visual-studio-code": ["sudo snap remove code"]
}
},
"fonts": {
"check": {
"font_installation_start": [""],
"font-agave-nerd-font": ["ls ~/.fonts/AgaveNerdFont*"],
"font-comic-shanns-mono-nerd-font": ["ls ~/.fonts/ComicShannsMonoNerdFont*"],
"font-droid-sans-mono-nerd-font": ["ls ~/.fonts/DroidSansMNerdFont*"],
"font-cascadia-code": ["ls ~/.fonts/CaskaydiaCoveNerdFont*"],
"font-hack-nerd-font": ["ls ~/.fonts/Hack*"],
"font_installation_cleanup": [""]
},
"install": {
"font_installation_start": ["mkdir -p ~/.fonts"],
"font-agave-nerd-font": [
"ABK_FONT_NAME=Agave",
"curl -L https://github.com/ryanoasis/nerd-fonts/releases/download/v3.1.1/${ABK_FONT_NAME}.tar.xz -o fonts.tar.xz",
"mkdir -p ./fonts && tar -xvf fonts.tar.xz -C ./fonts",
"mv ./fonts/${ABK_FONT_NAME}NerdFont* ~/.fonts/",
"rm fonts.tar.xz",
"rm -Rf ./fonts"
],
"font-comic-shanns-mono-nerd-font": [
"ABK_FONT_NAME=ComicShannsMono",
"curl -L https://github.com/ryanoasis/nerd-fonts/releases/download/v3.1.1/${ABK_FONT_NAME}.tar.xz -o fonts.tar.xz",
"mkdir -p ./fonts && tar -xvf fonts.tar.xz -C ./fonts",
"mv ./fonts/${ABK_FONT_NAME}NerdFont* ~/.fonts/",
"rm fonts.tar.xz",
"rm -Rf ./fonts"
],
"font-droid-sans-mono-nerd-font": [
"ABK_FONT_NAME=DroidSansMono",
"curl -L https://github.com/ryanoasis/nerd-fonts/releases/download/v3.1.1/${ABK_FONT_NAME}.tar.xz -o fonts.tar.xz",
"mkdir -p ./fonts && tar -xvf fonts.tar.xz -C ./fonts",
"mv ./fonts/DroidSansMNerdFont* ~/.fonts/",
"rm fonts.tar.xz",
"rm -Rf ./fonts"
],
"font-cascadia-code": [
"ABK_FONT_NAME=CascadiaCode",
"curl -L https://github.com/ryanoasis/nerd-fonts/releases/download/v3.1.1/${ABK_FONT_NAME}.tar.xz -o fonts.tar.xz",
"mkdir -p ./fonts && tar -xvf fonts.tar.xz -C ./fonts",
"mv ./fonts/CaskaydiaCoveNerdFont* ~/.fonts/",
"rm fonts.tar.xz",
"rm -Rf ./fonts"
],
"font-hack-nerd-font": [
"ABK_FONT_NAME=Hack",
"curl -L https://github.com/ryanoasis/nerd-fonts/releases/download/v3.1.1/${ABK_FONT_NAME}.tar.xz -o fonts.tar.xz",
"mkdir -p ./fonts && tar -xvf fonts.tar.xz -C ./fonts",
"mv ./fonts/${ABK_FONT_NAME}NerdFont* ~/.fonts/",
"rm fonts.tar.xz",
"rm -Rf ./fonts"
],
"font_installation_cleanup": [
"fc-cache -fv"
]
},
"uninstall": {
"font-agave-nerd-font": ["rm ~/.fonts/AgaveNerdFont*"],
"font-comic-shanns-mono-nerd-font": ["rm ~/.fonts/ComicShannsMonoNerdFont*"],
"font-droid-sans-mono-nerd-font": ["rm ~/.fonts/DroidSansMNerdFont*"],
"font-cascadia-code": ["rm ~/.fonts/CaskaydiaCoveNerdFont*"],
"font-hack-nerd-font": ["rm ~/.fonts/Hack*"],
"font_installation_cleanup": ["fc-cache -fv"]
}
}
}
}
}