@sebastienrousseau/dotfiles 0.2.453 β†’ 0.2.455

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 (96) hide show
  1. package/README.md +175 -161
  2. package/package.json +40 -28
  3. package/COPYRIGHT +0 -5
  4. package/Makefile +0 -79
  5. package/bin/dotfiles.sh +0 -157
  6. package/index.js +0 -24
  7. package/pnpm-lock.yaml +0 -232
  8. package/pnpm-workspace.yaml +0 -2
  9. package/shell/README.md +0 -3
  10. package/shell/aliases/default/README.md +0 -0
  11. package/shell/aliases/default/default.aliases.sh +0 -199
  12. package/shell/aliases/gcloud/gcloud.aliases.sh +0 -121
  13. package/shell/aliases/git/git.aliases.wip +0 -586
  14. package/shell/aliases/heroku/heroku.aliases.sh +0 -1031
  15. package/shell/aliases/jekyll/jekyll.aliases.sh +0 -50
  16. package/shell/aliases/pnpm/pnpm.aliases.sh +0 -42
  17. package/shell/aliases/subversion/subversion.aliases.sh +0 -123
  18. package/shell/aliases/tmux/tmux.aliases.sh +0 -14
  19. package/shell/aliases.sh +0 -12
  20. package/shell/configurations/README.md +0 -3
  21. package/shell/configurations/bash/bashrc +0 -36
  22. package/shell/configurations/curl/cacert.pem +0 -3460
  23. package/shell/configurations/curl/curlrc +0 -55
  24. package/shell/configurations/default/color.sh +0 -17
  25. package/shell/configurations/default/editor.sh +0 -16
  26. package/shell/configurations/default/prompt.sh +0 -37
  27. package/shell/configurations/inputrc/inputrc +0 -22
  28. package/shell/configurations/jshint/jshintrc +0 -37
  29. package/shell/configurations/profile/profile +0 -36
  30. package/shell/configurations/tmux/tmux +0 -95
  31. package/shell/configurations/vim/vimrc +0 -73
  32. package/shell/configurations/wget/wgetrc +0 -39
  33. package/shell/configurations/zsh/zshrc +0 -50
  34. package/shell/configurations.sh +0 -10
  35. package/shell/exit.sh +0 -9
  36. package/shell/functions/README.md +0 -3
  37. package/shell/functions/cdls.sh +0 -19
  38. package/shell/functions/changediskpwd.wip +0 -19
  39. package/shell/functions/code.wip +0 -18
  40. package/shell/functions/countdown.wip +0 -33
  41. package/shell/functions/curlheader.sh +0 -20
  42. package/shell/functions/curltime.sh +0 -31
  43. package/shell/functions/encode64.sh +0 -25
  44. package/shell/functions/environment.sh +0 -37
  45. package/shell/functions/extract.sh +0 -32
  46. package/shell/functions/filehead.sh +0 -4
  47. package/shell/functions/genpwd.sh +0 -14
  48. package/shell/functions/goto.sh +0 -14
  49. package/shell/functions/headers.wip +0 -4
  50. package/shell/functions/hidehiddenfiles.sh +0 -12
  51. package/shell/functions/history-all.wip +0 -7
  52. package/shell/functions/hostinfo.sh +0 -25
  53. package/shell/functions/hstats.sh +0 -9
  54. package/shell/functions/httpdebug.sh +0 -7
  55. package/shell/functions/keygen.sh +0 -23
  56. package/shell/functions/last.sh +0 -9
  57. package/shell/functions/logout.sh +0 -10
  58. package/shell/functions/lowercase.sh +0 -28
  59. package/shell/functions/macos.sh +0 -47
  60. package/shell/functions/matrix.sh +0 -9
  61. package/shell/functions/mcd.sh +0 -18
  62. package/shell/functions/mount_read_only.sh +0 -9
  63. package/shell/functions/myproc.sh +0 -7
  64. package/shell/functions/prependpath.sh +0 -19
  65. package/shell/functions/print.wip +0 -13
  66. package/shell/functions/ql.sh +0 -7
  67. package/shell/functions/rd.sh +0 -15
  68. package/shell/functions/remove_disk.sh +0 -9
  69. package/shell/functions/ren.sh +0 -11
  70. package/shell/functions/rm.wip +0 -13
  71. package/shell/functions/rps.wip +0 -103
  72. package/shell/functions/showhiddenfiles.sh +0 -12
  73. package/shell/functions/size.sh +0 -13
  74. package/shell/functions/stopwatch.sh +0 -13
  75. package/shell/functions/trash.wip +0 -13
  76. package/shell/functions/tree.wip +0 -13
  77. package/shell/functions/uppercase.sh +0 -28
  78. package/shell/functions/uuidgen.wip +0 -27
  79. package/shell/functions/view-source.sh +0 -8
  80. package/shell/functions/vscode.sh +0 -31
  81. package/shell/functions/whoisport.sh +0 -12
  82. package/shell/functions/zipf.sh +0 -14
  83. package/shell/functions.sh +0 -10
  84. package/shell/history.sh +0 -107
  85. package/shell/paths/ant/ant.paths.sh +0 -15
  86. package/shell/paths/default/default.paths.sh +0 -17
  87. package/shell/paths/homebrew/homebrew.paths.sh +0 -25
  88. package/shell/paths/java/java.paths.sh +0 -16
  89. package/shell/paths/maven/maven.paths.sh +0 -17
  90. package/shell/paths/node/node.paths.sh +0 -13
  91. package/shell/paths/nvm/nvm.paths.sh +0 -21
  92. package/shell/paths/pnpm/pnpm.paths.sh +0 -13
  93. package/shell/paths/python/python.paths.sh +0 -19
  94. package/shell/paths/ruby/ruby.paths.sh +0 -23
  95. package/shell/paths/tmux/tmux.paths.sh +0 -14
  96. package/shell/paths.sh +0 -12
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # Dotfiles v0.2.453
1
+ # Dotfiles
2
2
 
3
3
  [![Banner representing the Dotfiles Library][logo]][website]
4
4
 
@@ -13,14 +13,16 @@
13
13
  β€’ [Request Feature][issues]
14
14
  β€’ [Contributing Guidelines][contributing]**
15
15
 
16
- ## πŸ‘‹ Welcome to Dotfiles
16
+ ## πŸ‘‹ Welcome to Dotfiles (v0.2.455)
17
17
 
18
- Dotfiles are set of macOS / Linux and Windows configuration files.
18
+ ### Simply designed to fit your shell life
19
19
 
20
- [![Getting Started][getting started]](#getting-started)
21
- [![Download Dotfiles v0.2.453][download_button]][download]
20
+ Dotfiles are a set of macOS, Linux and Windows configuration files. They are
21
+ aimed at making your life easier by providing a set of scripts and configuration
22
+ files with new ways to get things done.
22
23
 
23
- ### Simply designed to fit your shell life
24
+ [![Getting Started][getting_started]][getting-started]
25
+ [![Download Dotfiles v0.2.455][download_button]][download]
24
26
 
25
27
  Dotfiles aggregates a collection of standalone configuration files (dotfiles)
26
28
  combined into a `shell` directory that can be used to customize your development
@@ -42,31 +44,44 @@ To read the documentation for Dotfiles, please visit:
42
44
 
43
45
  ![divider][divider]
44
46
 
45
- ## Getting Started
46
-
47
- ### πŸ”§ Installation
47
+ ## πŸš€ Getting Started
48
48
 
49
49
  We are so delighted that you have decided to try Dotfiles, and are sure that you
50
50
  will find Dotfiles unique and helpful.
51
51
 
52
- Dotfiles seeks to bring you high quality and easy to use standalone and modular configuration files that can be used to customize your development environment
52
+ Dotfiles seeks to bring you high quality and easy to use standalone and modular
53
+ configuration files that can be used to customize your development environment
53
54
  across numerous computers and operating systems (macOS, Windows, Linux).
54
55
 
56
+ ### πŸ”§ Installation
57
+
55
58
  We understand that you may want to install Dotfiles without reading long manuals
56
- and lengthy documentation. So we have tried to make the installation process as
57
- easy as possible.
59
+ and lengthy documentation. In that respect, we have tried to make the
60
+ installation process as easy as possible.
61
+
62
+ A range of installation methods are available, and we recommend that you choose
63
+ the one that best suits your needs.
58
64
 
59
- ### πŸ“¦ Prerequisites
65
+ Before you begin your installation, use this information to ensure that you meet
66
+ all the hardware, software, and system requirements for installing Dotfiles.
60
67
 
61
- However, we recommend that you read the below guidelines before installing
62
- Dotfiles. A range of installation methods are available, and we recommend that
63
- you choose the one that best suits your needs.
68
+ #### πŸ“‹ System Requirements
69
+
70
+ You need a modern operating system to install Dotfiles. Here's an non-exhaustive
71
+ list of the recommended operating systems that we support.
72
+
73
+ If you don't see your operating system listed, it may still work, but we have
74
+ yet been able to test it. If you have any issues, please let us know.
75
+
76
+ - macOS 10.15 or later
77
+ - Windows 10 or later
78
+ - A Debian based distribution (Debian, Ubuntu, PoP!_OS, Zorin OS, Q4OS, Kali Linux, Devuan, Deepin, etc.)
64
79
 
65
80
  ![divider][divider]
66
81
 
67
- ### βœ”οΈ Requirements
82
+ #### βœ”οΈ Software Requirements
68
83
 
69
- The following requirements are needed to install Dotfiles:
84
+ The following programs must be installed on your system to install Dotfiles:
70
85
 
71
86
  - [**Bash**][bash] - a shell, or command language interpreter, for the GNU
72
87
  operating system.
@@ -86,7 +101,7 @@ The following requirements are needed to install Dotfiles:
86
101
 
87
102
  ### 1️⃣ Download Dotfiles
88
103
 
89
- You can download the latest version (v0.2.453) with the following options:
104
+ You can download the latest version (v0.2.455) with the following options:
90
105
 
91
106
  - [**Manual download**][releases] - **The easiest way to install Dotfiles.**
92
107
  - [**Install with PnPM**](https://www.npmjs.com/package/@sebastienrousseau/dotfiles)
@@ -104,7 +119,7 @@ You can download the latest version (v0.2.453) with the following options:
104
119
  Before installing Dotfiles, we strongly recommend that you back up your existing
105
120
  data. The Dotfiles installer will try to automatically backup any previous
106
121
  installation of known dotfiles into a backup directory
107
- `$HOME/.dotfiles/backup`.
122
+ `$HOME/.dotfiles_backup`.
108
123
 
109
124
  The backup files are the following:
110
125
 
@@ -135,35 +150,42 @@ The backup files are the following:
135
150
  cacert.pem
136
151
  ```
137
152
 
138
- After installation, you will find the backup files in the `~/dotfiles_backup`
139
- directory. It is always a good idea to backup as there might be situations in which you
140
- could be required to restore your previous installation.
153
+ It is always a good idea to backup as there might be situations in which you could be required to restore your previous installation.
141
154
 
142
155
  ### 3️⃣ Try it out and let us know what you think
143
156
 
144
157
  To install the latest version of the dotfiles, run the following command:
145
158
 
146
- #### Using make (highly recommended)
159
+ #### Using make (easiest)
147
160
 
148
- Simply run the following command in your terminal / shell:
161
+ The easiest way to install Dotfiles is to use the `make` command. This will
162
+ install the latest version of the dotfiles and will automatically backup
163
+ any existing dotfiles you may have into a backup directory
164
+ `$HOME/dotfiles_backup`.
165
+
166
+ The installer will check if you have PnPM installed to switch to the PnPM installation method. If not, it will fallback to equivalent shell scripts.
167
+
168
+ Switch to the `dist` directory and run:
149
169
 
150
170
  ```bash
151
- make installer
171
+ make assemble
152
172
  ```
153
173
 
154
- or if you want to just check the options available, run the following command:
174
+ You can also just check the installer options available, by simply running:
155
175
 
156
176
  ```bash
157
177
  make help
158
178
  ```
159
179
 
160
- #### Using PnPM (recommended if you have PnPM installed)
180
+ #### Using PnPM (highly recommended if you have PnPM installed)
161
181
 
162
182
  PnPM is a key dependency of the dotfiles package. It will help you install the
163
183
  dotfiles rapidly and very efficiently.
164
184
 
185
+ Switch to the `dist` directory and run:
186
+
165
187
  ```bash
166
- pnpm installer
188
+ pnpm run assemble
167
189
  ```
168
190
 
169
191
  ### Post installation
@@ -184,141 +206,132 @@ Please refer to the [documentation][docs] for more information.
184
206
  Dotfiles contains core elements that are used to configure your shell, and other components catered for your environment setup.
185
207
 
186
208
  Within the download you'll find all the Dotfiles source files grouped within the
187
- `shell` folder.
209
+ `dist` folder.
188
210
 
189
211
  You'll see something like this:
190
212
 
191
213
  ```bash
192
214
  .
193
- β”œβ”€β”€ aliases
194
- β”‚Β Β  β”œβ”€β”€ default
195
- β”‚Β Β  β”‚Β Β  β”œβ”€β”€ README.md
196
- β”‚Β Β  β”‚Β Β  └── default.aliases.sh # Default aliases
197
- β”‚Β Β  β”œβ”€β”€ gcloud
198
- β”‚Β Β  β”‚Β Β  β”œβ”€β”€ README.md
199
- β”‚Β Β  β”‚Β Β  └── gcloud.aliases.sh # GCloud aliases
200
- β”‚Β Β  β”œβ”€β”€ git
201
- β”‚Β Β  β”‚Β Β  β”œβ”€β”€ README.md
202
- β”‚Β Β  β”‚Β Β  └── git.aliases.wip # Git aliases (WIP)
203
- β”‚Β Β  β”œβ”€β”€ heroku
204
- β”‚Β Β  β”‚Β Β  β”œβ”€β”€ README.md
205
- β”‚Β Β  β”‚Β Β  └── heroku.aliases.sh # Heroku aliases
206
- β”‚Β Β  β”œβ”€β”€ jekyll
207
- β”‚Β Β  β”‚Β Β  β”œβ”€β”€ README.md
208
- β”‚Β Β  β”‚Β Β  └── jekyll.aliases.sh # Jekyll aliases
209
- β”‚Β Β  β”œβ”€β”€ pnpm
210
- β”‚Β Β  β”‚Β Β  β”œβ”€β”€ README.md
211
- β”‚Β Β  β”‚Β Β  └── pnpm.aliases.sh # PnPM aliases
212
- β”‚Β Β  β”œβ”€β”€ subversion
213
- β”‚Β Β  β”‚Β Β  β”œβ”€β”€ README.md
214
- β”‚Β Β  β”‚Β Β  └── subversion.aliases.sh # Subversion aliases
215
- β”‚Β Β  β”œβ”€β”€ tmux
216
- β”‚Β Β  β”‚Β Β  β”œβ”€β”€ README.md
217
- β”‚Β Β  β”‚Β Β  └── tmux.aliases.sh # Tmux aliases
218
- β”‚Β Β  └── README.md
219
- β”œβ”€β”€ configurations
220
- β”‚Β Β  β”œβ”€β”€ bash
221
- β”‚Β Β  β”‚Β Β  └── bashrc # Bash configurations
222
- β”‚Β Β  β”œβ”€β”€ curl
223
- β”‚Β Β  β”‚Β Β  β”œβ”€β”€ cacert.pem # CA Certificates
224
- β”‚Β Β  β”‚Β Β  └── curlrc # Curl configurations
225
- β”‚Β Β  β”œβ”€β”€ default
226
- β”‚Β Β  β”‚Β Β  β”œβ”€β”€ color.sh # Color definitions
227
- β”‚Β Β  β”‚Β Β  β”œβ”€β”€ editor.sh # Editor definitions
228
- β”‚Β Β  β”‚Β Β  └── prompt.sh # Prompt definitions
229
- β”‚Β Β  β”œβ”€β”€ inputrc
230
- β”‚Β Β  β”‚Β Β  └── inputrc # Inputrc configurations
231
- β”‚Β Β  β”œβ”€β”€ jshint
232
- β”‚Β Β  β”‚Β Β  └── jshintrc # JSHint configurations
233
- β”‚Β Β  β”œβ”€β”€ profile
234
- β”‚Β Β  β”‚Β Β  └── profile # Profile configurations
235
- β”‚Β Β  β”œβ”€β”€ tmux
236
- β”‚Β Β  β”‚Β Β  └── tmux # Tmux configurations
237
- β”‚Β Β  β”œβ”€β”€ vim
238
- β”‚Β Β  β”‚Β Β  └── vimrc # Vim configurations
239
- β”‚Β Β  β”œβ”€β”€ wget
240
- β”‚Β Β  β”‚Β Β  └── wgetrc # Wget configurations
241
- β”‚Β Β  β”œβ”€β”€ zsh
242
- β”‚Β Β  β”‚Β Β  └── zshrc # Zsh configurations
243
- β”‚Β Β  └── README.md
244
- β”œβ”€β”€ functions
245
- β”‚Β Β  β”œβ”€β”€ README.md
246
- β”‚Β Β  β”œβ”€β”€ cdls.sh # cdls function
247
- β”‚Β Β  β”œβ”€β”€ changediskpwd.sh # changediskpwd function
248
- β”‚Β Β  β”œβ”€β”€ code.sh # code function
249
- β”‚Β Β  β”œβ”€β”€ countdown.sh # countdown function
250
- β”‚Β Β  β”œβ”€β”€ curlheader.sh # curlheader function
251
- β”‚Β Β  β”œβ”€β”€ curltime.sh # curltime function
252
- β”‚Β Β  β”œβ”€β”€ encode64.sh # encode64 function
253
- β”‚Β Β  β”œβ”€β”€ environment.sh # environment function
254
- β”‚Β Β  β”œβ”€β”€ extract.sh # extract function
255
- β”‚Β Β  β”œβ”€β”€ filehead.sh # filehead function
256
- β”‚Β Β  β”œβ”€β”€ genpwd.sh # genpwd function
257
- β”‚Β Β  β”œβ”€β”€ goto.sh # goto function
258
- β”‚Β Β  β”œβ”€β”€ headers.sh # headers function
259
- β”‚Β Β  β”œβ”€β”€ hidehiddenfiles.sh # hidehiddenfiles function
260
- β”‚Β Β  β”œβ”€β”€ history-all.sh # history-all function
261
- β”‚Β Β  β”œβ”€β”€ hostinfo.sh # hostinfo function
262
- β”‚Β Β  β”œβ”€β”€ hstats.sh # hstats function
263
- β”‚Β Β  β”œβ”€β”€ httpdebug.sh # httpdebug function
264
- β”‚Β Β  β”œβ”€β”€ keygen.sh # keygen function
265
- β”‚Β Β  β”œβ”€β”€ last.sh # last function
266
- β”‚Β Β  β”œβ”€β”€ logout.sh # logout function
267
- β”‚Β Β  β”œβ”€β”€ lowercase.sh # lowercase function
268
- β”‚Β Β  β”œβ”€β”€ macos.sh # macos function
269
- β”‚Β Β  β”œβ”€β”€ matrix.sh # matrix function
270
- β”‚Β Β  β”œβ”€β”€ mcd.sh # mcd function
271
- β”‚Β Β  β”œβ”€β”€ mount_read_only.sh # mount_read_only function
272
- β”‚Β Β  β”œβ”€β”€ myproc.sh # myproc function
273
- β”‚Β Β  β”œβ”€β”€ prependpath.sh # prependpath function
274
- β”‚Β Β  β”œβ”€β”€ print.sh # print function
275
- β”‚Β Β  β”œβ”€β”€ ql.sh # ql function
276
- β”‚Β Β  β”œβ”€β”€ rd.sh # rd function
277
- β”‚Β Β  β”œβ”€β”€ remove_disk.sh # remove_disk function
278
- β”‚Β Β  β”œβ”€β”€ ren.sh # ren function
279
- β”‚Β Β  β”œβ”€β”€ rm.sh # rm function
280
- β”‚Β Β  β”œβ”€β”€ rps.sh # rps function
281
- β”‚Β Β  β”œβ”€β”€ showhiddenfiles.sh # showhiddenfiles function
282
- β”‚Β Β  β”œβ”€β”€ size.sh # size function
283
- β”‚Β Β  β”œβ”€β”€ stopwatch.sh # stopwatch function
284
- β”‚Β Β  β”œβ”€β”€ trash.sh # trash function
285
- β”‚Β Β  β”œβ”€β”€ tree.sh # tree function
286
- β”‚Β Β  β”œβ”€β”€ uppercase.sh # uppercase function
287
- β”‚Β Β  β”œβ”€β”€ uuidgen.sh # uuidgen function
288
- β”‚Β Β  β”œβ”€β”€ view-source.sh # view-source function
289
- β”‚Β Β  β”œβ”€β”€ vscode.sh # vscode function
290
- β”‚Β Β  β”œβ”€β”€ whoisport.sh # whoisport function
291
- β”‚Β Β  └── zipf.sh # zipf function
292
- β”œβ”€β”€ paths
293
- β”‚Β Β  β”œβ”€β”€ ant
294
- β”‚Β Β  β”‚Β Β  └── ant.paths.sh # Ant paths
295
- β”‚Β Β  β”œβ”€β”€ default
296
- β”‚Β Β  β”‚Β Β  └── default.paths.sh # Default paths
297
- β”‚Β Β  β”œβ”€β”€ homebrew
298
- β”‚Β Β  β”‚Β Β  └── homebrew.paths.sh # Homebrew paths
299
- β”‚Β Β  β”œβ”€β”€ java
300
- β”‚Β Β  β”‚Β Β  └── java.paths.sh # Java paths
301
- β”‚Β Β  β”œβ”€β”€ maven
302
- β”‚Β Β  β”‚Β Β  └── maven.paths.sh # Maven paths
303
- β”‚Β Β  β”œβ”€β”€ node
304
- β”‚Β Β  β”‚Β Β  └── node.paths.sh # Node paths
305
- β”‚Β Β  β”œβ”€β”€ nvm
306
- β”‚Β Β  β”‚Β Β  └── nvm.paths.sh # Nvm paths
307
- β”‚Β Β  β”œβ”€β”€ pnpm
308
- β”‚Β Β  β”‚Β Β  └── pnpm.paths.sh # Pnpm paths
309
- β”‚Β Β  β”œβ”€β”€ ruby
310
- β”‚Β Β  β”‚Β Β  └── ruby.paths.sh # Ruby paths
311
- β”‚Β Β  └── tmux
312
- β”‚Β Β  └── tmux.paths.sh # Tmux paths
313
- β”œβ”€β”€ README.md
314
- β”œβ”€β”€ aliases.sh # aliases loader
315
- β”œβ”€β”€ configurations.sh # configurations loader
316
- β”œβ”€β”€ exit.sh # exit loader
317
- β”œβ”€β”€ functions.sh # functions loader
318
- β”œβ”€β”€ history.sh # history loader
319
- └── paths.sh # paths loader
320
-
321
- 32 directories, 95 files
215
+ β”œβ”€β”€ bin
216
+ β”‚Β Β  └── dotfiles.sh
217
+ β”œβ”€β”€ shell
218
+ β”‚Β Β  β”œβ”€β”€ aliases
219
+ β”‚Β Β  β”‚Β Β  β”œβ”€β”€ default
220
+ β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ README.md
221
+ β”‚Β Β  β”‚Β Β  β”‚Β Β  └── default.aliases.sh # Default aliases.
222
+ β”‚Β Β  β”‚Β Β  β”œβ”€β”€ gcloud
223
+ β”‚Β Β  β”‚Β Β  β”‚Β Β  └── gcloud.aliases.sh # GCloud aliases.
224
+ β”‚Β Β  β”‚Β Β  β”œβ”€β”€ git
225
+ β”‚Β Β  β”‚Β Β  β”œβ”€β”€ heroku
226
+ β”‚Β Β  β”‚Β Β  β”‚Β Β  └── heroku.aliases.sh # Heroku aliases.
227
+ β”‚Β Β  β”‚Β Β  β”œβ”€β”€ jekyll
228
+ β”‚Β Β  β”‚Β Β  β”‚Β Β  └── jekyll.aliases.sh # Jekyll aliases.
229
+ β”‚Β Β  β”‚Β Β  β”œβ”€β”€ pnpm
230
+ β”‚Β Β  β”‚Β Β  β”‚Β Β  └── pnpm.aliases.sh # Pnpm aliases.
231
+ β”‚Β Β  β”‚Β Β  β”œβ”€β”€ subversion
232
+ β”‚Β Β  β”‚Β Β  β”‚Β Β  └── subversion.aliases.sh # Subversion aliases.
233
+ β”‚Β Β  β”‚Β Β  └── tmux
234
+ β”‚Β Β  β”‚Β Β  └── tmux.aliases.sh # Tmux aliases.
235
+ β”‚Β Β  β”œβ”€β”€ configurations
236
+ β”‚Β Β  β”‚Β Β  β”œβ”€β”€ bash
237
+ β”‚Β Β  β”‚Β Β  β”‚Β Β  └── bashrc # Bashrc configuration file.
238
+ β”‚Β Β  β”‚Β Β  β”œβ”€β”€ curl
239
+ β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ cacert.pem # CA Certificates.
240
+ β”‚Β Β  β”‚Β Β  β”‚Β Β  └── curlrc # Curlrc configuration file.
241
+ β”‚Β Β  β”‚Β Β  β”œβ”€β”€ default
242
+ β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ color.sh # Color definitions.
243
+ β”‚Β Β  β”‚Β Β  β”‚Β Β  β”œβ”€β”€ editor.sh # Editor definitions.
244
+ β”‚Β Β  β”‚Β Β  β”‚Β Β  └── prompt.sh # Prompt definitions.
245
+ β”‚Β Β  β”‚Β Β  β”œβ”€β”€ inputrc
246
+ β”‚Β Β  β”‚Β Β  β”‚Β Β  └── inputrc # Inputrc configuration file.
247
+ β”‚Β Β  β”‚Β Β  β”œβ”€β”€ jshint
248
+ β”‚Β Β  β”‚Β Β  β”‚Β Β  └── jshintrc # Jshintrc configuration file.
249
+ β”‚Β Β  β”‚Β Β  β”œβ”€β”€ profile
250
+ β”‚Β Β  β”‚Β Β  β”‚Β Β  └── profile # Profile configuration file.
251
+ β”‚Β Β  β”‚Β Β  β”œβ”€β”€ tmux
252
+ β”‚Β Β  β”‚Β Β  β”‚Β Β  └── tmux # Tmux configuration file.
253
+ β”‚Β Β  β”‚Β Β  β”œβ”€β”€ vim
254
+ β”‚Β Β  β”‚Β Β  β”‚Β Β  └── vimrc # Vimrc configuration file.
255
+ β”‚Β Β  β”‚Β Β  β”œβ”€β”€ wget
256
+ β”‚Β Β  β”‚Β Β  β”‚Β Β  └── wgetrc # Wgetrc configuration file.
257
+ β”‚Β Β  β”‚Β Β  β”œβ”€β”€ zsh
258
+ β”‚Β Β  β”‚Β Β  β”‚Β Β  └── zshrc # Zshrc configuration file.
259
+ β”‚Β Β  β”‚Β Β  └── README.md
260
+ β”‚Β Β  β”œβ”€β”€ 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.
297
+ β”‚Β Β  β”œβ”€β”€ paths
298
+ β”‚Β Β  β”‚Β Β  β”œβ”€β”€ ant
299
+ β”‚Β Β  β”‚Β Β  β”‚Β Β  └── ant.paths.sh # Ant paths.
300
+ β”‚Β Β  β”‚Β Β  β”œβ”€β”€ default
301
+ β”‚Β Β  β”‚Β Β  β”‚Β Β  └── default.paths.sh # Default paths.
302
+ β”‚Β Β  β”‚Β Β  β”œβ”€β”€ homebrew
303
+ β”‚Β Β  β”‚Β Β  β”‚Β Β  └── homebrew.paths.sh # Homebrew paths.
304
+ β”‚Β Β  β”‚Β Β  β”œβ”€β”€ java
305
+ β”‚Β Β  β”‚Β Β  β”‚Β Β  └── java.paths.sh # Java paths.
306
+ β”‚Β Β  β”‚Β Β  β”œβ”€β”€ maven
307
+ β”‚Β Β  β”‚Β Β  β”‚Β Β  └── maven.paths.sh # Maven paths.
308
+ β”‚Β Β  β”‚Β Β  β”œβ”€β”€ node
309
+ β”‚Β Β  β”‚Β Β  β”‚Β Β  └── node.paths.sh # Node paths.
310
+ β”‚Β Β  β”‚Β Β  β”œβ”€β”€ nvm
311
+ β”‚Β Β  β”‚Β Β  β”‚Β Β  └── nvm.paths.sh # NVM paths.
312
+ β”‚Β Β  β”‚Β Β  β”œβ”€β”€ pnpm
313
+ β”‚Β Β  β”‚Β Β  β”‚Β Β  └── pnpm.paths.sh # Pnpm paths.
314
+ β”‚Β Β  β”‚Β Β  β”œβ”€β”€ python
315
+ β”‚Β Β  β”‚Β Β  β”‚Β Β  └── python.paths.sh # Python paths.
316
+ β”‚Β Β  β”‚Β Β  β”œβ”€β”€ ruby
317
+ β”‚Β Β  β”‚Β Β  β”‚Β Β  └── ruby.paths.sh # Ruby paths.
318
+ β”‚Β Β  β”‚Β Β  └── 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
322
335
  ```
323
336
 
324
337
  ## πŸ”— Releases
@@ -400,7 +413,8 @@ bunch of awesome [contributors](https://github.com/sebastienrousseau/dotfiles/gr
400
413
  [contributing]: https://github.com/sebastienrousseau/dotfiles/blob/master/.github/CONTRIBUTING.md
401
414
  [curl]: https://curl.se/
402
415
  [docs]: https://github.com/sebastienrousseau/dotfiles/docs
403
- [download]: https://github.com/sebastienrousseau/dotfiles/archive/refs/tags/v0.2.453.tar.gz
416
+ [download]: https://github.com/sebastienrousseau/dotfiles/archive/refs/tags/v0.2.455.tar.gz
417
+ [getting-started]: https://github.com/sebastienrousseau/dotfiles#getting-started
404
418
  [git]: https://git-scm.com/
405
419
  [github]: https://github.com/sebastienrousseau/dotfiles
406
420
  [issues]: https://github.com/sebastienrousseau/dotfiles/issues
@@ -414,7 +428,7 @@ bunch of awesome [contributors](https://github.com/sebastienrousseau/dotfiles/gr
414
428
 
415
429
  [logo]: https://github.com/sebastienrousseau/dotfiles/raw/master/assets/dotfiles.svg
416
430
  [download_button]: https://github.com/sebastienrousseau/dotfiles/raw/master/assets/button-secondary.svg
417
- [getting started]: https://github.com/sebastienrousseau/dotfiles/raw/master/assets/button-primary.svg
431
+ [getting_started]: https://github.com/sebastienrousseau/dotfiles/raw/master/assets/button-primary.svg
418
432
  [codacy-grade]: https://img.shields.io/codacy/grade/634cfc4de08e492ebcbb341631066241?style=for-the-badge
419
433
  [codacy-url]:https://www.codacy.com/gh/sebastienrousseau/dotfiles/dashboard
420
434
  [contributors-shield]: https://img.shields.io/github/contributors/sebastienrousseau/dotfiles.svg?style=for-the-badge
package/package.json CHANGED
@@ -1,4 +1,7 @@
1
1
  {
2
+ "assets": [
3
+ "index.js"
4
+ ],
2
5
  "author": "Sebastien Rousseau (https://github.com/sebastienrousseau)",
3
6
  "autoupdate": {
4
7
  "fileMap": [
@@ -23,26 +26,30 @@
23
26
  ],
24
27
  "description": "Dotfiles - A set of macOS / Linux and Windows configuration files - Simply designed to fit your shell life.",
25
28
  "devDependencies": {
29
+ "@changesets/cli": "^2.25.0",
30
+ "@types/node": "^16.11.64",
31
+ "@types/shelljs": "0.8.11",
26
32
  "filesizes": "^0.1.2",
27
- "pnpm": "^7.13.1",
28
- "rimraf": "^3.0.2"
33
+ "jsmin": "^1.0.1",
34
+ "nps": "^5.10.0",
35
+ "pnpm": "^7.13.2",
36
+ "rimraf": "^3.0.2",
37
+ "shelljs": "^0.8.5",
38
+ "tsd": "0.24.1",
39
+ "typescript": "^4.8.4",
40
+ "shelljs-nodecli": "^0.1.1"
29
41
  },
30
42
  "directories": {
31
43
  "bin": "./bin",
32
- "docs": "./docs",
33
44
  "shell": "./shell"
34
45
  },
46
+ "engines": {
47
+ "node": "^12.20.0 || ^14.13.1 || >=16.0.0"
48
+ },
49
+ "exports": "./index.js",
35
50
  "files": [
36
- "/index.js",
37
- "/bin",
38
- "/COPYRIGHT",
39
- "/LICENSE",
40
- "/Makefile",
41
- "/package.json",
42
- "/pnpm-lock.yaml",
43
- "/pnpm-workspace.yaml",
44
- "/README.md",
45
- "/shell"
51
+ "index.js",
52
+ "dist/"
46
53
  ],
47
54
  "homepage": "https://dotfiles.io/",
48
55
  "keywords": [
@@ -57,7 +64,8 @@
57
64
  ],
58
65
  "license": "MIT",
59
66
  "license_URI": "http://www.opensource.org/licenses/mit-license.php",
60
- "main": "index.js",
67
+ "lockfileVersion": 1,
68
+ "main": "./dist/index.js",
61
69
  "name": "@sebastienrousseau/dotfiles",
62
70
  "publishConfig": {
63
71
  "access": "public",
@@ -67,36 +75,40 @@
67
75
  "type": "git",
68
76
  "url": "git@github.com:sebastienrousseau/dotfiles.git"
69
77
  },
70
- "type": "module",
71
- "version": "0.2.453",
78
+ "types": "./dist/index.d.ts",
79
+ "version": "0.2.455",
72
80
  "scripts": {
73
81
  "backup": "pnpm run bk:dir && pnpm run bk:bsh && pnpm run bk:zsh",
74
82
  "bk:bsh": "if [ -z $HOME/.bashrc ]; then mv -f $HOME/.bashrc $HOME/.dotfiles_backup/bashrc.bk; fi ",
75
83
  "bk:dir": "if [ -d $HOME/.dotfiles ]; then mv -f $HOME/.dotfiles $HOME/dotfiles_backup; fi ",
76
84
  "bk:zsh": "if [ -z $HOME/.zshrc ]; then mv -f $HOME/.zshrc $HOME/.dotfiles_backup/zshrc.bk; fi ",
77
- "build": "pnpm run clean:dist && pnpm run cp:shell && pnpm run cp:bin && pnpm run cp:docs && pnpm run cp:make && pnpm run filesizes",
78
- "clean:dist": "rimraf \"dist/\"",
79
- "copy": "pnpm run cp:dirs && pnpm run cp:bash && pnpm run cp:prof && pnpm run cp:tmux && pnpm run cp:curl && pnpm run cp:jsht && pnpm run cp:inpt && pnpm run cp:cert && pnpm run cp:vimr && pnpm run cp:wget && pnpm run cp:zshr",
85
+ "copy": "chmod 755 \"./bin/copy.sh\" && ./bin/copy.sh",
80
86
  "cp:bash": "cp ./shell/configurations/bash/bashrc $HOME/.bashrc",
81
- "cp:bin": "cp -R ./bin/ ./dist",
87
+ "cp:bin": "cp -R ./bin/ ./dist/bin",
82
88
  "cp:cert": "cp ./shell/configurations/curl/cacert.pem $HOME/cacert.pem",
83
89
  "cp:curl": "cp ./shell/configurations/curl/curlrc $HOME/.curlrc",
84
- "cp:dirs": "cp -R ./shell $HOME/.dotfiles/shell ",
85
- "cp:docs": "cp -R ./docs ./dist/docs && cp ./README.md ./dist && cp ./LICENSE ./dist && cp ./COPYRIGHT ./dist",
90
+ "cp:dirs": "cp -R ./shell $HOME/.dotfiles/shell/",
86
91
  "cp:inpt": "cp ./shell/configurations/inputrc/inputrc $HOME/.inputrc",
87
92
  "cp:jsht": "cp ./shell/configurations/jshint/jshintrc $HOME/.jshintrc",
88
93
  "cp:make": "cp ./Makefile ./dist",
89
94
  "cp:prof": "cp ./shell/configurations/profile/profile $HOME/.profile",
90
- "cp:shell": "cp -R ./shell/ ./dist",
95
+ "cp:shell": "cp -R ./shell/ ./dist/shell/",
91
96
  "cp:tmux": "cp ./shell/configurations/tmux/tmux $HOME/.tmux.conf",
92
97
  "cp:vimr": "cp ./shell/configurations/vim/vimrc $HOME/.vimrc",
93
98
  "cp:wget": "cp ./shell/configurations/wget/wgetrc $HOME/.wgetrc",
94
99
  "cp:zshr": "cp ./shell/configurations/zsh/zshrc $HOME/.zshrc",
100
+ "clean": "rimraf \"dist/\" && tsc --build --clean",
101
+ "cl:tmp": "rimraf \"./dist/shell/**/*.tmp\"",
102
+ "assemble": "pnpm run backup && pnpm run directory && pnpm run copy",
103
+ "build": "pnpm run clean && tsc --build tsconfig.json && pnpm run compile",
104
+ "changeset": "changeset",
105
+ "compile": "chmod 755 \"./bin/compile.sh\" && ./bin/compile.sh",
95
106
  "directory": "mkdir $HOME/.dotfiles",
96
- "filesizes": "filesizes dist/ > dist/filesizes.txt",
97
- "help": "sh ./bin/dotfiles.sh --help",
98
- "installer": "pnpm run backup && pnpm run directory && pnpm run copy",
99
- "start": "node index.js",
100
- "test": "echo \"Error: no test specified\" && exit 1"
107
+ "filesizes": "filesizes ./dist/ > ./dist/filesizes.txt",
108
+ "help": "chmod 755 \"./bin/dotfiles.sh\" && ./bin/dotfiles.sh",
109
+ "minify": "jsmin ./shell/index.js > dist/shell/index.js",
110
+ "start": "node dist/shell/index.js",
111
+ "test": "echo \"Error: no test specified\" && exit 1",
112
+ "version": "pnpm changeset version && pnpm run assemble --no-frozen-lockfile"
101
113
  }
102
114
  }
package/COPYRIGHT DELETED
@@ -1,5 +0,0 @@
1
- /*
2
- * πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.453) - https://dotfiles.io
3
- * Copyright (c) Sebastien Rousseau 2022. All rights reserved
4
- * License: MIT
5
- */
package/Makefile DELETED
@@ -1,79 +0,0 @@
1
- #!/usr/bin/env make -f
2
-
3
- # πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.453) - https://dotfiles.io
4
- # Copyright (c) Sebastien Rousseau 2022. All rights reserved
5
- # License: MIT
6
-
7
- .DEFAULT_GOAL := help
8
-
9
- homedir := ./installer
10
- language := en
11
- PNPM := $(shell command -v pnpm 2> /dev/null)
12
- HOMEDIR:= $(shell pwd)
13
-
14
- .PHONY: backup
15
- backup: # @HELP Backup your current dotfiles.
16
- backup: ## Backup your current dotfiles.
17
- ifdef PNPM
18
- pnpm run backup
19
- else
20
- sh $(HOMEDIR)/bin/dotfiles.sh backup
21
- endif
22
-
23
- .PHONY: installer
24
- installer: # @HELP Install the dotfiles on your system.
25
- installer: ## Install the dotfiles on your system.
26
- ifdef PNPM
27
- pnpm run installer
28
- else
29
- sh $(HOMEDIR)/bin/dotfiles installer
30
- endif
31
-
32
- .PHONY: copy
33
- copy: # @HELP Copy the dotfiles on your system.
34
- copy: ## Copy the dotfiles on your system.
35
- ifdef PNPM
36
- pnpm run copy
37
- else
38
- sh $(HOMEDIR)/bin/dotfiles copy
39
- endif
40
-
41
- .PHONY: download
42
- download: # @HELP Download the dotfiles on your system.
43
- download: ## Download the dotfiles on your system.
44
- ifdef PNPM
45
- pnpm run download
46
- else
47
- sh $(HOMEDIR)/bin/dotfiles download
48
- endif
49
-
50
- .PHONY: unpack
51
- unpack: # @HELP Unpack the dotfiles on your system.
52
- unpack: ## Unpack the dotfiles on your system.
53
- ifdef PNPM
54
- pnpm run unpack
55
- else
56
- sh $(HOMEDIR)/bin/dotfiles unpack
57
- endif
58
-
59
- .PHONY: clean
60
- clean: # @HELP Removes any previous setup directories. (site, theme source and theme folders)
61
- clean:
62
- ifdef PNPM
63
- pnpm run clean
64
- else
65
- sh $(HOMEDIR)/bin/dotfiles clean
66
- endif
67
-
68
- .PHONY: help
69
- help: # @HELP Display the help menu.
70
- help:
71
- ifdef PNPM
72
- pnpm run help
73
- else
74
- @grep -E '^.*: *# *@HELP' $(MAKEFILE_LIST) \
75
- | awk ' \
76
- BEGIN {FS = ": *# *@HELP"}; \
77
- { printf " %-30s %s\n"$$1$$2 }; \
78
- '
79
- endif