@sebastienrousseau/dotfiles 0.2.456 → 0.2.458

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (126) hide show
  1. package/README.md +141 -93
  2. package/dist/Makefile +7 -7
  3. package/dist/bin/backup.d.ts +3 -0
  4. package/dist/bin/backup.d.ts.map +1 -0
  5. package/dist/bin/backup.js +3 -0
  6. package/dist/bin/backup.js.map +1 -0
  7. package/dist/bin/constants.d.ts +7 -0
  8. package/dist/bin/constants.d.ts.map +1 -0
  9. package/dist/bin/constants.js +2 -0
  10. package/dist/bin/constants.js.map +1 -0
  11. package/dist/bin/copy.d.ts +3 -0
  12. package/dist/bin/copy.d.ts.map +1 -0
  13. package/dist/bin/copy.js +2 -0
  14. package/dist/bin/copy.js.map +1 -0
  15. package/dist/bin/dotfiles.d.ts +3 -0
  16. package/dist/bin/dotfiles.d.ts.map +1 -0
  17. package/dist/bin/dotfiles.js +3 -0
  18. package/dist/bin/dotfiles.js.map +1 -0
  19. package/dist/bin/download.d.ts +3 -0
  20. package/dist/bin/download.d.ts.map +1 -0
  21. package/dist/bin/download.js +2 -0
  22. package/dist/bin/download.js.map +1 -0
  23. package/dist/{shell → bin}/index.d.ts +0 -0
  24. package/dist/{shell → bin}/index.d.ts.map +1 -1
  25. package/dist/bin/index.js +1 -0
  26. package/dist/bin/index.js.map +1 -0
  27. package/dist/bin/transfer.d.ts +3 -0
  28. package/dist/bin/transfer.d.ts.map +1 -0
  29. package/dist/bin/transfer.js +4 -0
  30. package/dist/bin/transfer.js.map +1 -0
  31. package/dist/bin/unpack.d.ts +3 -0
  32. package/dist/bin/unpack.d.ts.map +1 -0
  33. package/dist/bin/unpack.js +3 -0
  34. package/dist/bin/unpack.js.map +1 -0
  35. package/dist/filesizes.txt +240 -174
  36. package/dist/{shell → lib}/README.md +0 -0
  37. package/dist/lib/aliases/default/default.aliases.sh +183 -0
  38. package/dist/{shell → lib}/aliases/gcloud/gcloud.aliases.sh +1 -1
  39. package/dist/lib/aliases/git/git.aliases.sh +569 -0
  40. package/dist/{shell → lib}/aliases/heroku/heroku.aliases.sh +1 -1
  41. package/dist/{shell → lib}/aliases/jekyll/jekyll.aliases.sh +1 -1
  42. package/dist/{shell → lib}/aliases/pnpm/pnpm.aliases.sh +1 -1
  43. package/dist/{shell → lib}/aliases/subversion/subversion.aliases.sh +1 -1
  44. package/dist/{shell → lib}/aliases/tmux/tmux.aliases.sh +1 -1
  45. package/dist/{shell → lib}/aliases.sh +2 -2
  46. package/dist/{shell → lib}/configurations/README.md +0 -0
  47. package/dist/{shell → lib}/configurations/bash/bashrc +3 -3
  48. package/dist/{shell → lib}/configurations/curl/cacert.pem +0 -0
  49. package/dist/{shell → lib}/configurations/curl/curlrc +1 -1
  50. package/dist/{shell → lib}/configurations/default/color.sh +1 -1
  51. package/dist/{shell → lib}/configurations/default/editor.sh +1 -1
  52. package/dist/{shell → lib}/configurations/default/prompt.sh +1 -1
  53. package/dist/{shell → lib}/configurations/inputrc/inputrc +1 -1
  54. package/dist/{shell → lib}/configurations/jshint/jshintrc +0 -0
  55. package/dist/{shell → lib}/configurations/profile/profile +1 -1
  56. package/dist/lib/configurations/tmux/default +17 -0
  57. package/dist/lib/configurations/tmux/display +25 -0
  58. package/dist/lib/configurations/tmux/linux +17 -0
  59. package/dist/lib/configurations/tmux/navigation +29 -0
  60. package/dist/lib/configurations/tmux/panes +9 -0
  61. package/dist/lib/configurations/tmux/theme +28 -0
  62. package/dist/lib/configurations/tmux/tmux +20 -0
  63. package/dist/lib/configurations/tmux/vi +5 -0
  64. package/dist/{shell → lib}/configurations/vim/vimrc +1 -1
  65. package/dist/{shell → lib}/configurations/wget/wgetrc +1 -1
  66. package/dist/{shell → lib}/configurations/zsh/zshrc +3 -3
  67. package/dist/{shell → lib}/configurations.sh +2 -2
  68. package/dist/{shell → lib}/exit.sh +1 -1
  69. package/dist/{shell → lib}/functions/README.md +0 -0
  70. package/dist/{shell → lib}/functions/cdls.sh +1 -1
  71. package/dist/{shell → lib}/functions/curlheader.sh +1 -1
  72. package/dist/{shell → lib}/functions/curltime.sh +1 -1
  73. package/dist/{shell → lib}/functions/encode64.sh +1 -1
  74. package/dist/{shell → lib}/functions/environment.sh +1 -1
  75. package/dist/{shell → lib}/functions/extract.sh +1 -1
  76. package/dist/{shell → lib}/functions/filehead.sh +0 -0
  77. package/dist/{shell → lib}/functions/genpwd.sh +1 -1
  78. package/dist/{shell → lib}/functions/goto.sh +1 -1
  79. package/dist/{shell → lib}/functions/hidehiddenfiles.sh +1 -1
  80. package/dist/{shell → lib}/functions/hostinfo.sh +1 -1
  81. package/dist/{shell → lib}/functions/hstats.sh +1 -1
  82. package/dist/{shell → lib}/functions/httpdebug.sh +1 -1
  83. package/dist/{shell → lib}/functions/keygen.sh +1 -1
  84. package/dist/{shell → lib}/functions/last.sh +1 -1
  85. package/dist/{shell → lib}/functions/logout.sh +1 -1
  86. package/dist/{shell → lib}/functions/lowercase.sh +1 -1
  87. package/dist/{shell → lib}/functions/macos.sh +1 -1
  88. package/dist/{shell → lib}/functions/matrix.sh +1 -1
  89. package/dist/{shell → lib}/functions/mcd.sh +1 -1
  90. package/dist/{shell → lib}/functions/mount_read_only.sh +1 -1
  91. package/dist/{shell → lib}/functions/myproc.sh +1 -1
  92. package/dist/{shell → lib}/functions/prependpath.sh +1 -1
  93. package/dist/{shell → lib}/functions/ql.sh +1 -1
  94. package/dist/{shell → lib}/functions/rd.sh +1 -1
  95. package/dist/{shell → lib}/functions/remove_disk.sh +1 -1
  96. package/dist/{shell → lib}/functions/ren.sh +1 -1
  97. package/dist/{shell → lib}/functions/showhiddenfiles.sh +1 -1
  98. package/dist/{shell → lib}/functions/size.sh +1 -1
  99. package/dist/{shell → lib}/functions/stopwatch.sh +1 -1
  100. package/dist/{shell → lib}/functions/uppercase.sh +1 -1
  101. package/dist/{shell → lib}/functions/view-source.sh +1 -1
  102. package/dist/{shell → lib}/functions/vscode.sh +1 -1
  103. package/dist/{shell → lib}/functions/whoisport.sh +1 -1
  104. package/dist/{shell → lib}/functions/zipf.sh +1 -1
  105. package/dist/{shell → lib}/functions.sh +2 -2
  106. package/dist/{shell → lib}/history.sh +1 -1
  107. package/dist/{shell → lib}/paths/ant/ant.paths.sh +1 -1
  108. package/dist/{shell → lib}/paths/default/default.paths.sh +1 -1
  109. package/dist/{shell → lib}/paths/homebrew/homebrew.paths.sh +1 -1
  110. package/dist/{shell → lib}/paths/java/java.paths.sh +1 -1
  111. package/dist/{shell → lib}/paths/maven/maven.paths.sh +1 -1
  112. package/dist/{shell → lib}/paths/node/node.paths.sh +1 -1
  113. package/dist/{shell → lib}/paths/nvm/nvm.paths.sh +1 -1
  114. package/dist/{shell → lib}/paths/pnpm/pnpm.paths.sh +1 -1
  115. package/dist/{shell → lib}/paths/python/python.paths.sh +1 -1
  116. package/dist/{shell → lib}/paths/ruby/ruby.paths.sh +1 -1
  117. package/dist/{shell → lib}/paths/tmux/tmux.paths.sh +2 -2
  118. package/dist/{shell → lib}/paths.sh +2 -2
  119. package/package.json +35 -35
  120. package/dist/bin/compile.sh +0 -16
  121. package/dist/bin/copy.sh +0 -21
  122. package/dist/bin/dotfiles.sh +0 -185
  123. package/dist/shell/aliases/default/default.aliases.sh +0 -199
  124. package/dist/shell/configurations/tmux/tmux +0 -95
  125. package/dist/shell/index.js +0 -2
  126. package/dist/shell/index.js.map +0 -1
package/README.md CHANGED
@@ -13,7 +13,7 @@
13
13
  • [Request Feature][issues]
14
14
  • [Contributing Guidelines][contributing]**
15
15
 
16
- ## 👋 Welcome to Dotfiles (v0.2.456)
16
+ ## 👋 Welcome to Dotfiles (v0.2.458)
17
17
 
18
18
  ### Simply designed to fit your shell life
19
19
 
@@ -22,10 +22,10 @@ aimed at making your life easier by providing a set of scripts and configuration
22
22
  files with new ways to get things done.
23
23
 
24
24
  [![Getting Started][getting_started]][getting-started]
25
- [![Download Dotfiles v0.2.456][download_button]][download]
25
+ [![Download Dotfiles v0.2.458][download_button]][download]
26
26
 
27
27
  Dotfiles aggregates a collection of standalone configuration files (dotfiles)
28
- combined into a `shell` directory that can be used to customize your development
28
+ combined into a `lib` directory that can be used to customize your development
29
29
  environment across numerous computers and operating systems (macOS, Windows,
30
30
  Linux).
31
31
 
@@ -101,15 +101,15 @@ The following programs must be installed on your system to install Dotfiles:
101
101
 
102
102
  ### 1️⃣ Download Dotfiles
103
103
 
104
- You can download the latest version (v0.2.456) with the following options:
104
+ You can download the latest version (v0.2.458) with the following options:
105
105
 
106
106
  - [**Manual download**][releases] - **The easiest way to install Dotfiles.**
107
107
  - [**Install with PnPM**](https://www.npmjs.com/package/@sebastienrousseau/dotfiles)
108
- `pnpm i -g @sebastienrousseau/dotfiles`.
108
+ `pnpm i @sebastienrousseau/dotfiles`.
109
109
  - [**Install with Npm**](https://www.npmjs.com/package/@sebastienrousseau/dotfiles)
110
- `npm install -g @sebastienrousseau/dotfiles`.
110
+ `npm install @sebastienrousseau/dotfiles`.
111
111
  - [**Install with Yarn**](https://yarnpkg.com/package/@sebastienrousseau/dotfiles)
112
- `yarn global add @sebastienrousseau/dotfiles`.
112
+ `yarn add @sebastienrousseau/dotfiles`.
113
113
  - **Clone the main repository** to get all source files including build scripts:
114
114
  `git clone https://github.com/sebastienrousseau/dotfiles.git`. This will clone
115
115
  the latest version of the Dotfiles repository.
@@ -177,6 +177,20 @@ You can also just check the installer options available, by simply running:
177
177
  make help
178
178
  ```
179
179
 
180
+ #### Using Node.js (advanced)
181
+
182
+ If you want to install Dotfiles using Node.js, you can run the following command
183
+ in the `dist` directory located in your
184
+ `node_modules/@sebastienrousseau/dotfiles/dist` directory:
185
+
186
+ ```bash
187
+ node .
188
+ ```
189
+
190
+ This will install the latest version of the dotfiles and will automatically
191
+ backup any existing dotfiles you may have into a backup directory
192
+ `$HOME/dotfiles_backup`.
193
+
180
194
  #### Using PnPM (highly recommended if you have PnPM installed)
181
195
 
182
196
  PnPM is a key dependency of the dotfiles package. It will help you install the
@@ -213,125 +227,159 @@ You'll see something like this:
213
227
  ```bash
214
228
  .
215
229
  ├── bin
216
- │   └── dotfiles.sh
217
- ├── shell
230
+ │   ├── backup.d.ts
231
+ │   ├── backup.d.ts.map
232
+ │   ├── backup.js
233
+ │   ├── backup.js.map
234
+ │   ├── constants.d.ts
235
+ │   ├── constants.d.ts.map
236
+ │   ├── constants.js
237
+ │   ├── constants.js.map
238
+ │   ├── copy.d.ts
239
+ │   ├── copy.d.ts.map
240
+ │   ├── copy.js
241
+ │   ├── copy.js.map
242
+ │   ├── dotfiles.d.ts
243
+ │   ├── dotfiles.d.ts.map
244
+ │   ├── dotfiles.js
245
+ │   ├── dotfiles.js.map
246
+ │   ├── download.d.ts
247
+ │   ├── download.d.ts.map
248
+ │   ├── download.js
249
+ │   ├── download.js.map
250
+ │   ├── index.d.ts
251
+ │   ├── index.d.ts.map
252
+ │   ├── index.js
253
+ │   ├── index.js.map
254
+ │   ├── transfer.d.ts
255
+ │   ├── transfer.d.ts.map
256
+ │   ├── transfer.js
257
+ │   ├── transfer.js.map
258
+ │   ├── unpack.d.ts
259
+ │   ├── unpack.d.ts.map
260
+ │   ├── unpack.js
261
+ │   └── unpack.js.map
262
+ ├── lib
218
263
  │   ├── aliases
219
264
  │   │   ├── default
220
- │   │   │   ├── README.md
221
- │   │   │   └── default.aliases.sh # Default aliases.
265
+ │   │   │   └── default.aliases.sh
222
266
  │   │   ├── gcloud
223
- │   │   │   └── gcloud.aliases.sh # GCloud aliases.
267
+ │   │   │   └── gcloud.aliases.sh
224
268
  │   │   ├── git
269
+ │   │   │   └── git.aliases.sh
225
270
  │   │   ├── heroku
226
- │   │   │   └── heroku.aliases.sh # Heroku aliases.
271
+ │   │   │   └── heroku.aliases.sh
227
272
  │   │   ├── jekyll
228
- │   │   │   └── jekyll.aliases.sh # Jekyll aliases.
273
+ │   │   │   └── jekyll.aliases.sh
229
274
  │   │   ├── pnpm
230
- │   │   │   └── pnpm.aliases.sh # Pnpm aliases.
275
+ │   │   │   └── pnpm.aliases.sh
231
276
  │   │   ├── subversion
232
- │   │   │   └── subversion.aliases.sh # Subversion aliases.
277
+ │   │   │   └── subversion.aliases.sh
233
278
  │   │   └── tmux
234
- │   │   └── tmux.aliases.sh # Tmux aliases.
279
+ │   │   └── tmux.aliases.sh
235
280
  │   ├── configurations
236
281
  │   │   ├── bash
237
- │   │   │   └── bashrc # Bashrc configuration file.
282
+ │   │   │   └── bashrc
238
283
  │   │   ├── curl
239
- │   │   │   ├── cacert.pem # CA Certificates.
240
- │   │   │   └── curlrc # Curlrc configuration file.
284
+ │   │   │   ├── cacert.pem
285
+ │   │   │   └── curlrc
241
286
  │   │   ├── default
242
- │   │   │   ├── color.sh # Color definitions.
243
- │   │   │   ├── editor.sh # Editor definitions.
244
- │   │   │   └── prompt.sh # Prompt definitions.
287
+ │   │   │   ├── color.sh
288
+ │   │   │   ├── editor.sh
289
+ │   │   │   └── prompt.sh
245
290
  │   │   ├── inputrc
246
- │   │   │   └── inputrc # Inputrc configuration file.
291
+ │   │   │   └── inputrc
247
292
  │   │   ├── jshint
248
- │   │   │   └── jshintrc # Jshintrc configuration file.
293
+ │   │   │   └── jshintrc
249
294
  │   │   ├── profile
250
- │   │   │   └── profile # Profile configuration file.
295
+ │   │   │   └── profile
251
296
  │   │   ├── tmux
252
- │   │   │   └── tmux # Tmux configuration file.
297
+ │   │   │   ├── default
298
+ │   │   │   ├── display
299
+ │   │   │   ├── linux
300
+ │   │   │   ├── navigation
301
+ │   │   │   ├── panes
302
+ │   │   │   ├── theme
303
+ │   │   │   ├── tmux
304
+ │   │   │   └── vi
253
305
  │   │   ├── vim
254
- │   │   │   └── vimrc # Vimrc configuration file.
306
+ │   │   │   └── vimrc
255
307
  │   │   ├── wget
256
- │   │   │   └── wgetrc # Wgetrc configuration file.
308
+ │   │   │   └── wgetrc
257
309
  │   │   ├── zsh
258
- │   │   │   └── zshrc # Zshrc configuration file.
310
+ │   │   │   └── zshrc
259
311
  │   │   └── README.md
260
312
  │   ├── functions
261
- │   │   ├── README.md # Functions documentation.
262
- │   │   ├── cdls.sh # cdls function.
263
- │   │   ├── curlheader.sh # curlheader function.
264
- │   │   ├── curltime.sh # curltime function.
265
- │   │   ├── encode64.sh # encode64 function.
266
- │   │   ├── environment.sh # environment function.
267
- │   │   ├── extract.sh # extract function.
268
- │   │   ├── filehead.sh # filehead function.
269
- │   │   ├── genpwd.sh # genpwd function.
270
- │   │   ├── goto.sh # goto function.
271
- │   │   ├── hidehiddenfiles.sh # hidehiddenfiles function.
272
- │   │   ├── hostinfo.sh # hostinfo function.
273
- │   │   ├── hstats.sh # hstats function.
274
- │   │   ├── httpdebug.sh # httpdebug function.
275
- │   │   ├── keygen.sh # keygen function.
276
- │   │   ├── last.sh # last function.
277
- │   │   ├── logout.sh # logout function.
278
- │   │   ├── lowercase.sh # lowercase function.
279
- │   │   ├── macos.sh # macos function.
280
- │   │   ├── matrix.sh # matrix function.
281
- │   │   ├── mcd.sh # mcd function.
282
- │   │   ├── mount_read_only.sh # mount_read_only function.
283
- │   │   ├── myproc.sh # myproc function.
284
- │   │   ├── prependpath.sh # prependpath function.
285
- │   │   ├── ql.sh # ql function.
286
- │   │   ├── rd.sh # rd function.
287
- │   │   ├── remove_disk.sh # remove_disk function.
288
- │   │   ├── ren.sh # ren function.
289
- │   │   ├── showhiddenfiles.sh # showhiddenfiles function.
290
- │   │   ├── size.sh # size function.
291
- │   │   ├── stopwatch.sh # stopwatch function.
292
- │   │   ├── uppercase.sh # uppercase function.
293
- │   │   ├── view-source.sh # view-source function.
294
- │   │   ├── vscode.sh # vscode function.
295
- │   │   ├── whoisport.sh # whoisport function.
296
- │   │   └── zipf.sh # zipf function.
313
+ │   │   ├── README.md
314
+ │   │   ├── cdls.sh
315
+ │   │   ├── curlheader.sh
316
+ │   │   ├── curltime.sh
317
+ │   │   ├── encode64.sh
318
+ │   │   ├── environment.sh
319
+ │   │   ├── extract.sh
320
+ │   │   ├── filehead.sh
321
+ │   │   ├── genpwd.sh
322
+ │   │   ├── goto.sh
323
+ │   │   ├── hidehiddenfiles.sh
324
+ │   │   ├── hostinfo.sh
325
+ │   │   ├── hstats.sh
326
+ │   │   ├── httpdebug.sh
327
+ │   │   ├── keygen.sh
328
+ │   │   ├── last.sh
329
+ │   │   ├── logout.sh
330
+ │   │   ├── lowercase.sh
331
+ │   │   ├── macos.sh
332
+ │   │   ├── matrix.sh
333
+ │   │   ├── mcd.sh
334
+ │   │   ├── mount_read_only.sh
335
+ │   │   ├── myproc.sh
336
+ │   │   ├── prependpath.sh
337
+ │   │   ├── ql.sh
338
+ │   │   ├── rd.sh
339
+ │   │   ├── remove_disk.sh
340
+ │   │   ├── ren.sh
341
+ │   │   ├── showhiddenfiles.sh
342
+ │   │   ├── size.sh
343
+ │   │   ├── stopwatch.sh
344
+ │   │   ├── uppercase.sh
345
+ │   │   ├── view-source.sh
346
+ │   │   ├── vscode.sh
347
+ │   │   ├── whoisport.sh
348
+ │   │   └── zipf.sh
297
349
  │   ├── paths
298
350
  │   │   ├── ant
299
- │   │   │   └── ant.paths.sh # Ant paths.
351
+ │   │   │   └── ant.paths.sh
300
352
  │   │   ├── default
301
- │   │   │   └── default.paths.sh # Default paths.
353
+ │   │   │   └── default.paths.sh
302
354
  │   │   ├── homebrew
303
- │   │   │   └── homebrew.paths.sh # Homebrew paths.
355
+ │   │   │   └── homebrew.paths.sh
304
356
  │   │   ├── java
305
- │   │   │   └── java.paths.sh # Java paths.
357
+ │   │   │   └── java.paths.sh
306
358
  │   │   ├── maven
307
- │   │   │   └── maven.paths.sh # Maven paths.
359
+ │   │   │   └── maven.paths.sh
308
360
  │   │   ├── node
309
- │   │   │   └── node.paths.sh # Node paths.
361
+ │   │   │   └── node.paths.sh
310
362
  │   │   ├── nvm
311
- │   │   │   └── nvm.paths.sh # NVM paths.
363
+ │   │   │   └── nvm.paths.sh
312
364
  │   │   ├── pnpm
313
- │   │   │   └── pnpm.paths.sh # Pnpm paths.
365
+ │   │   │   └── pnpm.paths.sh
314
366
  │   │   ├── python
315
- │   │   │   └── python.paths.sh # Python paths.
367
+ │   │   │   └── python.paths.sh
316
368
  │   │   ├── ruby
317
- │   │   │   └── ruby.paths.sh # Ruby paths.
369
+ │   │   │   └── ruby.paths.sh
318
370
  │   │   └── tmux
319
- │   │   └── tmux.paths.sh # Tmux paths.
320
- │   ├── README.md # Dotfiles documentation.
321
- │   ├── aliases.sh # Aliases loader file.
322
- │   ├── configurations.sh # Configurations loader file.
323
- │   ├── exit.sh # Exit loader file.
324
- │   ├── functions.sh # Functions loader file.
325
- │   ├── history.sh # History loader file.
326
- │   ├── index.d.ts # Typescript type information.
327
- │   ├── index.d.ts.map # Typescript type map information.
328
- │   ├── index.js # Dotfiles main JS file.
329
- │   ├── index.js.map # Dotfiles main JS map file.
330
- │   └── paths.sh # Paths loader file.
331
- ├── Makefile # Makefile.
332
- └── filesizes.txt # Filesizes in the `dist` directory.
333
-
334
- 35 directories, 83 files
371
+ │   │   └── tmux.paths.sh
372
+ │   ├── README.md
373
+ │   ├── aliases.sh
374
+ │   ├── configurations.sh
375
+ │   ├── exit.sh
376
+ │   ├── functions.sh
377
+ │   ├── history.sh
378
+ │   └── paths.sh
379
+ ├── Makefile
380
+ └── filesizes.txt
381
+
382
+ 35 directories, 117 files
335
383
  ```
336
384
 
337
385
  ## 🔗 Releases
@@ -413,7 +461,7 @@ bunch of awesome [contributors](https://github.com/sebastienrousseau/dotfiles/gr
413
461
  [contributing]: https://github.com/sebastienrousseau/dotfiles/blob/master/.github/CONTRIBUTING.md
414
462
  [curl]: https://curl.se/
415
463
  [docs]: https://github.com/sebastienrousseau/dotfiles/docs
416
- [download]: https://github.com/sebastienrousseau/dotfiles/archive/refs/tags/v0.2.456.tar.gz
464
+ [download]: https://github.com/sebastienrousseau/dotfiles/archive/refs/tags/v0.2.458.tar.gz
417
465
  [getting-started]: https://github.com/sebastienrousseau/dotfiles#getting-started
418
466
  [git]: https://git-scm.com/
419
467
  [github]: https://github.com/sebastienrousseau/dotfiles
package/dist/Makefile CHANGED
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env make -f
2
2
 
3
- # 🅳🅾🆃🅵🅸🅻🅴🆂 (v0.2.456) - https://dotfiles.io
3
+ # 🅳🅾🆃🅵🅸🅻🅴🆂 (v0.2.458) - https://dotfiles.io
4
4
  # Copyright (c) Sebastien Rousseau 2022. All rights reserved
5
5
  # License: MIT
6
6
 
@@ -16,7 +16,7 @@ backup: ## Backup your current dotfiles.
16
16
  ifdef PNPM
17
17
  pnpm run backup
18
18
  else
19
- sh $(HOMEDIR)/bin/dotfiles.sh backup
19
+ sh $(HOMEDIR)/scripts/dotfiles backup
20
20
  endif
21
21
 
22
22
  .PHONY: assemble
@@ -25,7 +25,7 @@ assemble: ## Prepare the dotfiles on your system.
25
25
  ifdef PNPM
26
26
  pnpm run assemble
27
27
  else
28
- sh $(HOMEDIR)/bin/dotfiles assemble
28
+ sh $(HOMEDIR)/scripts/dotfiles assemble
29
29
  endif
30
30
 
31
31
  .PHONY: copy
@@ -34,7 +34,7 @@ copy: ## Copy the dotfiles on your system.
34
34
  ifdef PNPM
35
35
  pnpm run copy
36
36
  else
37
- sh $(HOMEDIR)/bin/dotfiles copy
37
+ sh $(HOMEDIR)/scripts/dotfiles copy
38
38
  endif
39
39
 
40
40
  .PHONY: download
@@ -43,7 +43,7 @@ download: ## Download the dotfiles on your system.
43
43
  ifdef PNPM
44
44
  pnpm run download
45
45
  else
46
- sh $(HOMEDIR)/bin/dotfiles download
46
+ sh $(HOMEDIR)/scripts/dotfiles download
47
47
  endif
48
48
 
49
49
  .PHONY: unpack
@@ -52,7 +52,7 @@ unpack: ## Unpack the dotfiles on your system.
52
52
  ifdef PNPM
53
53
  pnpm run unpack
54
54
  else
55
- sh $(HOMEDIR)/bin/dotfiles unpack
55
+ sh $(HOMEDIR)/scripts/dotfiles unpack
56
56
  endif
57
57
 
58
58
  .PHONY: clean
@@ -61,7 +61,7 @@ clean:
61
61
  ifdef PNPM
62
62
  pnpm run clean
63
63
  else
64
- sh $(HOMEDIR)/bin/dotfiles clean
64
+ sh $(HOMEDIR)/scripts/dotfiles clean
65
65
  endif
66
66
 
67
67
  .PHONY: help
@@ -0,0 +1,3 @@
1
+ export = backup;
2
+ declare function backup(src: any, dest: any): Promise<void>;
3
+ //# sourceMappingURL=backup.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"backup.d.ts","sourceRoot":"","sources":["../../bin/backup.js"],"names":[],"mappings":";AAOA,4DAeC"}
@@ -0,0 +1,3 @@
1
+
2
+ async function backup(src,dest){var fs=require("fs");var os=require('os');var path=require("path");var dir=path.resolve(__dirname,os.homedir()+'/dotfiles_backup');if(!fs.existsSync(dir)){fs.mkdirSync(dir);}
3
+ var srcPath=path.resolve(__dirname,os.homedir()+"/"+src);var destPath=dir+"/"+dest;await fs.promises.copyFile(srcPath,destPath);};module.exports=backup;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"backup.js","sourceRoot":"","sources":["../../bin/backup.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAOA,SAAe,MAAM,CAAC,GAAG,EAAE,IAAI;;;;;;oBACzB,EAAE,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;oBACnB,EAAE,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;oBACnB,IAAI,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC;oBACvB,GAAG,GAAG,IAAI,CAAC,OAAO,CAAC,SAAS,EAAE,EAAE,CAAC,OAAO,EAAE,GAAG,kBAAkB,CAAC,CAAC;oBAErE,IAAI,CAAC,EAAE,CAAC,UAAU,CAAC,GAAG,CAAC,EAAC;wBACtB,EAAE,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC;qBACnB;oBAEG,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC,SAAS,EAAE,EAAE,CAAC,OAAO,EAAE,GAAG,GAAG,GAAG,GAAG,CAAC,CAAC;oBAC5D,QAAQ,GAAG,GAAG,GAAG,GAAG,GAAG,IAAI,CAAC;oBAEhC,WAAM,EAAE,CAAC,QAAQ,CAAC,QAAQ,CAAC,OAAO,EAAE,QAAQ,CAAC,EAAA;;oBAA7C,SAA6C,CAAC;;;;;CAE/C;AAAA,CAAC;AAEF,MAAM,CAAC,OAAO,GAAG,MAAM,CAAC"}
@@ -0,0 +1,7 @@
1
+ export const aliases: string[];
2
+ export const config: string[];
3
+ export const copies: string[];
4
+ export const dotfile: "https://registry.npmjs.org/@sebastienrousseau/dotfiles/-/dotfiles-0.2.458.tgz";
5
+ export const tmux: "$DOTFILES/configurations/tmux/";
6
+ export const version: "dotfiles-0.2.458.tgz";
7
+ //# sourceMappingURL=constants.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../bin/constants.js"],"names":[],"mappings":"AAUA,+BAWE;AAeF,8BAQE;AArBF,8BAWE;AA1BF,sGAA+F;AAsC/F,oDAA+C;AAvC/C,6CAAuC"}
@@ -0,0 +1,2 @@
1
+
2
+ const version="dotfiles-0.2.458.tgz";const dotfile="https://registry.npmjs.org/@sebastienrousseau/dotfiles/-/dotfiles-0.2.458.tgz";const aliases=[".bashrc","cacert.pem",".curlrc",".inputrc",".jshintrc",".profile",".tmux.conf",".vimrc",".wgetrc",".zshrc"];const copies=["lib/configurations/bash/bashrc","lib/configurations/curl/cacert.pem","lib/configurations/curl/curlrc","lib/configurations/input/inputrc","lib/configurations/jshint/jshintrc","lib/configurations/profile/profile","lib/configurations/tmux/tmux","lib/configurations/vim/vimrc","lib/configurations/wget/wgetrc","lib/configurations/zsh/zshrc",];const config=["lib/configurations/tmux/default","lib/configurations/tmux/display","lib/configurations/tmux/linux","lib/configurations/tmux/navigation","lib/configurations/tmux/panes","lib/configurations/tmux/theme","lib/configurations/tmux/vi"];const tmux="$DOTFILES/configurations/tmux/";module.exports={aliases,config,copies,dotfile,tmux,version};
@@ -0,0 +1 @@
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../bin/constants.js"],"names":[],"mappings":";AAOA,IAAM,OAAO,GAAG,sBAAsB,CAAC;AACvC,IAAM,OAAO,GAAE,+EAA+E,CAAC;AAE/F,IAAM,OAAO,GAAG;IACd,SAAS;IACT,YAAY;IACZ,SAAS;IACT,UAAU;IACV,WAAW;IACX,UAAU;IACV,YAAY;IACZ,QAAQ;IACR,SAAS;IACT,QAAQ;CACT,CAAC;AAEF,IAAM,MAAM,GAAG;IACb,gCAAgC;IAChC,oCAAoC;IACpC,gCAAgC;IAChC,kCAAkC;IAClC,oCAAoC;IACpC,oCAAoC;IACpC,8BAA8B;IAC9B,8BAA8B;IAC9B,gCAAgC;IAChC,8BAA8B;CAC/B,CAAC;AAEF,IAAM,MAAM,GAAG;IACb,iCAAiC;IACjC,iCAAiC;IACjC,+BAA+B;IAC/B,oCAAoC;IACpC,+BAA+B;IAC/B,+BAA+B;IAC/B,4BAA4B;CAC7B,CAAC;AAEF,IAAM,IAAI,GAAI,gCAAgC,CAAC;AAE/C,MAAM,CAAC,OAAO,GAAG,EAAE,OAAO,SAAA,EAAE,MAAM,QAAA,EAAE,MAAM,QAAA,EAAE,OAAO,SAAA,EAAE,IAAI,MAAA,EAAE,OAAO,SAAA,EAAE,CAAC"}
@@ -0,0 +1,3 @@
1
+ export = copy;
2
+ declare function copy(src: any, dest: any): Promise<void>;
3
+ //# sourceMappingURL=copy.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"copy.d.ts","sourceRoot":"","sources":["../../bin/copy.js"],"names":[],"mappings":";AAOA,0DAUC"}
@@ -0,0 +1,2 @@
1
+
2
+ async function copy(src,dest){var fs=require('fs');var os=require("os");var path=require('path');var destPath=path.resolve(__dirname,os.homedir()+"/"+dest);var srcPath=path.resolve(__dirname,"../"+src);await fs.promises.copyFile(srcPath,destPath);};module.exports=copy;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"copy.js","sourceRoot":"","sources":["../../bin/copy.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAOA,SAAe,IAAI,CAAC,GAAG,EAAE,IAAI;;;;;;oBAEvB,EAAE,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;oBACnB,EAAE,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;oBACnB,IAAI,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC;oBACvB,QAAQ,GAAG,IAAI,CAAC,OAAO,CAAC,SAAS,EAAE,EAAE,CAAC,OAAO,EAAE,GAAG,GAAG,GAAG,IAAI,CAAC,CAAC;oBAC9D,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC,SAAS,EAAE,KAAK,GAAG,GAAG,CAAC,CAAC;oBAEnD,WAAM,EAAE,CAAC,QAAQ,CAAC,QAAQ,CAAC,OAAO,EAAE,QAAQ,CAAC,EAAA;;oBAA7C,SAA6C,CAAC;;;;;CAE/C;AAAA,CAAC;AAEF,MAAM,CAAC,OAAO,GAAG,IAAI,CAAC"}
@@ -0,0 +1,3 @@
1
+ declare function _exports(): Promise<void>;
2
+ export = _exports;
3
+ //# sourceMappingURL=dotfiles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dotfiles.d.ts","sourceRoot":"","sources":["../../bin/dotfiles.js"],"names":[],"mappings":"AAoBiB,2CAwBhB"}
@@ -0,0 +1,3 @@
1
+
2
+ const copy=require("./copy.js");const transfer=require("./transfer.js");const backup=require("./backup.js");const download=require("./download.js");const unpack=require("./unpack.js");const{aliases,config,copies,tmux}=require("./constants.js");const sleep=(waitTimeInMs)=>new Promise((resolve)=>setTimeout(resolve,waitTimeInMs));var fs=require("fs");var os=require("os");var path=require("path");const dir=path.resolve(__dirname,os.homedir());module.exports=async function main(){let i=0;do{backup(aliases[i],aliases[i]);copy(copies[i],aliases[i]);i++;}while(i<aliases.length&&i<copies.length);download();await sleep(2500);unpack();await sleep(2500);if(fs.existsSync(dir)){await transfer(dir);}
3
+ else{await fs.mkdirSync(dir);await sleep(2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CAAC,CAAC;wBAC5B,CAAC,EAAE,CAAC;qBACL,QAAQ,CAAC,GAAG,OAAO,CAAC,MAAM,IAAI,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE;oBAGlD,QAAQ,EAAE,CAAC;oBACX,WAAM,KAAK,CAAC,IAAI,CAAC,EAAA;;oBAAjB,SAAiB,CAAC;oBAClB,MAAM,EAAE,CAAC;oBACT,WAAM,KAAK,CAAC,IAAI,CAAC,EAAA;;oBAAjB,SAAiB,CAAC;yBACd,EAAE,CAAC,UAAU,CAAC,GAAG,CAAC,EAAlB,cAAkB;oBACpB,WAAM,QAAQ,CAAC,GAAG,CAAC,EAAA;;oBAAnB,SAAmB,CAAC;;wBAGpB,WAAM,EAAE,CAAC,SAAS,CAAC,GAAG,CAAC,EAAA;;oBAAvB,SAAuB,CAAC;oBACxB,WAAM,KAAK,CAAC,IAAI,CAAC,EAAA;;oBAAjB,SAAiB,CAAC;oBAClB,WAAM,QAAQ,CAAC,GAAG,CAAC,EAAA;;oBAAnB,SAAmB,CAAC;;;;;;CAEvB,CAAC"}
@@ -0,0 +1,3 @@
1
+ export = download;
2
+ declare function download(): Promise<void>;
3
+ //# sourceMappingURL=download.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"download.d.ts","sourceRoot":"","sources":["../../bin/download.js"],"names":[],"mappings":";AAOA,2CA0BC"}
@@ -0,0 +1,2 @@
1
+
2
+ async function download(){const{promisify}=require('util');var fs=require("fs");var os=require("os");var path=require("path");const{dotfile,version}=require("./constants.js");var destPath=path.resolve(__dirname,os.homedir()+"/dotfiles_backup/");const https=require("https");const file=fs.createWriteStream(version);const mv=promisify(fs.rename);const request=https.get(dotfile,response=>{console.log("STATUS: "+response.statusCode);var headers=JSON.stringify(response.headers);console.log('HEADERS: '+headers);response.pipe(file);file.on('finish',()=>{file.close();mv(version,`${destPath}/${version}`);fs.rmSync(version);});});};module.exports=download;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"download.js","sourceRoot":"","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AC,CAAC,CAAC;;;;CAGN;AAAA,CAAC;AAEF,MAAM,CAAC,OAAO,GAAG,QAAQ,CAAC"}
File without changes
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../shell/index.js"],"names":[],"mappings":""}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../bin/index.js"],"names":[],"mappings":""}
@@ -0,0 +1 @@
1
+ "use strict";var dotfiles=require('./dotfiles.js');dotfiles();
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../bin/index.js"],"names":[],"mappings":"AAOA,YAAY,CAAC;AACb,IAAI,QAAQ,GAAG,OAAO,CAAC,eAAe,CAAC,CAAC;AAExC,QAAQ,EAAE,CAAC"}
@@ -0,0 +1,3 @@
1
+ export = transfer;
2
+ declare function transfer(dest: any): Promise<void>;
3
+ //# sourceMappingURL=transfer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"transfer.d.ts","sourceRoot":"","sources":["../../bin/transfer.js"],"names":[],"mappings":";AAOA,oDAyBC"}
@@ -0,0 +1,4 @@
1
+
2
+ async function transfer(dest){const fs=require("fs-extra");var os=require('os');var path=require('path');const source=path.resolve(__dirname,os.homedir()+"/dotfiles_backup/package/dist/");const dotfiles=path.resolve(__dirname,"/"+dest+"/.dotfiles");const bin=path.resolve(__dirname,"/"+dest+"/.dotfiles/bin");const filesizes=path.resolve(__dirname,"/"+dest+"/.dotfiles/filesizes.txt");const make=path.resolve(__dirname,"/"+dest+"/.dotfiles/Makefile");if(fs.existsSync(dotfiles)){await fs.removeSync(dotfiles);}
3
+ await fs.copy(source,dotfiles);await fs.removeSync(bin);await fs.removeSync(filesizes);await fs.removeSync(make);}
4
+ module.exports=transfer;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"transfer.js","sourceRoot":"","sources":["../../bin/transfer.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAOA,SAAe,Q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 export = unpack;
2
+ declare function unpack(): Promise<void>;
3
+ //# sourceMappingURL=unpack.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"unpack.d.ts","sourceRoot":"","sources":["../../bin/unpack.js"],"names":[],"mappings":";AAOA,yCAOC"}
@@ -0,0 +1,3 @@
1
+
2
+ async function unpack(){const compressing=require("compressing");var os=require('os');var path=require('path');const{version}=require("./constants.js");var destPath=path.resolve(__dirname,os.homedir()+"/dotfiles_backup/");compressing.tgz.uncompress(destPath+"/"+version,destPath+"/");}
3
+ module.exports=unpack;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"unpack.js","sourceRoot":"","sources":["../../bin/unpack.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAOA,SAAe,MAAM;;;;YACb,WAAW,GAAG,OAAO,CAAC,aAAa,CAAC,CAAC;YACvC,EAAE,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;YACnB,IAAI,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC;YACnB,OAAO,GAAK,OAAO,CAAC,gBAAgB,CAAC,QAA9B,CAA+B;YAC1C,QAAQ,GAAG,IAAI,CAAC,OAAO,CAAC,SAAS,EAAE,EAAE,CAAC,OAAO,EAAE,GAAG,mBAAmB,CAAC,CAAC;YAC3E,WAAW,CAAC,GAAG,CAAC,UAAU,CAAC,QAAQ,GAAC,GAAG,GAAC,OAAO,EAAE,QAAQ,GAAC,GAAG,CAAC,CAAC;;;;CAChE;AAED,MAAM,CAAC,OAAO,GAAG,MAAM,CAAC"}