@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.
- package/README.md +181 -96
- package/dist/Makefile +31 -53
- package/dist/bin/constants.d.ts +4 -2
- package/dist/bin/constants.d.ts.map +1 -1
- package/dist/bin/constants.js +1 -1
- package/dist/bin/constants.js.map +1 -1
- package/dist/bin/dotfiles.js +1 -2
- package/dist/bin/dotfiles.js.map +1 -1
- package/dist/bin/index.js +0 -0
- package/dist/filesizes.txt +288 -230
- package/dist/{shell → lib}/README.md +0 -0
- package/dist/lib/aliases/default/default.aliases.sh +177 -0
- package/dist/{shell → lib}/aliases/gcloud/gcloud.aliases.sh +1 -1
- package/dist/lib/aliases/git/git.aliases.sh +569 -0
- package/dist/{shell → lib}/aliases/heroku/heroku.aliases.sh +1 -1
- package/dist/{shell → lib}/aliases/jekyll/jekyll.aliases.sh +1 -1
- package/dist/{shell → lib}/aliases/pnpm/pnpm.aliases.sh +1 -1
- package/dist/{shell → lib}/aliases/subversion/subversion.aliases.sh +1 -1
- package/dist/{shell → lib}/aliases/tmux/tmux.aliases.sh +1 -1
- package/dist/{shell → lib}/aliases.sh +2 -2
- package/dist/{shell → lib}/configurations/README.md +0 -0
- package/dist/lib/configurations/bash/bashrc +36 -0
- package/dist/{shell → lib}/configurations/curl/cacert.pem +0 -0
- package/dist/{shell → lib}/configurations/curl/curlrc +1 -1
- package/dist/{shell → lib}/configurations/default/color.sh +1 -1
- package/dist/lib/configurations/default/constants.sh +39 -0
- package/dist/{shell → lib}/configurations/default/editor.sh +1 -1
- package/dist/{shell → lib}/configurations/default/prompt.sh +1 -1
- package/dist/lib/configurations/gem/gemrc +9 -0
- package/dist/{shell → lib}/configurations/input/inputrc +1 -1
- package/dist/{shell → lib}/configurations/jshint/jshintrc +0 -0
- package/dist/lib/configurations/nano/nanorc +34 -0
- package/dist/{shell → lib}/configurations/profile/profile +1 -1
- package/dist/lib/configurations/tmux/default +17 -0
- package/dist/lib/configurations/tmux/display +25 -0
- package/dist/lib/configurations/tmux/linux +17 -0
- package/dist/lib/configurations/tmux/navigation +29 -0
- package/dist/lib/configurations/tmux/panes +9 -0
- package/dist/lib/configurations/tmux/theme +28 -0
- package/dist/lib/configurations/tmux/tmux +20 -0
- package/dist/lib/configurations/tmux/vi +5 -0
- package/dist/{shell → lib}/configurations/vim/vimrc +1 -1
- package/dist/{shell → lib}/configurations/wget/wgetrc +1 -1
- package/dist/lib/configurations/zsh/zshrc +49 -0
- package/dist/{shell → lib}/configurations.sh +2 -2
- package/dist/{shell → lib}/exit.sh +1 -1
- package/dist/{shell → lib}/functions/README.md +0 -0
- package/dist/{shell → lib}/functions/cdls.sh +1 -1
- package/dist/lib/functions/changediskpwd.tmp +19 -0
- package/dist/lib/functions/code.tmp +18 -0
- package/dist/lib/functions/countdown.tmp +33 -0
- package/dist/{shell → lib}/functions/curlheader.sh +1 -1
- package/dist/{shell → lib}/functions/curltime.sh +1 -1
- package/dist/{shell → lib}/functions/encode64.sh +1 -1
- package/dist/{shell → lib}/functions/environment.sh +1 -1
- package/dist/{shell → lib}/functions/extract.sh +1 -1
- package/dist/{shell → lib}/functions/filehead.sh +0 -0
- package/dist/{shell → lib}/functions/genpwd.sh +1 -1
- package/dist/{shell → lib}/functions/goto.sh +1 -1
- package/dist/lib/functions/headers.tmp +4 -0
- package/dist/{shell → lib}/functions/hidehiddenfiles.sh +1 -1
- package/dist/lib/functions/history-all.tmp +7 -0
- package/dist/{shell → lib}/functions/hostinfo.sh +1 -1
- package/dist/{shell → lib}/functions/hstats.sh +1 -1
- package/dist/{shell → lib}/functions/httpdebug.sh +1 -1
- package/dist/{shell → lib}/functions/keygen.sh +1 -1
- package/dist/{shell → lib}/functions/last.sh +1 -1
- package/dist/{shell → lib}/functions/logout.sh +1 -1
- package/dist/{shell → lib}/functions/lowercase.sh +1 -1
- package/dist/{shell → lib}/functions/macos.sh +1 -1
- package/dist/lib/functions/matrix.sh +14 -0
- package/dist/{shell → lib}/functions/mcd.sh +1 -1
- package/dist/{shell → lib}/functions/mount_read_only.sh +1 -1
- package/dist/{shell → lib}/functions/myproc.sh +1 -1
- package/dist/{shell → lib}/functions/prependpath.sh +1 -1
- package/dist/lib/functions/print.tmp +13 -0
- package/dist/{shell → lib}/functions/ql.sh +1 -1
- package/dist/{shell → lib}/functions/rd.sh +1 -1
- package/dist/{shell → lib}/functions/remove_disk.sh +1 -1
- package/dist/{shell → lib}/functions/ren.sh +1 -1
- package/dist/lib/functions/rm.tmp +13 -0
- package/dist/lib/functions/rps.tmp +103 -0
- package/dist/{shell → lib}/functions/showhiddenfiles.sh +1 -1
- package/dist/{shell → lib}/functions/size.sh +1 -1
- package/dist/{shell → lib}/functions/stopwatch.sh +1 -1
- package/dist/lib/functions/trash.tmp +13 -0
- package/dist/lib/functions/tree.tmp +13 -0
- package/dist/{shell → lib}/functions/uppercase.sh +1 -1
- package/dist/lib/functions/uuidgen.tmp +27 -0
- package/dist/{shell → lib}/functions/view-source.sh +1 -1
- package/dist/{shell → lib}/functions/vscode.sh +1 -1
- package/dist/{shell → lib}/functions/whoisport.sh +1 -1
- package/dist/{shell → lib}/functions/zipf.sh +1 -1
- package/dist/{shell → lib}/functions.sh +2 -2
- package/dist/{shell → lib}/history.sh +1 -1
- package/dist/{shell → lib}/paths/ant/ant.paths.sh +1 -1
- package/dist/{shell → lib}/paths/default/default.paths.sh +1 -1
- package/dist/{shell → lib}/paths/homebrew/homebrew.paths.sh +1 -1
- package/dist/{shell → lib}/paths/java/java.paths.sh +1 -1
- package/dist/{shell → lib}/paths/maven/maven.paths.sh +1 -1
- package/dist/{shell → lib}/paths/node/node.paths.sh +1 -1
- package/dist/{shell → lib}/paths/nvm/nvm.paths.sh +1 -1
- package/dist/{shell → lib}/paths/pnpm/pnpm.paths.sh +1 -1
- package/dist/{shell → lib}/paths/python/python.paths.sh +1 -1
- package/dist/{shell → lib}/paths/ruby/ruby.paths.sh +1 -1
- package/dist/{shell → lib}/paths/tmux/tmux.paths.sh +2 -2
- package/dist/{shell → lib}/paths.sh +2 -2
- package/dist/scripts/assemble.sh +32 -0
- package/dist/scripts/backup.sh +84 -0
- package/dist/scripts/banner.sh +18 -0
- package/dist/scripts/clean.sh +29 -0
- package/dist/scripts/compile.sh +52 -0
- package/dist/scripts/copy.sh +106 -0
- package/dist/scripts/dotfiles.sh +61 -0
- package/dist/scripts/download.sh +23 -0
- package/dist/scripts/help.sh +55 -0
- package/dist/scripts/unpack.sh +26 -0
- package/package.json +21 -44
- package/dist/bin/compile.sh +0 -16
- package/dist/bin/copy.sh +0 -21
- package/dist/bin/dotfiles.sh +0 -185
- package/dist/shell/aliases/default/default.aliases.sh +0 -199
- package/dist/shell/configurations/bash/bashrc +0 -36
- package/dist/shell/configurations/tmux/tmux +0 -95
- package/dist/shell/configurations/zsh/zshrc +0 -50
- 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.
|
|
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.
|
|
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 `
|
|
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.
|
|
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
|
|
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
|
|
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
|
|
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
|
-
│
|
|
231
|
-
├──
|
|
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
|
-
│ │ │
|
|
235
|
-
│ │ │ └── default.aliases.sh # Default aliases.
|
|
289
|
+
│ │ │ └── default.aliases.sh
|
|
236
290
|
│ │ ├── gcloud
|
|
237
|
-
│ │ │ └── gcloud.aliases.sh
|
|
291
|
+
│ │ │ └── gcloud.aliases.sh
|
|
238
292
|
│ │ ├── git
|
|
293
|
+
│ │ │ └── git.aliases.sh
|
|
239
294
|
│ │ ├── heroku
|
|
240
|
-
│ │ │ └── heroku.aliases.sh
|
|
295
|
+
│ │ │ └── heroku.aliases.sh
|
|
241
296
|
│ │ ├── jekyll
|
|
242
|
-
│ │ │ └── jekyll.aliases.sh
|
|
297
|
+
│ │ │ └── jekyll.aliases.sh
|
|
243
298
|
│ │ ├── pnpm
|
|
244
|
-
│ │ │ └── pnpm.aliases.sh
|
|
299
|
+
│ │ │ └── pnpm.aliases.sh
|
|
245
300
|
│ │ ├── subversion
|
|
246
|
-
│ │ │ └── subversion.aliases.sh
|
|
301
|
+
│ │ │ └── subversion.aliases.sh
|
|
247
302
|
│ │ └── tmux
|
|
248
|
-
│ │ └── tmux.aliases.sh
|
|
303
|
+
│ │ └── tmux.aliases.sh
|
|
249
304
|
│ ├── configurations
|
|
250
305
|
│ │ ├── bash
|
|
251
|
-
│ │ │ └── bashrc
|
|
306
|
+
│ │ │ └── bashrc
|
|
252
307
|
│ │ ├── curl
|
|
253
|
-
│ │ │ ├── cacert.pem
|
|
254
|
-
│ │ │ └── curlrc
|
|
308
|
+
│ │ │ ├── cacert.pem
|
|
309
|
+
│ │ │ └── curlrc
|
|
255
310
|
│ │ ├── default
|
|
256
|
-
│ │ │ ├── color.sh
|
|
257
|
-
│ │ │ ├──
|
|
258
|
-
│ │ │
|
|
259
|
-
│ │
|
|
260
|
-
│ │
|
|
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
|
|
320
|
+
│ │ │ └── jshintrc
|
|
321
|
+
│ │ ├── nano
|
|
322
|
+
│ │ │ └── nanorc
|
|
263
323
|
│ │ ├── profile
|
|
264
|
-
│ │ │ └── profile
|
|
324
|
+
│ │ │ └── profile
|
|
265
325
|
│ │ ├── tmux
|
|
266
|
-
│ │ │
|
|
326
|
+
│ │ │ ├── default
|
|
327
|
+
│ │ │ ├── display
|
|
328
|
+
│ │ │ ├── linux
|
|
329
|
+
│ │ │ ├── navigation
|
|
330
|
+
│ │ │ ├── panes
|
|
331
|
+
│ │ │ ├── theme
|
|
332
|
+
│ │ │ ├── tmux
|
|
333
|
+
│ │ │ └── vi
|
|
267
334
|
│ │ ├── vim
|
|
268
|
-
│ │ │ └── vimrc
|
|
335
|
+
│ │ │ └── vimrc
|
|
269
336
|
│ │ ├── wget
|
|
270
|
-
│ │ │ └── wgetrc
|
|
337
|
+
│ │ │ └── wgetrc
|
|
271
338
|
│ │ ├── zsh
|
|
272
|
-
│ │ │ └── zshrc
|
|
339
|
+
│ │ │ └── zshrc
|
|
273
340
|
│ │ └── README.md
|
|
274
341
|
│ ├── functions
|
|
275
|
-
│ │ ├── README.md
|
|
276
|
-
│ │ ├── cdls.sh
|
|
277
|
-
│ │ ├──
|
|
278
|
-
│ │ ├──
|
|
279
|
-
│ │ ├──
|
|
280
|
-
│ │ ├──
|
|
281
|
-
│ │ ├──
|
|
282
|
-
│ │ ├──
|
|
283
|
-
│ │ ├──
|
|
284
|
-
│ │ ├──
|
|
285
|
-
│ │ ├──
|
|
286
|
-
│ │ ├──
|
|
287
|
-
│ │ ├──
|
|
288
|
-
│ │ ├──
|
|
289
|
-
│ │ ├──
|
|
290
|
-
│ │ ├──
|
|
291
|
-
│ │ ├──
|
|
292
|
-
│ │ ├──
|
|
293
|
-
│ │ ├──
|
|
294
|
-
│ │ ├──
|
|
295
|
-
│ │ ├──
|
|
296
|
-
│ │ ├──
|
|
297
|
-
│ │ ├──
|
|
298
|
-
│ │ ├──
|
|
299
|
-
│ │ ├──
|
|
300
|
-
│ │ ├──
|
|
301
|
-
│ │ ├──
|
|
302
|
-
│ │ ├──
|
|
303
|
-
│ │ ├──
|
|
304
|
-
│ │ ├──
|
|
305
|
-
│ │ ├──
|
|
306
|
-
│ │ ├──
|
|
307
|
-
│ │ ├──
|
|
308
|
-
│ │ ├──
|
|
309
|
-
│ │ ├──
|
|
310
|
-
│ │
|
|
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
|
|
391
|
+
│ │ │ └── ant.paths.sh
|
|
314
392
|
│ │ ├── default
|
|
315
|
-
│ │ │ └── default.paths.sh
|
|
393
|
+
│ │ │ └── default.paths.sh
|
|
316
394
|
│ │ ├── homebrew
|
|
317
|
-
│ │ │ └── homebrew.paths.sh
|
|
395
|
+
│ │ │ └── homebrew.paths.sh
|
|
318
396
|
│ │ ├── java
|
|
319
|
-
│ │ │ └── java.paths.sh
|
|
397
|
+
│ │ │ └── java.paths.sh
|
|
320
398
|
│ │ ├── maven
|
|
321
|
-
│ │ │ └── maven.paths.sh
|
|
399
|
+
│ │ │ └── maven.paths.sh
|
|
322
400
|
│ │ ├── node
|
|
323
|
-
│ │ │ └── node.paths.sh
|
|
401
|
+
│ │ │ └── node.paths.sh
|
|
324
402
|
│ │ ├── nvm
|
|
325
|
-
│ │ │ └── nvm.paths.sh
|
|
403
|
+
│ │ │ └── nvm.paths.sh
|
|
326
404
|
│ │ ├── pnpm
|
|
327
|
-
│ │ │ └── pnpm.paths.sh
|
|
405
|
+
│ │ │ └── pnpm.paths.sh
|
|
328
406
|
│ │ ├── python
|
|
329
|
-
│ │ │ └── python.paths.sh
|
|
407
|
+
│ │ │ └── python.paths.sh
|
|
330
408
|
│ │ ├── ruby
|
|
331
|
-
│ │ │ └── ruby.paths.sh
|
|
409
|
+
│ │ │ └── ruby.paths.sh
|
|
332
410
|
│ │ └── tmux
|
|
333
|
-
│ │ └── tmux.paths.sh
|
|
334
|
-
│ ├── README.md
|
|
335
|
-
│ ├── aliases.sh
|
|
336
|
-
│ ├── configurations.sh
|
|
337
|
-
│ ├── exit.sh
|
|
338
|
-
│ ├── functions.sh
|
|
339
|
-
│ ├── history.sh
|
|
340
|
-
│
|
|
341
|
-
|
|
342
|
-
│ ├──
|
|
343
|
-
│ ├──
|
|
344
|
-
│
|
|
345
|
-
├──
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
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)
|
|
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.
|
|
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.
|
|
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
|
|
13
|
+
backup: # @HELP
|
|
15
14
|
backup: ## Backup your current dotfiles.
|
|
16
|
-
|
|
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:
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
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
|
-
|
|
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
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
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: ##
|
|
52
|
-
|
|
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
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
@
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
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
|
+
|
package/dist/bin/constants.d.ts
CHANGED
|
@@ -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.
|
|
4
|
-
export const
|
|
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,+
|
|
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"}
|
package/dist/bin/constants.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
|
|
2
|
-
const version="dotfiles-0.2.
|
|
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,
|
|
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"}
|
package/dist/bin/dotfiles.js
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
1
|
|
|
2
|
-
const copy=require(
|
|
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);}};
|
package/dist/bin/dotfiles.js.map
CHANGED
|
@@ -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,
|
|
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,GAAG,IAAI,CAAC,OAAO,CAAC,SAAS,EAAE,EAAE,CAAC,OAAO,EAAE,CAAC,CAAC;AAElD,MAAM,CAAC,OAAO,GAAG,SAAe,IAAI;;;;;;oBAE9B,CAAC,GAAG,CAAC,CAAC;oBAGV,GAAG;wBACD,MAAM,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC;wBAC/B,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,OAAO,CAAC,CAAC,CAAC,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"}
|
package/dist/bin/index.js
CHANGED
|
File without changes
|