@sebastienrousseau/dotfiles 0.2.458 → 0.2.460
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 +62 -11
- package/dist/Makefile +35 -57
- package/dist/bin/backup.js.map +1 -1
- package/dist/bin/constants.d.ts +2 -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 -1
- package/dist/bin/dotfiles.js.map +1 -1
- package/dist/bin/download.js.map +1 -1
- package/dist/bin/transfer.js.map +1 -1
- package/dist/bin/unpack.js.map +1 -1
- package/dist/filesizes.txt +107 -59
- package/dist/lib/aliases/default/default.aliases.sh +2 -8
- package/dist/lib/aliases/gcloud/gcloud.aliases.sh +116 -117
- package/dist/lib/aliases/git/git.aliases.sh +6 -47
- package/dist/lib/aliases/heroku/heroku.aliases.sh +673 -673
- package/dist/lib/aliases/jekyll/jekyll.aliases.sh +26 -26
- package/dist/lib/aliases/pnpm/pnpm.aliases.sh +36 -36
- package/dist/lib/aliases/subversion/subversion.aliases.sh +80 -80
- package/dist/lib/aliases/tmux/tmux.aliases.sh +1 -1
- package/dist/lib/aliases.sh +1 -1
- package/dist/lib/configurations/bash/bashrc +24 -24
- package/dist/lib/configurations/curl/curlrc +1 -1
- package/dist/lib/configurations/default/color.sh +1 -1
- package/dist/lib/configurations/default/constants.sh +41 -0
- package/dist/lib/configurations/default/editor.sh +1 -1
- package/dist/lib/configurations/default/prompt.sh +1 -1
- package/dist/lib/configurations/gem/gemrc +9 -0
- package/dist/lib/configurations/{inputrc → input}/inputrc +1 -1
- package/dist/lib/configurations/nano/nanorc +34 -0
- package/dist/lib/configurations/profile/profile +1 -1
- package/dist/lib/configurations/tmux/default +1 -1
- package/dist/lib/configurations/tmux/display +1 -1
- package/dist/lib/configurations/tmux/linux +1 -1
- package/dist/lib/configurations/tmux/navigation +1 -1
- package/dist/lib/configurations/tmux/panes +1 -1
- package/dist/lib/configurations/tmux/theme +4 -4
- package/dist/lib/configurations/tmux/tmux +1 -1
- package/dist/lib/configurations/tmux/vi +1 -1
- package/dist/lib/configurations/vim/vimrc +1 -1
- package/dist/lib/configurations/wget/wgetrc +1 -1
- package/dist/lib/configurations/zsh/zshrc +15 -16
- package/dist/lib/configurations.sh +1 -1
- package/dist/lib/exit.sh +1 -1
- package/dist/lib/functions/cdls.sh +1 -1
- package/dist/lib/functions/changediskpwd.tmp +17 -0
- package/dist/lib/functions/code.tmp +16 -0
- package/dist/lib/functions/countdown.tmp +33 -0
- package/dist/lib/functions/curlheader.sh +2 -2
- package/dist/lib/functions/curltime.sh +3 -4
- package/dist/lib/functions/encode64.sh +1 -1
- package/dist/lib/functions/environment.sh +2 -3
- package/dist/lib/functions/extract.sh +1 -1
- package/dist/lib/functions/genpwd.sh +6 -6
- package/dist/lib/functions/goto.sh +1 -1
- package/dist/lib/functions/headers.tmp +4 -0
- package/dist/lib/functions/hidehiddenfiles.sh +1 -1
- package/dist/lib/functions/history-all.tmp +7 -0
- package/dist/lib/functions/hostinfo.sh +1 -1
- package/dist/lib/functions/hstats.sh +2 -2
- package/dist/lib/functions/httpdebug.sh +1 -1
- package/dist/lib/functions/keygen.sh +1 -1
- package/dist/lib/functions/last.sh +1 -1
- package/dist/lib/functions/logout.sh +1 -1
- package/dist/lib/functions/lowercase.sh +16 -17
- package/dist/lib/functions/macos.sh +14 -15
- package/dist/lib/functions/matrix.sh +7 -2
- package/dist/lib/functions/mcd.sh +1 -1
- package/dist/lib/functions/mount_read_only.sh +1 -1
- package/dist/lib/functions/myproc.sh +1 -1
- package/dist/lib/functions/prependpath.sh +2 -2
- package/dist/lib/functions/print.tmp +13 -0
- package/dist/lib/functions/ql.sh +1 -1
- package/dist/lib/functions/rd.sh +3 -3
- package/dist/lib/functions/remove_disk.sh +2 -2
- package/dist/lib/functions/ren.sh +1 -1
- package/dist/lib/functions/rm.tmp +13 -0
- package/dist/lib/functions/rps.tmp +103 -0
- package/dist/lib/functions/showhiddenfiles.sh +1 -1
- package/dist/lib/functions/size.sh +1 -1
- package/dist/lib/functions/stopwatch.sh +1 -1
- package/dist/lib/functions/trash.tmp +13 -0
- package/dist/lib/functions/tree.tmp +13 -0
- package/dist/lib/functions/uppercase.sh +16 -17
- package/dist/lib/functions/uuidgen.tmp +27 -0
- package/dist/lib/functions/view-source.sh +2 -3
- package/dist/lib/functions/vscode.sh +1 -2
- package/dist/lib/functions/whoisport.sh +1 -1
- package/dist/lib/functions/zipf.sh +2 -2
- package/dist/lib/functions.sh +1 -1
- package/dist/lib/history.sh +22 -22
- package/dist/lib/paths/ant/ant.paths.sh +1 -1
- package/dist/lib/paths/default/default.paths.sh +10 -10
- package/dist/lib/paths/homebrew/homebrew.paths.sh +1 -1
- package/dist/lib/paths/java/java.paths.sh +1 -1
- package/dist/lib/paths/maven/maven.paths.sh +1 -1
- package/dist/lib/paths/node/node.paths.sh +1 -1
- package/dist/lib/paths/nvm/nvm.paths.sh +1 -1
- package/dist/lib/paths/pnpm/pnpm.paths.sh +1 -1
- package/dist/lib/paths/python/python.paths.sh +3 -3
- package/dist/lib/paths/ruby/ruby.paths.sh +1 -1
- package/dist/lib/paths/tmux/tmux.paths.sh +1 -1
- package/dist/lib/paths.sh +1 -1
- package/dist/scripts/backup.sh +89 -0
- package/dist/scripts/banner.sh +18 -0
- package/dist/scripts/build.sh +39 -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 +33 -0
- package/dist/scripts/help.sh +55 -0
- package/dist/scripts/unpack.sh +26 -0
- package/package.json +14 -37
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.460)
|
|
17
17
|
|
|
18
18
|
### Simply designed to fit your shell life
|
|
19
19
|
|
|
@@ -22,7 +22,7 @@ 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.460][download_button]][download]
|
|
26
26
|
|
|
27
27
|
Dotfiles aggregates a collection of standalone configuration files (dotfiles)
|
|
28
28
|
combined into a `lib` directory that can be used to customize your development
|
|
@@ -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.460) 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.458) 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
|
|
@@ -285,12 +309,17 @@ You'll see something like this:
|
|
|
285
309
|
│ │ │ └── curlrc
|
|
286
310
|
│ │ ├── default
|
|
287
311
|
│ │ │ ├── color.sh
|
|
312
|
+
│ │ │ ├── constants.sh
|
|
288
313
|
│ │ │ ├── editor.sh
|
|
289
314
|
│ │ │ └── prompt.sh
|
|
290
|
-
│ │ ├──
|
|
315
|
+
│ │ ├── gem
|
|
316
|
+
│ │ │ └── gemrc
|
|
317
|
+
│ │ ├── input
|
|
291
318
|
│ │ │ └── inputrc
|
|
292
319
|
│ │ ├── jshint
|
|
293
320
|
│ │ │ └── jshintrc
|
|
321
|
+
│ │ ├── nano
|
|
322
|
+
│ │ │ └── nanorc
|
|
294
323
|
│ │ ├── profile
|
|
295
324
|
│ │ │ └── profile
|
|
296
325
|
│ │ ├── tmux
|
|
@@ -312,6 +341,9 @@ You'll see something like this:
|
|
|
312
341
|
│ ├── functions
|
|
313
342
|
│ │ ├── README.md
|
|
314
343
|
│ │ ├── cdls.sh
|
|
344
|
+
│ │ ├── changediskpwd.tmp
|
|
345
|
+
│ │ ├── code.tmp
|
|
346
|
+
│ │ ├── countdown.tmp
|
|
315
347
|
│ │ ├── curlheader.sh
|
|
316
348
|
│ │ ├── curltime.sh
|
|
317
349
|
│ │ ├── encode64.sh
|
|
@@ -320,7 +352,9 @@ You'll see something like this:
|
|
|
320
352
|
│ │ ├── filehead.sh
|
|
321
353
|
│ │ ├── genpwd.sh
|
|
322
354
|
│ │ ├── goto.sh
|
|
355
|
+
│ │ ├── headers.tmp
|
|
323
356
|
│ │ ├── hidehiddenfiles.sh
|
|
357
|
+
│ │ ├── history-all.tmp
|
|
324
358
|
│ │ ├── hostinfo.sh
|
|
325
359
|
│ │ ├── hstats.sh
|
|
326
360
|
│ │ ├── httpdebug.sh
|
|
@@ -334,14 +368,20 @@ You'll see something like this:
|
|
|
334
368
|
│ │ ├── mount_read_only.sh
|
|
335
369
|
│ │ ├── myproc.sh
|
|
336
370
|
│ │ ├── prependpath.sh
|
|
371
|
+
│ │ ├── print.tmp
|
|
337
372
|
│ │ ├── ql.sh
|
|
338
373
|
│ │ ├── rd.sh
|
|
339
374
|
│ │ ├── remove_disk.sh
|
|
340
375
|
│ │ ├── ren.sh
|
|
376
|
+
│ │ ├── rm.tmp
|
|
377
|
+
│ │ ├── rps.tmp
|
|
341
378
|
│ │ ├── showhiddenfiles.sh
|
|
342
379
|
│ │ ├── size.sh
|
|
343
380
|
│ │ ├── stopwatch.sh
|
|
381
|
+
│ │ ├── trash.tmp
|
|
382
|
+
│ │ ├── tree.tmp
|
|
344
383
|
│ │ ├── uppercase.sh
|
|
384
|
+
│ │ ├── uuidgen.tmp
|
|
345
385
|
│ │ ├── view-source.sh
|
|
346
386
|
│ │ ├── vscode.sh
|
|
347
387
|
│ │ ├── whoisport.sh
|
|
@@ -376,10 +416,22 @@ You'll see something like this:
|
|
|
376
416
|
│ ├── functions.sh
|
|
377
417
|
│ ├── history.sh
|
|
378
418
|
│ └── paths.sh
|
|
419
|
+
├── scripts
|
|
420
|
+
│ ├── backup.sh
|
|
421
|
+
│ ├── banner.sh
|
|
422
|
+
│ ├── build.sh
|
|
423
|
+
│ ├── clean.sh
|
|
424
|
+
│ ├── compile.sh
|
|
425
|
+
│ ├── copy.sh
|
|
426
|
+
│ ├── dotfiles.sh
|
|
427
|
+
│ ├── download.sh
|
|
428
|
+
│ ├── help.sh
|
|
429
|
+
│ └── unpack.sh
|
|
379
430
|
├── Makefile
|
|
380
431
|
└── filesizes.txt
|
|
381
432
|
|
|
382
|
-
|
|
433
|
+
38 directories, 141 files
|
|
434
|
+
|
|
383
435
|
```
|
|
384
436
|
|
|
385
437
|
## 🔗 Releases
|
|
@@ -392,7 +444,7 @@ Releases are available on the [GitHub releases page][releases].
|
|
|
392
444
|
|
|
393
445
|
For transparency into our release cycle and in striving to maintain backward
|
|
394
446
|
compatibility, `Dotfiles` follows [Semantic Versioning][semver-url]
|
|
395
|
-
(SemVer)
|
|
447
|
+
(SemVer).
|
|
396
448
|
|
|
397
449
|
![divider][divider]
|
|
398
450
|
|
|
@@ -461,7 +513,7 @@ bunch of awesome [contributors](https://github.com/sebastienrousseau/dotfiles/gr
|
|
|
461
513
|
[contributing]: https://github.com/sebastienrousseau/dotfiles/blob/master/.github/CONTRIBUTING.md
|
|
462
514
|
[curl]: https://curl.se/
|
|
463
515
|
[docs]: https://github.com/sebastienrousseau/dotfiles/docs
|
|
464
|
-
[download]: https://github.com/sebastienrousseau/dotfiles/archive/refs/tags/v0.2.
|
|
516
|
+
[download]: https://github.com/sebastienrousseau/dotfiles/archive/refs/tags/v0.2.460.tar.gz
|
|
465
517
|
[getting-started]: https://github.com/sebastienrousseau/dotfiles#getting-started
|
|
466
518
|
[git]: https://git-scm.com/
|
|
467
519
|
[github]: https://github.com/sebastienrousseau/dotfiles
|
|
@@ -488,4 +540,3 @@ bunch of awesome [contributors](https://github.com/sebastienrousseau/dotfiles/gr
|
|
|
488
540
|
[license]: https://img.shields.io/badge/License-MIT-green.svg?style=for-the-badge\&color=ff69b4
|
|
489
541
|
[love]: https://github.com/sebastienrousseau/dotfiles/raw/master/assets/made-with-love.svg
|
|
490
542
|
[semver-url]: http://semver.org/
|
|
491
|
-
[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.460) - 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)/scripts/dotfiles backup
|
|
20
|
-
endif
|
|
15
|
+
@$(HOMEDIR)/scripts/backup.sh backup
|
|
21
16
|
|
|
22
|
-
.PHONY:
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
else
|
|
28
|
-
sh $(HOMEDIR)/scripts/dotfiles assemble
|
|
29
|
-
endif
|
|
17
|
+
.PHONY: clean
|
|
18
|
+
clean: # @HELP
|
|
19
|
+
clean: ## Removes any previous setup.
|
|
20
|
+
clean:
|
|
21
|
+
@$(HOMEDIR)/scripts/clean.sh clean
|
|
30
22
|
|
|
31
23
|
.PHONY: copy
|
|
32
|
-
copy: # @HELP
|
|
24
|
+
copy: # @HELP
|
|
33
25
|
copy: ## Copy the dotfiles on your system.
|
|
34
|
-
|
|
35
|
-
pnpm run copy
|
|
36
|
-
else
|
|
37
|
-
sh $(HOMEDIR)/scripts/dotfiles copy
|
|
38
|
-
endif
|
|
26
|
+
@$(HOMEDIR)/scripts/copy.sh copy
|
|
39
27
|
|
|
40
28
|
.PHONY: download
|
|
41
|
-
download: # @HELP
|
|
29
|
+
download: # @HELP
|
|
42
30
|
download: ## Download the dotfiles on your system.
|
|
43
|
-
|
|
44
|
-
pnpm run download
|
|
45
|
-
else
|
|
46
|
-
sh $(HOMEDIR)/scripts/dotfiles download
|
|
47
|
-
endif
|
|
31
|
+
@$(HOMEDIR)/scripts/download.sh download
|
|
48
32
|
|
|
49
|
-
.PHONY:
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
pnpm run unpack
|
|
54
|
-
else
|
|
55
|
-
sh $(HOMEDIR)/scripts/dotfiles unpack
|
|
56
|
-
endif
|
|
33
|
+
.PHONY: build
|
|
34
|
+
build: # @HELP
|
|
35
|
+
build: ## Run the full installation process.
|
|
36
|
+
@$(HOMEDIR)/scripts/build.sh build
|
|
57
37
|
|
|
58
|
-
.PHONY:
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
pnpm run clean
|
|
63
|
-
else
|
|
64
|
-
sh $(HOMEDIR)/scripts/dotfiles clean
|
|
65
|
-
endif
|
|
38
|
+
.PHONY: unpack
|
|
39
|
+
unpack: # @HELP
|
|
40
|
+
unpack: ## Extract the dotfiles to your system.
|
|
41
|
+
@$(HOMEDIR)/scripts/unpack.sh unpack
|
|
66
42
|
|
|
67
43
|
.PHONY: help
|
|
68
|
-
help: # @HELP
|
|
69
|
-
help:
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
@
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
44
|
+
help: # @HELP
|
|
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/backup.js.map
CHANGED
|
@@ -1 +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,
|
|
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,EAAE;wBACvB,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"}
|
package/dist/bin/constants.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export const aliases: string[];
|
|
2
2
|
export const config: string[];
|
|
3
3
|
export const copies: string[];
|
|
4
|
-
export const dotfile: "https://registry.npmjs.org/@sebastienrousseau/dotfiles/-/dotfiles-0.2.
|
|
4
|
+
export const dotfile: "https://registry.npmjs.org/@sebastienrousseau/dotfiles/-/dotfiles-0.2.460.tgz";
|
|
5
5
|
export const tmux: "$DOTFILES/configurations/tmux/";
|
|
6
|
-
export const version: "dotfiles-0.2.
|
|
6
|
+
export const version: "dotfiles-0.2.460.tgz";
|
|
7
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.460.tgz";const dotfile="https://registry.npmjs.org/@sebastienrousseau/dotfiles/-/dotfiles-0.2.460.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,3 +1,3 @@
|
|
|
1
1
|
|
|
2
|
-
const copy=require("./copy.js");const transfer=require("./transfer.js");const backup=require("./backup.js");const download=require("./download.js");const unpack=require("./unpack.js");const{aliases,
|
|
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);}
|
|
3
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,
|
|
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,EAA3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+1 @@
|
|
|
1
|
-
{"version":3,"file":"download.js","sourceRoot":"","sources":["../../bin/download.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAOA,SAAe,QAAQ;;;;
|
|
1
|
+
{"version":3,"file":"download.js","sourceRoot":"","sources":["../../bin/download.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAOA,SAAe,QAAQ;;;;YAEb,SAAS,GAAK,OAAO,CAAC,MAAM,CAAC,UAApB,CAAqB;YAClC,EAAE,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;YACnB,EAAE,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;YACnB,IAAI,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC;YACrB,KAAuB,OAAO,CAAC,gBAAgB,CAAC,EAA9C,OAAO,aAAA,EAAE,OAAO,aAAA,CAA+B;YACnD,QAAQ,GAAG,IAAI,CAAC,OAAO,CAAC,SAAS,EAAE,EAAE,CAAC,OAAO,EAAE,GAAG,mBAAmB,CAAC,CAAC;YACrE,KAAK,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC;YACzB,IAAI,GAAG,EAAE,CAAC,iBAAiB,CAAC,OAAO,CAAC,CAAC;YACrC,EAAE,GAAG,SAAS,CAAC,EAAE,CAAC,MAAM,CAAC,CAAC;YAE1B,OAAO,GAAG,KAAK,CAAC,GAAG,CACvB,OAAO,EAAE,UAAA,QAAQ;gBACf,OAAO,CAAC,GAAG,CAAC,UAAU,GAAG,QAAQ,CAAC,UAAU,CAAC,CAAC;gBAC9C,IAAI,OAAO,GAAG,IAAI,CAAC,SAAS,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC;gBAC/C,OAAO,CAAC,GAAG,CAAC,WAAW,GAAG,OAAO,CAAC,CAAC;gBACnC,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;gBACpB,IAAI,CAAC,EAAE,CAAC,QAAQ,EAAE;oBAChB,IAAI,CAAC,KAAK,EAAE,CAAC;oBACb,EAAE,CAAC,OAAO,EAAE,UAAG,QAAQ,cAAI,OAAO,CAAE,CAAC,CAAC;oBACtC,EAAE,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;gBACrB,CAAC,CAAC,CAAC;YACL,CAAC,CAAC,CAAC;;;;CAGN;AAAA,CAAC;AAEF,MAAM,CAAC,OAAO,GAAG,QAAQ,CAAC"}
|
package/dist/bin/transfer.js.map
CHANGED
|
@@ -1 +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,CAAC,IAAI,CAAC,CAAC;oBACnB,IAAI,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC;oBAErB,MAAM,GAAG,IAAI,CAAC,OAAO,CAAC,SAAS,EAAE,EAAE,CAAC,OAAO,EAAE,GAAG,gCAAgC,CAAC,CAAC;oBAClF,QAAQ,
|
|
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,CAAC,IAAI,CAAC,CAAC;oBACnB,IAAI,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC;oBAErB,MAAM,GAAG,IAAI,CAAC,OAAO,CAAC,SAAS,EAAE,EAAE,CAAC,OAAO,EAAE,GAAG,gCAAgC,CAAC,CAAC;oBAClF,QAAQ,GAAG,IAAI,CAAC,OAAO,CAAC,SAAS,EAAE,GAAG,GAAG,IAAI,GA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B,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,
|
|
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,GAAG,GAAG,GAAG,OAAO,EAAE,QAAQ,GAAG,GAAG,CAAC,CAAC;;;;CACtE;AAED,MAAM,CAAC,OAAO,GAAG,MAAM,CAAC"}
|