@sebastienrousseau/dotfiles 0.2.457 → 0.2.459

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 +181 -96
  2. package/dist/Makefile +31 -53
  3. package/dist/bin/constants.d.ts +4 -2
  4. package/dist/bin/constants.d.ts.map +1 -1
  5. package/dist/bin/constants.js +1 -1
  6. package/dist/bin/constants.js.map +1 -1
  7. package/dist/bin/dotfiles.js +1 -2
  8. package/dist/bin/dotfiles.js.map +1 -1
  9. package/dist/bin/index.js +0 -0
  10. package/dist/filesizes.txt +288 -230
  11. package/dist/{shell → lib}/README.md +0 -0
  12. package/dist/lib/aliases/default/default.aliases.sh +177 -0
  13. package/dist/{shell → lib}/aliases/gcloud/gcloud.aliases.sh +1 -1
  14. package/dist/lib/aliases/git/git.aliases.sh +569 -0
  15. package/dist/{shell → lib}/aliases/heroku/heroku.aliases.sh +1 -1
  16. package/dist/{shell → lib}/aliases/jekyll/jekyll.aliases.sh +1 -1
  17. package/dist/{shell → lib}/aliases/pnpm/pnpm.aliases.sh +1 -1
  18. package/dist/{shell → lib}/aliases/subversion/subversion.aliases.sh +1 -1
  19. package/dist/{shell → lib}/aliases/tmux/tmux.aliases.sh +1 -1
  20. package/dist/{shell → lib}/aliases.sh +2 -2
  21. package/dist/{shell → lib}/configurations/README.md +0 -0
  22. package/dist/lib/configurations/bash/bashrc +36 -0
  23. package/dist/{shell → lib}/configurations/curl/cacert.pem +0 -0
  24. package/dist/{shell → lib}/configurations/curl/curlrc +1 -1
  25. package/dist/{shell → lib}/configurations/default/color.sh +1 -1
  26. package/dist/lib/configurations/default/constants.sh +39 -0
  27. package/dist/{shell → lib}/configurations/default/editor.sh +1 -1
  28. package/dist/{shell → lib}/configurations/default/prompt.sh +1 -1
  29. package/dist/lib/configurations/gem/gemrc +9 -0
  30. package/dist/{shell → lib}/configurations/input/inputrc +1 -1
  31. package/dist/{shell → lib}/configurations/jshint/jshintrc +0 -0
  32. package/dist/lib/configurations/nano/nanorc +34 -0
  33. package/dist/{shell → lib}/configurations/profile/profile +1 -1
  34. package/dist/lib/configurations/tmux/default +17 -0
  35. package/dist/lib/configurations/tmux/display +25 -0
  36. package/dist/lib/configurations/tmux/linux +17 -0
  37. package/dist/lib/configurations/tmux/navigation +29 -0
  38. package/dist/lib/configurations/tmux/panes +9 -0
  39. package/dist/lib/configurations/tmux/theme +28 -0
  40. package/dist/lib/configurations/tmux/tmux +20 -0
  41. package/dist/lib/configurations/tmux/vi +5 -0
  42. package/dist/{shell → lib}/configurations/vim/vimrc +1 -1
  43. package/dist/{shell → lib}/configurations/wget/wgetrc +1 -1
  44. package/dist/lib/configurations/zsh/zshrc +49 -0
  45. package/dist/{shell → lib}/configurations.sh +2 -2
  46. package/dist/{shell → lib}/exit.sh +1 -1
  47. package/dist/{shell → lib}/functions/README.md +0 -0
  48. package/dist/{shell → lib}/functions/cdls.sh +1 -1
  49. package/dist/lib/functions/changediskpwd.tmp +19 -0
  50. package/dist/lib/functions/code.tmp +18 -0
  51. package/dist/lib/functions/countdown.tmp +33 -0
  52. package/dist/{shell → lib}/functions/curlheader.sh +1 -1
  53. package/dist/{shell → lib}/functions/curltime.sh +1 -1
  54. package/dist/{shell → lib}/functions/encode64.sh +1 -1
  55. package/dist/{shell → lib}/functions/environment.sh +1 -1
  56. package/dist/{shell → lib}/functions/extract.sh +1 -1
  57. package/dist/{shell → lib}/functions/filehead.sh +0 -0
  58. package/dist/{shell → lib}/functions/genpwd.sh +1 -1
  59. package/dist/{shell → lib}/functions/goto.sh +1 -1
  60. package/dist/lib/functions/headers.tmp +4 -0
  61. package/dist/{shell → lib}/functions/hidehiddenfiles.sh +1 -1
  62. package/dist/lib/functions/history-all.tmp +7 -0
  63. package/dist/{shell → lib}/functions/hostinfo.sh +1 -1
  64. package/dist/{shell → lib}/functions/hstats.sh +1 -1
  65. package/dist/{shell → lib}/functions/httpdebug.sh +1 -1
  66. package/dist/{shell → lib}/functions/keygen.sh +1 -1
  67. package/dist/{shell → lib}/functions/last.sh +1 -1
  68. package/dist/{shell → lib}/functions/logout.sh +1 -1
  69. package/dist/{shell → lib}/functions/lowercase.sh +1 -1
  70. package/dist/{shell → lib}/functions/macos.sh +1 -1
  71. package/dist/lib/functions/matrix.sh +14 -0
  72. package/dist/{shell → lib}/functions/mcd.sh +1 -1
  73. package/dist/{shell → lib}/functions/mount_read_only.sh +1 -1
  74. package/dist/{shell → lib}/functions/myproc.sh +1 -1
  75. package/dist/{shell → lib}/functions/prependpath.sh +1 -1
  76. package/dist/lib/functions/print.tmp +13 -0
  77. package/dist/{shell → lib}/functions/ql.sh +1 -1
  78. package/dist/{shell → lib}/functions/rd.sh +1 -1
  79. package/dist/{shell → lib}/functions/remove_disk.sh +1 -1
  80. package/dist/{shell → lib}/functions/ren.sh +1 -1
  81. package/dist/lib/functions/rm.tmp +13 -0
  82. package/dist/lib/functions/rps.tmp +103 -0
  83. package/dist/{shell → lib}/functions/showhiddenfiles.sh +1 -1
  84. package/dist/{shell → lib}/functions/size.sh +1 -1
  85. package/dist/{shell → lib}/functions/stopwatch.sh +1 -1
  86. package/dist/lib/functions/trash.tmp +13 -0
  87. package/dist/lib/functions/tree.tmp +13 -0
  88. package/dist/{shell → lib}/functions/uppercase.sh +1 -1
  89. package/dist/lib/functions/uuidgen.tmp +27 -0
  90. package/dist/{shell → lib}/functions/view-source.sh +1 -1
  91. package/dist/{shell → lib}/functions/vscode.sh +1 -1
  92. package/dist/{shell → lib}/functions/whoisport.sh +1 -1
  93. package/dist/{shell → lib}/functions/zipf.sh +1 -1
  94. package/dist/{shell → lib}/functions.sh +2 -2
  95. package/dist/{shell → lib}/history.sh +1 -1
  96. package/dist/{shell → lib}/paths/ant/ant.paths.sh +1 -1
  97. package/dist/{shell → lib}/paths/default/default.paths.sh +1 -1
  98. package/dist/{shell → lib}/paths/homebrew/homebrew.paths.sh +1 -1
  99. package/dist/{shell → lib}/paths/java/java.paths.sh +1 -1
  100. package/dist/{shell → lib}/paths/maven/maven.paths.sh +1 -1
  101. package/dist/{shell → lib}/paths/node/node.paths.sh +1 -1
  102. package/dist/{shell → lib}/paths/nvm/nvm.paths.sh +1 -1
  103. package/dist/{shell → lib}/paths/pnpm/pnpm.paths.sh +1 -1
  104. package/dist/{shell → lib}/paths/python/python.paths.sh +1 -1
  105. package/dist/{shell → lib}/paths/ruby/ruby.paths.sh +1 -1
  106. package/dist/{shell → lib}/paths/tmux/tmux.paths.sh +2 -2
  107. package/dist/{shell → lib}/paths.sh +2 -2
  108. package/dist/scripts/assemble.sh +32 -0
  109. package/dist/scripts/backup.sh +84 -0
  110. package/dist/scripts/banner.sh +18 -0
  111. package/dist/scripts/clean.sh +29 -0
  112. package/dist/scripts/compile.sh +52 -0
  113. package/dist/scripts/copy.sh +106 -0
  114. package/dist/scripts/dotfiles.sh +61 -0
  115. package/dist/scripts/download.sh +23 -0
  116. package/dist/scripts/help.sh +55 -0
  117. package/dist/scripts/unpack.sh +26 -0
  118. package/package.json +21 -44
  119. package/dist/bin/compile.sh +0 -16
  120. package/dist/bin/copy.sh +0 -21
  121. package/dist/bin/dotfiles.sh +0 -185
  122. package/dist/shell/aliases/default/default.aliases.sh +0 -199
  123. package/dist/shell/configurations/bash/bashrc +0 -36
  124. package/dist/shell/configurations/tmux/tmux +0 -95
  125. package/dist/shell/configurations/zsh/zshrc +0 -50
  126. package/dist/shell/functions/matrix.sh +0 -9
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.457)
16
+ ## 👋 Welcome to Dotfiles (v0.2.459)
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.457][download_button]][download]
25
+ [![Download Dotfiles v0.2.459][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
 
@@ -99,9 +99,29 @@ The following programs must be installed on your system to install Dotfiles:
99
99
  - [**PnPM**][pnpm] - a package manager for JavaScript and Node.js. It is fast,
100
100
  disk space efficient and reliable.
101
101
 
102
+ #### Font
103
+
104
+ We recommend using a font such as `Roboto Mono for Powerline` for terminal and vscode editor.
105
+
106
+ On macOS, you can install the font using the following command:
107
+
108
+ ```bash
109
+ brew tap homebrew/cask-fonts
110
+ ```
111
+
112
+ ```bash
113
+ brew cask install font-roboto-mono-for-powerline
114
+ ```
115
+
116
+ On Linux, you can install the font using the following command:
117
+
118
+ ```bash
119
+ sudo apt install fonts-roboto-mono-for-powerline
120
+ ```
121
+
102
122
  ### 1️⃣ Download Dotfiles
103
123
 
104
- You can download the latest version (v0.2.457) with the following options:
124
+ You can download the latest version (v0.2.459) with the following options:
105
125
 
106
126
  - [**Manual download**][releases] - **The easiest way to install Dotfiles.**
107
127
  - [**Install with PnPM**](https://www.npmjs.com/package/@sebastienrousseau/dotfiles)
@@ -119,7 +139,7 @@ You can download the latest version (v0.2.457) with the following options:
119
139
  Before installing Dotfiles, we strongly recommend that you back up your existing
120
140
  data. The Dotfiles installer will try to automatically backup any previous
121
141
  installation of known dotfiles into a backup directory
122
- `$HOME/.dotfiles_backup`.
142
+ `$HOME/dotfiles_backup`.
123
143
 
124
144
  The backup files are the following:
125
145
 
@@ -199,13 +219,17 @@ dotfiles rapidly and very efficiently.
199
219
  Switch to the `dist` directory and run:
200
220
 
201
221
  ```bash
202
- pnpm run assemble
222
+ pnpm run build
203
223
  ```
204
224
 
225
+ This will install the latest version of the dotfiles and will automatically
226
+ backup any existing dotfiles you may have into a backup directory
227
+ `$HOME/dotfiles_backup`.
228
+
205
229
  ### Post installation
206
230
 
207
231
  Following the installation, you can verify that the dotfiles package is installed
208
- in the following directory `$HOME/.dotfiles_backup`.
232
+ in the following directory `$HOME/dotfiles_backup`.
209
233
 
210
234
  Just quit your terminal and restart it. If the installation is successful, you
211
235
  should be able to see a new interface of your terminal and be able to start
@@ -227,125 +251,187 @@ You'll see something like this:
227
251
  ```bash
228
252
  .
229
253
  ├── bin
230
- │   └── dotfiles.sh
231
- ├── shell
254
+ │   ├── backup.d.ts
255
+ │   ├── backup.d.ts.map
256
+ │   ├── backup.js
257
+ │   ├── backup.js.map
258
+ │   ├── constants.d.ts
259
+ │   ├── constants.d.ts.map
260
+ │   ├── constants.js
261
+ │   ├── constants.js.map
262
+ │   ├── copy.d.ts
263
+ │   ├── copy.d.ts.map
264
+ │   ├── copy.js
265
+ │   ├── copy.js.map
266
+ │   ├── dotfiles.d.ts
267
+ │   ├── dotfiles.d.ts.map
268
+ │   ├── dotfiles.js
269
+ │   ├── dotfiles.js.map
270
+ │   ├── download.d.ts
271
+ │   ├── download.d.ts.map
272
+ │   ├── download.js
273
+ │   ├── download.js.map
274
+ │   ├── index.d.ts
275
+ │   ├── index.d.ts.map
276
+ │   ├── index.js
277
+ │   ├── index.js.map
278
+ │   ├── transfer.d.ts
279
+ │   ├── transfer.d.ts.map
280
+ │   ├── transfer.js
281
+ │   ├── transfer.js.map
282
+ │   ├── unpack.d.ts
283
+ │   ├── unpack.d.ts.map
284
+ │   ├── unpack.js
285
+ │   └── unpack.js.map
286
+ ├── lib
232
287
  │   ├── aliases
233
288
  │   │   ├── default
234
- │   │   │   ├── README.md
235
- │   │   │   └── default.aliases.sh # Default aliases.
289
+ │   │   │   └── default.aliases.sh
236
290
  │   │   ├── gcloud
237
- │   │   │   └── gcloud.aliases.sh # GCloud aliases.
291
+ │   │   │   └── gcloud.aliases.sh
238
292
  │   │   ├── git
293
+ │   │   │   └── git.aliases.sh
239
294
  │   │   ├── heroku
240
- │   │   │   └── heroku.aliases.sh # Heroku aliases.
295
+ │   │   │   └── heroku.aliases.sh
241
296
  │   │   ├── jekyll
242
- │   │   │   └── jekyll.aliases.sh # Jekyll aliases.
297
+ │   │   │   └── jekyll.aliases.sh
243
298
  │   │   ├── pnpm
244
- │   │   │   └── pnpm.aliases.sh # Pnpm aliases.
299
+ │   │   │   └── pnpm.aliases.sh
245
300
  │   │   ├── subversion
246
- │   │   │   └── subversion.aliases.sh # Subversion aliases.
301
+ │   │   │   └── subversion.aliases.sh
247
302
  │   │   └── tmux
248
- │   │   └── tmux.aliases.sh # Tmux aliases.
303
+ │   │   └── tmux.aliases.sh
249
304
  │   ├── configurations
250
305
  │   │   ├── bash
251
- │   │   │   └── bashrc # Bashrc configuration file.
306
+ │   │   │   └── bashrc
252
307
  │   │   ├── curl
253
- │   │   │   ├── cacert.pem # CA Certificates.
254
- │   │   │   └── curlrc # Curlrc configuration file.
308
+ │   │   │   ├── cacert.pem
309
+ │   │   │   └── curlrc
255
310
  │   │   ├── default
256
- │   │   │   ├── color.sh # Color definitions.
257
- │   │   │   ├── editor.sh # Editor definitions.
258
- │   │   │   └── prompt.sh # Prompt definitions.
259
- │   │   ├── inputrc
260
- │   │   │   └── inputrc # Inputrc configuration file.
311
+ │   │   │   ├── color.sh
312
+ │   │   │   ├── constants.sh
313
+ │   │   │   ├── editor.sh
314
+ │   │   │   └── prompt.sh
315
+ │   │   ├── gem
316
+ │   │   │   └── gemrc
317
+ │   │   ├── input
318
+ │   │   │   └── inputrc
261
319
  │   │   ├── jshint
262
- │   │   │   └── jshintrc # Jshintrc configuration file.
320
+ │   │   │   └── jshintrc
321
+ │   │   ├── nano
322
+ │   │   │   └── nanorc
263
323
  │   │   ├── profile
264
- │   │   │   └── profile # Profile configuration file.
324
+ │   │   │   └── profile
265
325
  │   │   ├── tmux
266
- │   │   │   └── tmux # Tmux configuration file.
326
+ │   │   │   ├── default
327
+ │   │   │   ├── display
328
+ │   │   │   ├── linux
329
+ │   │   │   ├── navigation
330
+ │   │   │   ├── panes
331
+ │   │   │   ├── theme
332
+ │   │   │   ├── tmux
333
+ │   │   │   └── vi
267
334
  │   │   ├── vim
268
- │   │   │   └── vimrc # Vimrc configuration file.
335
+ │   │   │   └── vimrc
269
336
  │   │   ├── wget
270
- │   │   │   └── wgetrc # Wgetrc configuration file.
337
+ │   │   │   └── wgetrc
271
338
  │   │   ├── zsh
272
- │   │   │   └── zshrc # Zshrc configuration file.
339
+ │   │   │   └── zshrc
273
340
  │   │   └── README.md
274
341
  │   ├── functions
275
- │   │   ├── README.md # Functions documentation.
276
- │   │   ├── cdls.sh # cdls function.
277
- │   │   ├── curlheader.sh # curlheader function.
278
- │   │   ├── curltime.sh # curltime function.
279
- │   │   ├── encode64.sh # encode64 function.
280
- │   │   ├── environment.sh # environment function.
281
- │   │   ├── extract.sh # extract function.
282
- │   │   ├── filehead.sh # filehead function.
283
- │   │   ├── genpwd.sh # genpwd function.
284
- │   │   ├── goto.sh # goto function.
285
- │   │   ├── hidehiddenfiles.sh # hidehiddenfiles function.
286
- │   │   ├── hostinfo.sh # hostinfo function.
287
- │   │   ├── hstats.sh # hstats function.
288
- │   │   ├── httpdebug.sh # httpdebug function.
289
- │   │   ├── keygen.sh # keygen function.
290
- │   │   ├── last.sh # last function.
291
- │   │   ├── logout.sh # logout function.
292
- │   │   ├── lowercase.sh # lowercase function.
293
- │   │   ├── macos.sh # macos function.
294
- │   │   ├── matrix.sh # matrix function.
295
- │   │   ├── mcd.sh # mcd function.
296
- │   │   ├── mount_read_only.sh # mount_read_only function.
297
- │   │   ├── myproc.sh # myproc function.
298
- │   │   ├── prependpath.sh # prependpath function.
299
- │   │   ├── ql.sh # ql function.
300
- │   │   ├── rd.sh # rd function.
301
- │   │   ├── remove_disk.sh # remove_disk function.
302
- │   │   ├── ren.sh # ren function.
303
- │   │   ├── showhiddenfiles.sh # showhiddenfiles function.
304
- │   │   ├── size.sh # size function.
305
- │   │   ├── stopwatch.sh # stopwatch function.
306
- │   │   ├── uppercase.sh # uppercase function.
307
- │   │   ├── view-source.sh # view-source function.
308
- │   │   ├── vscode.sh # vscode function.
309
- │   │   ├── whoisport.sh # whoisport function.
310
- │   │   └── zipf.sh # zipf function.
342
+ │   │   ├── README.md
343
+ │   │   ├── cdls.sh
344
+ │   │   ├── changediskpwd.tmp
345
+ │   │   ├── code.tmp
346
+ │   │   ├── countdown.tmp
347
+ │   │   ├── curlheader.sh
348
+ │   │   ├── curltime.sh
349
+ │   │   ├── encode64.sh
350
+ │   │   ├── environment.sh
351
+ │   │   ├── extract.sh
352
+ │   │   ├── filehead.sh
353
+ │   │   ├── genpwd.sh
354
+ │   │   ├── goto.sh
355
+ │   │   ├── headers.tmp
356
+ │   │   ├── hidehiddenfiles.sh
357
+ │   │   ├── history-all.tmp
358
+ │   │   ├── hostinfo.sh
359
+ │   │   ├── hstats.sh
360
+ │   │   ├── httpdebug.sh
361
+ │   │   ├── keygen.sh
362
+ │   │   ├── last.sh
363
+ │   │   ├── logout.sh
364
+ │   │   ├── lowercase.sh
365
+ │   │   ├── macos.sh
366
+ │   │   ├── matrix.sh
367
+ │   │   ├── mcd.sh
368
+ │   │   ├── mount_read_only.sh
369
+ │   │   ├── myproc.sh
370
+ │   │   ├── prependpath.sh
371
+ │   │   ├── print.tmp
372
+ │   │   ├── ql.sh
373
+ │   │   ├── rd.sh
374
+ │   │   ├── remove_disk.sh
375
+ │   │   ├── ren.sh
376
+ │   │   ├── rm.tmp
377
+ │   │   ├── rps.tmp
378
+ │   │   ├── showhiddenfiles.sh
379
+ │   │   ├── size.sh
380
+ │   │   ├── stopwatch.sh
381
+ │   │   ├── trash.tmp
382
+ │   │   ├── tree.tmp
383
+ │   │   ├── uppercase.sh
384
+ │   │   ├── uuidgen.tmp
385
+ │   │   ├── view-source.sh
386
+ │   │   ├── vscode.sh
387
+ │   │   ├── whoisport.sh
388
+ │   │   └── zipf.sh
311
389
  │   ├── paths
312
390
  │   │   ├── ant
313
- │   │   │   └── ant.paths.sh # Ant paths.
391
+ │   │   │   └── ant.paths.sh
314
392
  │   │   ├── default
315
- │   │   │   └── default.paths.sh # Default paths.
393
+ │   │   │   └── default.paths.sh
316
394
  │   │   ├── homebrew
317
- │   │   │   └── homebrew.paths.sh # Homebrew paths.
395
+ │   │   │   └── homebrew.paths.sh
318
396
  │   │   ├── java
319
- │   │   │   └── java.paths.sh # Java paths.
397
+ │   │   │   └── java.paths.sh
320
398
  │   │   ├── maven
321
- │   │   │   └── maven.paths.sh # Maven paths.
399
+ │   │   │   └── maven.paths.sh
322
400
  │   │   ├── node
323
- │   │   │   └── node.paths.sh # Node paths.
401
+ │   │   │   └── node.paths.sh
324
402
  │   │   ├── nvm
325
- │   │   │   └── nvm.paths.sh # NVM paths.
403
+ │   │   │   └── nvm.paths.sh
326
404
  │   │   ├── pnpm
327
- │   │   │   └── pnpm.paths.sh # Pnpm paths.
405
+ │   │   │   └── pnpm.paths.sh
328
406
  │   │   ├── python
329
- │   │   │   └── python.paths.sh # Python paths.
407
+ │   │   │   └── python.paths.sh
330
408
  │   │   ├── ruby
331
- │   │   │   └── ruby.paths.sh # Ruby paths.
409
+ │   │   │   └── ruby.paths.sh
332
410
  │   │   └── tmux
333
- │   │   └── tmux.paths.sh # Tmux paths.
334
- │   ├── README.md # Dotfiles documentation.
335
- │   ├── aliases.sh # Aliases loader file.
336
- │   ├── configurations.sh # Configurations loader file.
337
- │   ├── exit.sh # Exit loader file.
338
- │   ├── functions.sh # Functions loader file.
339
- │   ├── history.sh # History loader file.
340
- │   ├── index.d.ts # Typescript type information.
341
- │   ├── index.d.ts.map # Typescript type map information.
342
- │   ├── index.js # Dotfiles main JS file.
343
- │   ├── index.js.map # Dotfiles main JS map file.
344
- │   └── paths.sh # Paths loader file.
345
- ├── Makefile # Makefile.
346
- └── filesizes.txt # Filesizes in the `dist` directory.
347
-
348
- 35 directories, 83 files
411
+ │   │   └── tmux.paths.sh
412
+ │   ├── README.md
413
+ │   ├── aliases.sh
414
+ │   ├── configurations.sh
415
+ │   ├── exit.sh
416
+ │   ├── functions.sh
417
+ │   ├── history.sh
418
+ │   └── paths.sh
419
+ ├── scripts
420
+ │   ├── assemble.sh
421
+ │   ├── backup.sh
422
+ │   ├── banner.sh
423
+ │   ├── clean.sh
424
+ │   ├── compile.sh
425
+ │   ├── copy.sh
426
+ │   ├── dotfiles.sh
427
+ │   ├── download.sh
428
+ │   ├── help.sh
429
+ │   └── unpack.sh
430
+ ├── Makefile
431
+ └── filesizes.txt
432
+
433
+ 38 directories, 141 files
434
+
349
435
  ```
350
436
 
351
437
  ## 🔗 Releases
@@ -358,7 +444,7 @@ Releases are available on the [GitHub releases page][releases].
358
444
 
359
445
  For transparency into our release cycle and in striving to maintain backward
360
446
  compatibility, `Dotfiles` follows [Semantic Versioning][semver-url]
361
- (SemVer) and [ESLint's Semantic Versioning Policy][eslint-semantic-url].
447
+ (SemVer).
362
448
 
363
449
  ![divider][divider]
364
450
 
@@ -427,7 +513,7 @@ bunch of awesome [contributors](https://github.com/sebastienrousseau/dotfiles/gr
427
513
  [contributing]: https://github.com/sebastienrousseau/dotfiles/blob/master/.github/CONTRIBUTING.md
428
514
  [curl]: https://curl.se/
429
515
  [docs]: https://github.com/sebastienrousseau/dotfiles/docs
430
- [download]: https://github.com/sebastienrousseau/dotfiles/archive/refs/tags/v0.2.457.tar.gz
516
+ [download]: https://github.com/sebastienrousseau/dotfiles/archive/refs/tags/v0.2.459.tar.gz
431
517
  [getting-started]: https://github.com/sebastienrousseau/dotfiles#getting-started
432
518
  [git]: https://git-scm.com/
433
519
  [github]: https://github.com/sebastienrousseau/dotfiles
@@ -454,4 +540,3 @@ bunch of awesome [contributors](https://github.com/sebastienrousseau/dotfiles/gr
454
540
  [license]: https://img.shields.io/badge/License-MIT-green.svg?style=for-the-badge\&color=ff69b4
455
541
  [love]: https://github.com/sebastienrousseau/dotfiles/raw/master/assets/made-with-love.svg
456
542
  [semver-url]: http://semver.org/
457
- [eslint-semantic-url]: https://github.com/eslint/eslint#semantic-versioning-policy
package/dist/Makefile CHANGED
@@ -1,78 +1,56 @@
1
1
  #!/usr/bin/env make -f
2
2
 
3
- # 🅳🅾🆃🅵🅸🅻🅴🆂 (v0.2.457) - https://dotfiles.io
3
+ # 🅳🅾🆃🅵🅸🅻🅴🆂 (v0.2.459) - https://dotfiles.io
4
4
  # Copyright (c) Sebastien Rousseau 2022. All rights reserved
5
5
  # License: MIT
6
6
 
7
7
  .DEFAULT_GOAL := help
8
-
9
- language := en
10
- PNPM := $(shell command -v pnpm 2> /dev/null)
11
8
  HOMEDIR:= $(shell pwd)
9
+ BANNER:= $(HOMEDIR)/scripts/banner.sh
10
+ SHELL := /bin/bash
12
11
 
13
12
  .PHONY: backup
14
- backup: # @HELP Backup your current dotfiles.
13
+ backup: # @HELP
15
14
  backup: ## Backup your current dotfiles.
16
- ifdef PNPM
17
- pnpm run backup
18
- else
19
- sh $(HOMEDIR)/bin/dotfiles.sh backup
20
- endif
15
+ @$(HOMEDIR)/scripts/backup.sh backup
21
16
 
22
- .PHONY: assemble
23
- assemble: # @HELP Assemble the dotfiles on your system.
24
- assemble: ## Prepare the dotfiles on your system.
25
- ifdef PNPM
26
- pnpm run assemble
27
- else
28
- sh $(HOMEDIR)/bin/dotfiles assemble
29
- endif
17
+ .PHONY: clean
18
+ clean: # @HELP
19
+ clean: ## Removes any previous setup directories.
20
+ clean:
21
+ @$(HOMEDIR)/scripts/clean.sh clean
30
22
 
31
23
  .PHONY: copy
32
24
  copy: # @HELP Copy the dotfiles on your system.
33
25
  copy: ## Copy the dotfiles on your system.
34
- ifdef PNPM
35
- pnpm run copy
36
- else
37
- sh $(HOMEDIR)/bin/dotfiles copy
38
- endif
26
+ @$(HOMEDIR)/scripts/dotfiles copy
39
27
 
40
28
  .PHONY: download
41
29
  download: # @HELP Download the dotfiles on your system.
42
30
  download: ## Download the dotfiles on your system.
43
- ifdef PNPM
44
- pnpm run download
45
- else
46
- sh $(HOMEDIR)/bin/dotfiles download
47
- endif
31
+ @$(HOMEDIR)/scripts/dotfiles download
32
+
33
+ .PHONY: assemble
34
+ assemble: # @HELP Assemble the dotfiles on your system.
35
+ assemble: ## Run the full installation process.
36
+ @$(HOMEDIR)/scripts/dotfiles assemble
48
37
 
49
38
  .PHONY: unpack
50
39
  unpack: # @HELP Unpack the dotfiles on your system.
51
- unpack: ## Unpack the dotfiles on your system.
52
- ifdef PNPM
53
- pnpm run unpack
54
- else
55
- sh $(HOMEDIR)/bin/dotfiles unpack
56
- endif
57
-
58
- .PHONY: clean
59
- clean: # @HELP Removes any previous setup directories.
60
- clean:
61
- ifdef PNPM
62
- pnpm run clean
63
- else
64
- sh $(HOMEDIR)/bin/dotfiles clean
65
- endif
40
+ unpack: ## Extract the dotfiles to your system.
41
+ @$(HOMEDIR)/scripts/dotfiles unpack
66
42
 
67
43
  .PHONY: help
68
44
  help: # @HELP Display the help menu.
69
- help:
70
- ifdef PNPM
71
- pnpm run help
72
- else
73
- @grep -E '^.*: *# *@HELP' $(MAKEFILE_LIST) \
74
- | awk ' \
75
- BEGIN {FS = ": *# *@HELP"}; \
76
- { printf " %-30s %s\n"$$1$$2 }; \
77
- '
78
- endif
45
+ help: ## Display the help menu.
46
+ @$(BANNER)
47
+ @awk 'BEGIN {FS = ":.*##"; printf "\USAGE:\n\n make \033[1;96m[COMMAND]\033[0m\n\nCOMMANDS:\n\n"} /^[$$()% a-zA-Z_-]+:.*?##/ { printf " \033[1;96m%-8s\033[0m -%s\n", $$1, $$2 } /^##@/ { printf "\n\033[1m%s\033[0m\n", substr($$0, 5) } ' $(MAKEFILE_LIST)
48
+ @echo ""
49
+ @echo "DOCUMENTATION:"
50
+ @echo ""
51
+ @echo -e " \033[4;36mhttps://dotfiles.io\033[0m\n"
52
+ @echo "LICENSE:"
53
+ @echo ""
54
+ @echo " This project is licensed under the MIT License."
55
+ @echo ""
56
+
@@ -1,5 +1,7 @@
1
1
  export const aliases: string[];
2
+ export const config: string[];
2
3
  export const copies: string[];
3
- export const dotfile: "https://registry.npmjs.org/@sebastienrousseau/dotfiles/-/dotfiles-0.2.457.tgz";
4
- export const version: "dotfiles-0.2.457.tgz";
4
+ export const dotfile: "https://registry.npmjs.org/@sebastienrousseau/dotfiles/-/dotfiles-0.2.459.tgz";
5
+ export const tmux: "$DOTFILES/configurations/tmux/";
6
+ export const version: "dotfiles-0.2.459.tgz";
5
7
  //# sourceMappingURL=constants.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../bin/constants.js"],"names":[],"mappings":"AAUA,+BAWE;AAEF,8BAWE;AA1BF,sGAA+F;AAD/F,6CAAuC"}
1
+ {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../bin/constants.js"],"names":[],"mappings":"AAUA,+BAaE;AAiBF,8BAQE;AAvBF,8BAaE;AA9BF,sGAAgG;AA0ChG,oDAA8C;AA3C9C,6CAAuC"}
@@ -1,2 +1,2 @@
1
1
 
2
- const version="dotfiles-0.2.457.tgz";const dotfile="https://registry.npmjs.org/@sebastienrousseau/dotfiles/-/dotfiles-0.2.457.tgz";const aliases=[".bashrc","cacert.pem",".curlrc",".inputrc",".jshintrc",".profile",".tmux.conf",".vimrc",".wgetrc",".zshrc"];const copies=["shell/configurations/bash/bashrc","shell/configurations/curl/cacert.pem","shell/configurations/curl/curlrc","shell/configurations/input/inputrc","shell/configurations/jshint/jshintrc","shell/configurations/profile/profile","shell/configurations/tmux/tmux","shell/configurations/vim/vimrc","shell/configurations/wget/wgetrc","shell/configurations/zsh/zshrc",];module.exports={aliases,copies,dotfile,version};
2
+ const version="dotfiles-0.2.459.tgz";const dotfile="https://registry.npmjs.org/@sebastienrousseau/dotfiles/-/dotfiles-0.2.459.tgz";const aliases=[".bashrc","cacert.pem",".curlrc",".gemrc",".inputrc",".jshintrc",".nanorc",".profile",".tmux.conf",".vimrc",".wgetrc",".zshrc"];const copies=["lib/configurations/bash/bashrc","lib/configurations/curl/cacert.pem","lib/configurations/curl/curlrc","lib/configurations/gem/gemrc","lib/configurations/input/inputrc","lib/configurations/jshint/jshintrc","lib/configurations/nano/nanorc","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};
@@ -1 +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,kCAAkC;IAClC,sCAAsC;IACtC,kCAAkC;IAClC,oCAAoC;IACpC,sCAAsC;IACtC,sCAAsC;IACtC,gCAAgC;IAChC,gCAAgC;IAChC,kCAAkC;IAClC,gCAAgC;CACjC,CAAC;AAEF,MAAM,CAAC,OAAO,GAAG,EAAE,OAAO,SAAA,EAAE,MAAM,QAAA,EAAE,OAAO,SAAA,EAAE,OAAO,SAAA,EAAE,CAAC"}
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../bin/constants.js"],"names":[],"mappings":";AAOA,IAAM,OAAO,GAAG,sBAAsB,CAAC;AACvC,IAAM,OAAO,GAAG,+EAA+E,CAAC;AAEhG,IAAM,OAAO,GAAG;IACd,SAAS;IACT,YAAY;IACZ,SAAS;IACT,QAAQ;IACR,UAAU;IACV,WAAW;IACX,SAAS;IACT,UAAU;IACV,YAAY;IACZ,QAAQ;IACR,SAAS;IACT,QAAQ;CACT,CAAC;AAEF,IAAM,MAAM,GAAG;IACb,gCAAgC;IAChC,oCAAoC;IACpC,gCAAgC;IAChC,8BAA8B;IAC9B,kCAAkC;IAClC,oCAAoC;IACpC,gCAAgC;IAChC,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,GAAG,gCAAgC,CAAC;AAE9C,MAAM,CAAC,OAAO,GAAG,EAAE,OAAO,SAAA,EAAE,MAAM,QAAA,EAAE,MAAM,QAAA,EAAE,OAAO,SAAA,EAAE,IAAI,MAAA,EAAE,OAAO,SAAA,EAAE,CAAC"}
@@ -1,4 +1,3 @@
1
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,copies}=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
3
- 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);}
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,copies}=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);}
4
3
  else{await fs.mkdirSync(dir);await sleep(2500);await transfer(dir);}};
@@ -1 +1 @@
1
- {"version":3,"file":"dotfiles.js","sourceRoot":"","sources":["../../bin/dotfiles.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAOA,IAAM,IAAI,GAAG,OAAO,CAAC,WAAW,CAAC,CAAC;AAClC,IAAM,QAAQ,GAAG,OAAO,CAAC,eAAe,CAAC,CAAC;AAC1C,IAAM,MAAM,GAAG,OAAO,CAAC,aAAa,CAAC,CAAC;AACtC,IAAM,QAAQ,GAAG,OAAO,CAAC,eAAe,CAAC,CAAC;AAC1C,IAAM,MAAM,GAAG,OAAO,CAAC,aAAa,CAAC,CAAC;AAChC,IAAA,KAAsB,OAAO,CAAC,gBAAgB,CAAC,EAA7C,OAAO,aAAA,EAAE,MAAM,YAA8B,CAAC;AACtD,IAAM,KAAK,GAAG,UAAC,YAAY,IAAK,OAAA,IAAI,OAAO,CAAC,UAAC,OAAO,IAAK,OAAA,UAAU,CAAC,OAAO,EAAE,YAAY,CAAC,EAAjC,CAAiC,CAAC,EAA3D,CAA2D,CAAC;AAC5F,IAAI,EAAE,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;AACvB,IAAI,EAAE,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;AACvB,IAAI,IAAI,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC;AAE3B,IAAM,GAAG,GAAC,IAAI,CAAC,OAAO,CAAC,SAAS,EAAE,EAAE,CAAC,OAAO,EAAE,CAAC,CAAC;AAEhD,MAAM,CAAC,OAAO,GAAG,SAAe,IAAI;;;;;;oBAE9B,CAAC,GAAG,CAAC,CAAA;oBAGT,GAAG;wBACD,MAAM,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC;wBAC/B,IAAI,CAAC,MAAM,CAAC,CA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