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