@sebastienrousseau/dotfiles 0.2.455 β†’ 0.2.457

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 (114) hide show
  1. package/README.md +21 -7
  2. package/dist/Makefile +78 -0
  3. package/dist/bin/backup.d.ts +3 -0
  4. package/dist/bin/backup.d.ts.map +1 -0
  5. package/dist/bin/backup.js +3 -0
  6. package/dist/bin/backup.js.map +1 -0
  7. package/dist/bin/compile.sh +16 -0
  8. package/dist/bin/constants.d.ts +5 -0
  9. package/dist/bin/constants.d.ts.map +1 -0
  10. package/dist/bin/constants.js +2 -0
  11. package/dist/bin/constants.js.map +1 -0
  12. package/dist/bin/copy.d.ts +3 -0
  13. package/dist/bin/copy.d.ts.map +1 -0
  14. package/dist/bin/copy.js +2 -0
  15. package/dist/bin/copy.js.map +1 -0
  16. package/dist/bin/copy.sh +21 -0
  17. package/dist/bin/dotfiles.d.ts +3 -0
  18. package/dist/bin/dotfiles.d.ts.map +1 -0
  19. package/dist/bin/dotfiles.js +4 -0
  20. package/dist/bin/dotfiles.js.map +1 -0
  21. package/dist/bin/dotfiles.sh +185 -0
  22. package/dist/bin/download.d.ts +3 -0
  23. package/dist/bin/download.d.ts.map +1 -0
  24. package/dist/bin/download.js +2 -0
  25. package/dist/bin/download.js.map +1 -0
  26. package/dist/bin/index.d.ts +2 -0
  27. package/dist/bin/index.d.ts.map +1 -0
  28. package/dist/bin/index.js +1 -0
  29. package/dist/bin/index.js.map +1 -0
  30. package/dist/bin/transfer.d.ts +3 -0
  31. package/dist/bin/transfer.d.ts.map +1 -0
  32. package/dist/bin/transfer.js +4 -0
  33. package/dist/bin/transfer.js.map +1 -0
  34. package/dist/bin/unpack.d.ts +3 -0
  35. package/dist/bin/unpack.d.ts.map +1 -0
  36. package/dist/bin/unpack.js +3 -0
  37. package/dist/bin/unpack.js.map +1 -0
  38. package/dist/filesizes.txt +232 -0
  39. package/dist/shell/README.md +3 -0
  40. package/dist/shell/aliases/default/default.aliases.sh +199 -0
  41. package/dist/shell/aliases/gcloud/gcloud.aliases.sh +121 -0
  42. package/dist/shell/aliases/heroku/heroku.aliases.sh +1031 -0
  43. package/dist/shell/aliases/jekyll/jekyll.aliases.sh +50 -0
  44. package/dist/shell/aliases/pnpm/pnpm.aliases.sh +42 -0
  45. package/dist/shell/aliases/subversion/subversion.aliases.sh +123 -0
  46. package/dist/shell/aliases/tmux/tmux.aliases.sh +14 -0
  47. package/dist/shell/aliases.sh +12 -0
  48. package/dist/shell/configurations/README.md +3 -0
  49. package/dist/shell/configurations/bash/bashrc +36 -0
  50. package/dist/shell/configurations/curl/cacert.pem +3460 -0
  51. package/dist/shell/configurations/curl/curlrc +55 -0
  52. package/dist/shell/configurations/default/color.sh +22 -0
  53. package/dist/shell/configurations/default/editor.sh +16 -0
  54. package/dist/shell/configurations/default/prompt.sh +37 -0
  55. package/dist/shell/configurations/input/inputrc +22 -0
  56. package/dist/shell/configurations/jshint/jshintrc +37 -0
  57. package/dist/shell/configurations/profile/profile +36 -0
  58. package/dist/shell/configurations/tmux/tmux +95 -0
  59. package/dist/shell/configurations/vim/vimrc +73 -0
  60. package/dist/shell/configurations/wget/wgetrc +39 -0
  61. package/dist/shell/configurations/zsh/zshrc +50 -0
  62. package/dist/shell/configurations.sh +10 -0
  63. package/dist/shell/exit.sh +9 -0
  64. package/dist/shell/functions/README.md +3 -0
  65. package/dist/shell/functions/cdls.sh +19 -0
  66. package/dist/shell/functions/curlheader.sh +20 -0
  67. package/dist/shell/functions/curltime.sh +31 -0
  68. package/dist/shell/functions/encode64.sh +25 -0
  69. package/dist/shell/functions/environment.sh +37 -0
  70. package/dist/shell/functions/extract.sh +32 -0
  71. package/dist/shell/functions/filehead.sh +4 -0
  72. package/dist/shell/functions/genpwd.sh +14 -0
  73. package/dist/shell/functions/goto.sh +14 -0
  74. package/dist/shell/functions/hidehiddenfiles.sh +12 -0
  75. package/dist/shell/functions/hostinfo.sh +25 -0
  76. package/dist/shell/functions/hstats.sh +9 -0
  77. package/dist/shell/functions/httpdebug.sh +7 -0
  78. package/dist/shell/functions/keygen.sh +23 -0
  79. package/dist/shell/functions/last.sh +9 -0
  80. package/dist/shell/functions/logout.sh +10 -0
  81. package/dist/shell/functions/lowercase.sh +28 -0
  82. package/dist/shell/functions/macos.sh +47 -0
  83. package/dist/shell/functions/matrix.sh +9 -0
  84. package/dist/shell/functions/mcd.sh +18 -0
  85. package/dist/shell/functions/mount_read_only.sh +9 -0
  86. package/dist/shell/functions/myproc.sh +7 -0
  87. package/dist/shell/functions/prependpath.sh +19 -0
  88. package/dist/shell/functions/ql.sh +7 -0
  89. package/dist/shell/functions/rd.sh +15 -0
  90. package/dist/shell/functions/remove_disk.sh +9 -0
  91. package/dist/shell/functions/ren.sh +11 -0
  92. package/dist/shell/functions/showhiddenfiles.sh +12 -0
  93. package/dist/shell/functions/size.sh +13 -0
  94. package/dist/shell/functions/stopwatch.sh +13 -0
  95. package/dist/shell/functions/uppercase.sh +28 -0
  96. package/dist/shell/functions/view-source.sh +8 -0
  97. package/dist/shell/functions/vscode.sh +31 -0
  98. package/dist/shell/functions/whoisport.sh +12 -0
  99. package/dist/shell/functions/zipf.sh +14 -0
  100. package/dist/shell/functions.sh +10 -0
  101. package/dist/shell/history.sh +107 -0
  102. package/dist/shell/paths/ant/ant.paths.sh +15 -0
  103. package/dist/shell/paths/default/default.paths.sh +17 -0
  104. package/dist/shell/paths/homebrew/homebrew.paths.sh +25 -0
  105. package/dist/shell/paths/java/java.paths.sh +16 -0
  106. package/dist/shell/paths/maven/maven.paths.sh +17 -0
  107. package/dist/shell/paths/node/node.paths.sh +13 -0
  108. package/dist/shell/paths/nvm/nvm.paths.sh +21 -0
  109. package/dist/shell/paths/pnpm/pnpm.paths.sh +13 -0
  110. package/dist/shell/paths/python/python.paths.sh +29 -0
  111. package/dist/shell/paths/ruby/ruby.paths.sh +23 -0
  112. package/dist/shell/paths/tmux/tmux.paths.sh +15 -0
  113. package/dist/shell/paths.sh +12 -0
  114. package/package.json +27 -30
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.455)
16
+ ## πŸ‘‹ Welcome to Dotfiles (v0.2.457)
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.455][download_button]][download]
25
+ [![Download Dotfiles v0.2.457][download_button]][download]
26
26
 
27
27
  Dotfiles aggregates a collection of standalone configuration files (dotfiles)
28
28
  combined into a `shell` directory that can be used to customize your development
@@ -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.455) with the following options:
104
+ You can download the latest version (v0.2.457) 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 -g @sebastienrousseau/dotfiles`.
108
+ `pnpm i @sebastienrousseau/dotfiles`.
109
109
  - [**Install with Npm**](https://www.npmjs.com/package/@sebastienrousseau/dotfiles)
110
- `npm install -g @sebastienrousseau/dotfiles`.
110
+ `npm install @sebastienrousseau/dotfiles`.
111
111
  - [**Install with Yarn**](https://yarnpkg.com/package/@sebastienrousseau/dotfiles)
112
- `yarn global add @sebastienrousseau/dotfiles`.
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
@@ -413,7 +427,7 @@ bunch of awesome [contributors](https://github.com/sebastienrousseau/dotfiles/gr
413
427
  [contributing]: https://github.com/sebastienrousseau/dotfiles/blob/master/.github/CONTRIBUTING.md
414
428
  [curl]: https://curl.se/
415
429
  [docs]: https://github.com/sebastienrousseau/dotfiles/docs
416
- [download]: https://github.com/sebastienrousseau/dotfiles/archive/refs/tags/v0.2.455.tar.gz
430
+ [download]: https://github.com/sebastienrousseau/dotfiles/archive/refs/tags/v0.2.457.tar.gz
417
431
  [getting-started]: https://github.com/sebastienrousseau/dotfiles#getting-started
418
432
  [git]: https://git-scm.com/
419
433
  [github]: https://github.com/sebastienrousseau/dotfiles
package/dist/Makefile ADDED
@@ -0,0 +1,78 @@
1
+ #!/usr/bin/env make -f
2
+
3
+ # πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.457) - https://dotfiles.io
4
+ # Copyright (c) Sebastien Rousseau 2022. All rights reserved
5
+ # License: MIT
6
+
7
+ .DEFAULT_GOAL := help
8
+
9
+ language := en
10
+ PNPM := $(shell command -v pnpm 2> /dev/null)
11
+ HOMEDIR:= $(shell pwd)
12
+
13
+ .PHONY: backup
14
+ backup: # @HELP Backup your current dotfiles.
15
+ backup: ## Backup your current dotfiles.
16
+ ifdef PNPM
17
+ pnpm run backup
18
+ else
19
+ sh $(HOMEDIR)/bin/dotfiles.sh backup
20
+ endif
21
+
22
+ .PHONY: assemble
23
+ assemble: # @HELP Assemble the dotfiles on your system.
24
+ assemble: ## Prepare the dotfiles on your system.
25
+ ifdef PNPM
26
+ pnpm run assemble
27
+ else
28
+ sh $(HOMEDIR)/bin/dotfiles assemble
29
+ endif
30
+
31
+ .PHONY: copy
32
+ copy: # @HELP Copy the dotfiles on your system.
33
+ copy: ## Copy the dotfiles on your system.
34
+ ifdef PNPM
35
+ pnpm run copy
36
+ else
37
+ sh $(HOMEDIR)/bin/dotfiles copy
38
+ endif
39
+
40
+ .PHONY: download
41
+ download: # @HELP Download the dotfiles on your system.
42
+ download: ## Download the dotfiles on your system.
43
+ ifdef PNPM
44
+ pnpm run download
45
+ else
46
+ sh $(HOMEDIR)/bin/dotfiles download
47
+ endif
48
+
49
+ .PHONY: unpack
50
+ unpack: # @HELP Unpack the dotfiles on your system.
51
+ unpack: ## Unpack the dotfiles on your system.
52
+ ifdef PNPM
53
+ pnpm run unpack
54
+ else
55
+ sh $(HOMEDIR)/bin/dotfiles unpack
56
+ endif
57
+
58
+ .PHONY: clean
59
+ clean: # @HELP Removes any previous setup directories.
60
+ clean:
61
+ ifdef PNPM
62
+ pnpm run clean
63
+ else
64
+ sh $(HOMEDIR)/bin/dotfiles clean
65
+ endif
66
+
67
+ .PHONY: help
68
+ help: # @HELP Display the help menu.
69
+ help:
70
+ ifdef PNPM
71
+ pnpm run help
72
+ else
73
+ @grep -E '^.*: *# *@HELP' $(MAKEFILE_LIST) \
74
+ | awk ' \
75
+ BEGIN {FS = ": *# *@HELP"}; \
76
+ { printf " %-30s %s\n"$$1$$2 }; \
77
+ '
78
+ endif
@@ -0,0 +1,3 @@
1
+ export = backup;
2
+ declare function backup(src: any, dest: any): Promise<void>;
3
+ //# sourceMappingURL=backup.d.ts.map
@@ -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,16 @@
1
+ #!/usr/bin/env bash
2
+ # πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.457) - https://dotfiles.io
3
+ # Copyright (c) Sebastien Rousseau 2022. All rights reserved
4
+ # License: MIT
5
+
6
+ ## πŸ…²πŸ…ΎπŸ…ΌπŸ…ΏπŸ…ΈπŸ…»πŸ…΄ πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ - Compile dotfiles.
7
+
8
+ compile() {
9
+ pnpm run cp:shell &&
10
+ pnpm run cl:tmp &&
11
+ pnpm run cp:bin &&
12
+ pnpm run cp:make &&
13
+ pnpm run minify &&
14
+ pnpm run filesizes
15
+ }
16
+ compile
@@ -0,0 +1,5 @@
1
+ export const aliases: string[];
2
+ export const copies: string[];
3
+ export const dotfile: "https://registry.npmjs.org/@sebastienrousseau/dotfiles/-/dotfiles-0.2.457.tgz";
4
+ export const version: "dotfiles-0.2.457.tgz";
5
+ //# 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,8BAWE;AA1BF,sGAA+F;AAD/F,6CAAuC"}
@@ -0,0 +1,2 @@
1
+
2
+ const version="dotfiles-0.2.457.tgz";const dotfile="https://registry.npmjs.org/@sebastienrousseau/dotfiles/-/dotfiles-0.2.457.tgz";const aliases=[".bashrc","cacert.pem",".curlrc",".inputrc",".jshintrc",".profile",".tmux.conf",".vimrc",".wgetrc",".zshrc"];const copies=["shell/configurations/bash/bashrc","shell/configurations/curl/cacert.pem","shell/configurations/curl/curlrc","shell/configurations/input/inputrc","shell/configurations/jshint/jshintrc","shell/configurations/profile/profile","shell/configurations/tmux/tmux","shell/configurations/vim/vimrc","shell/configurations/wget/wgetrc","shell/configurations/zsh/zshrc",];module.exports={aliases,copies,dotfile,version};
@@ -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,kCAAkC;IAClC,sCAAsC;IACtC,kCAAkC;IAClC,oCAAoC;IACpC,sCAAsC;IACtC,sCAAsC;IACtC,gCAAgC;IAChC,gCAAgC;IAChC,kCAAkC;IAClC,gCAAgC;CACjC,CAAC;AAEF,MAAM,CAAC,OAAO,GAAG,EAAE,OAAO,SAAA,EAAE,MAAM,QAAA,EAAE,OAAO,SAAA,EAAE,OAAO,SAAA,EAAE,CAAC"}
@@ -0,0 +1,3 @@
1
+ export = copy;
2
+ declare function copy(src: any, dest: any): Promise<void>;
3
+ //# sourceMappingURL=copy.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"copy.d.ts","sourceRoot":"","sources":["../../bin/copy.js"],"names":[],"mappings":";AAOA,0DAUC"}
@@ -0,0 +1,2 @@
1
+
2
+ async function copy(src,dest){var fs=require('fs');var os=require("os");var path=require('path');var destPath=path.resolve(__dirname,os.homedir()+"/"+dest);var srcPath=path.resolve(__dirname,"../"+src);await fs.promises.copyFile(srcPath,destPath);};module.exports=copy;
@@ -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,21 @@
1
+ #!/usr/bin/env bash
2
+ # πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.457) - https://dotfiles.io
3
+ # Copyright (c) Sebastien Rousseau 2022. All rights reserved
4
+ # License: MIT
5
+
6
+ ## πŸ…²πŸ…ΎπŸ…ΏπŸ†ˆ πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ - Copy dotfiles.
7
+
8
+ copy() {
9
+ pnpm run cp:bash &&
10
+ pnpm run cp:cert &&
11
+ pnpm run cp:curl &&
12
+ pnpm run cp:dirs &&
13
+ pnpm run cp:inpt &&
14
+ pnpm run cp:jsht &&
15
+ pnpm run cp:prof &&
16
+ pnpm run cp:tmux &&
17
+ pnpm run cp:vimr &&
18
+ pnpm run cp:wget &&
19
+ pnpm run cp:zshr
20
+ }
21
+ copy
@@ -0,0 +1,3 @@
1
+ declare function _exports(): Promise<void>;
2
+ export = _exports;
3
+ //# sourceMappingURL=dotfiles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dotfiles.d.ts","sourceRoot":"","sources":["../../bin/dotfiles.js"],"names":[],"mappings":"AAoBiB,2CAwBhB"}
@@ -0,0 +1,4 @@
1
+
2
+ const copy=require('./copy.js');const transfer=require("./transfer.js");const backup=require("./backup.js");const download=require('./download.js');const unpack=require("./unpack.js");const{aliases,copies}=require('./constants.js');const sleep=(waitTimeInMs)=>new Promise((resolve)=>setTimeout(resolve,waitTimeInMs));var fs=require('fs');var os=require("os");var path=require('path');const dir=path.resolve(__dirname,os.homedir());module.exports=async function main(){let i=0
3
+ do{backup(aliases[i],aliases[i]);copy(copies[i],aliases[i]);i++}while(i<aliases.length&&i<copies.length);download();await sleep(2500);unpack();await sleep(2500);if(fs.existsSync(dir)){await transfer(dir);}
4
+ else{await fs.mkdirSync(dir);await sleep(2500);await transfer(dir);}};
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dotfiles.js","sourceRoot":"","sources":["../../bin/dotfiles.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAOA,IAAM,IAAI,GAAG,OAAO,CAAC,WAAW,CAAC,CAAC;AAClC,IAAM,QAAQ,GAAG,OAAO,CAAC,eAAe,CAAC,CAAC;AAC1C,IAAM,MAAM,GAAG,OAAO,CAAC,aAAa,CAAC,CAAC;AACtC,IAAM,QAAQ,GAAG,OAAO,CAAC,eAAe,CAAC,CAAC;AAC1C,IAAM,MAAM,GAAG,OAAO,CAAC,aAAa,CAAC,CAAC;AAChC,IAAA,KAAsB,OAAO,CAAC,gBAAgB,CAAC,EAA7C,OAAO,aAAA,EAAE,MAAM,YAA8B,CAAC;AACtD,IAAM,KAAK,GAAG,UAAC,YAAY,IAAK,OAAA,IAAI,OAAO,CAAC,UAAC,OAAO,IAAK,OAAA,UAAU,CAAC,OAAO,EAAE,YAAY,CAAC,EAAjC,CAAiC,CAAC,EAA3D,CAA2D,CAAC;AAC5F,IAAI,EAAE,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;AACvB,IAAI,EAAE,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;AACvB,IAAI,IAAI,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC;AAE3B,IAAM,GAAG,GAAC,IAAI,CAAC,OAAO,CAAC,SAAS,EAAE,EAAE,CAAC,OAAO,EAAE,CAAC,CAAC;AAEhD,MAAM,CAAC,OAAO,GAAG,SAAe,IAAI;;;;;;oBAE9B,CAAC,GAAG,CAAC,CAAA;oBAGT,GAAG;wBACD,MAAM,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC;wBAC/B,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC;wBAC5B,CAAC,EAAE,CAAA;qBACJ,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"}
@@ -0,0 +1,185 @@
1
+ #!/usr/bin/env bash
2
+ # πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.457) - https://dotfiles.io
3
+ # Copyright (c) Sebastien Rousseau 2022. All rights reserved
4
+ # License: MIT
5
+
6
+ ## πŸ†…πŸ…°πŸ†πŸ…ΈπŸ…°πŸ…±πŸ…»πŸ…΄πŸ†‚ - Set variables.
7
+ BACKUPDIR="${HOME}/dotfiles_backup" # Backup directory.
8
+ BIGreen='\033[1;92m' # Green color.
9
+ BIRed='\033[1;91m' # Red color.
10
+ DOTFILESDIR="${HOME}/.dotfiles" # Location of dotfiles.
11
+ DOWNLOADDIR="${HOME}/Downloads" # Download directory.
12
+ NC='\033[0m' # Reset/No Color
13
+ VERSION="0.2.457" # Dotfiles Version number.
14
+
15
+ ## πŸ…±πŸ…°πŸ…²πŸ…ΊπŸ†„πŸ…Ώ - Backup existing files.
16
+ backup() {
17
+ echo "${BIRed}❭${NC} Creating a backup directory '${BIGreen}${BACKUPDIR}${NC}'."
18
+ mkdir -p "${BACKUPDIR}"
19
+
20
+ echo "${BIRed}❭${NC} Backing up existing dotfiles in '${BIGreen}${BACKUPDIR}${NC}'..."
21
+ # File list (use trailing slash for directories)
22
+ FILES="
23
+ .alias
24
+ .bash_aliases
25
+ .bash_profile
26
+ .bash_prompt
27
+ .bashrc
28
+ .curlrc
29
+ .dir_colors
30
+ .exports
31
+ .functions
32
+ .gitattributes
33
+ .gitconfig
34
+ .gitignore
35
+ .gitmessage
36
+ .inputrc
37
+ .npmrc
38
+ .path
39
+ .profile
40
+ .tmux.conf
41
+ .vimrc
42
+ .wgetrc
43
+ .yarnrc
44
+ .zshenv
45
+ .zshrc
46
+ cacert.pem
47
+ "
48
+
49
+ for file in ${FILES}; do
50
+ # shellcheck disable=SC2292
51
+ if [ -e "${HOME}/${file}" ]; then
52
+ echo "${BIRed}❭${NC} Backing up ${BIGreen}${file}${NC}..."
53
+ cp -f "${HOME}"/"${file}" "${BACKUPDIR}"/"${file}"
54
+ fi
55
+ done
56
+ }
57
+
58
+ ## πŸ…²πŸ…»πŸ…΄πŸ…°πŸ…½ - Clean up.
59
+ clean() {
60
+ echo "${BIRed}❭${NC} Cleaning up..."
61
+ rm -rfi "${DOTFILESDIR}"
62
+ rm -rfi "${BACKUPDIR}"
63
+ rm -rfi "${DOWNLOADDIR}"/dotfiles*
64
+ }
65
+
66
+ ## πŸ…³πŸ…ΎπŸ††πŸ…½πŸ…»πŸ…ΎπŸ…°πŸ…³ - Download the dotfiles on your system.
67
+ download() {
68
+ echo "${BIRed}❭${NC} Downloading ${BIGreen}Dotfiles v${VERSION}${NC} on your system."
69
+ # wget https://github.com/sebastienrousseau/dotfiles/archive/refs/tags/v"${VERSION}".zip -N -O "${DOWNLOADDIR}/v${VERSION}.zip"
70
+ curl https://github.com/sebastienrousseau/dotfiles/archive/refs/tags/v"${VERSION}".zip -o "${DOWNLOADDIR}"/v"${VERSION}".zip
71
+ }
72
+
73
+ ## πŸ†„πŸ…½πŸ…ΏπŸ…°πŸ…²πŸ…Ί - Unpack the dotfiles on your system.
74
+ unpack() {
75
+ echo "${BIRed}❭${NC} Unpacking ${BIGreen}Dotfiles v${VERSION}${NC}."
76
+ unzip -qq -u "${DOWNLOADDIR}"/v"${VERSION}".zip -d "${DOWNLOADDIR}"
77
+ mv "${DOWNLOADDIR}/dotfiles-${VERSION}/shell/" "${DOTFILESDIR}"
78
+ rm "${DOWNLOADDIR}/v${VERSION}.zip"
79
+ }
80
+
81
+ ## πŸ…°πŸ†‚πŸ†‚πŸ…΄πŸ…ΌπŸ…±πŸ…»πŸ…΄ - Assemble the dotfiles on your system.
82
+ assemble() {
83
+ echo "${BIRed}❭${NC} Preparing the dotfiles on your system."
84
+ backup &&
85
+ download &&
86
+ unpack &&
87
+ copy
88
+ }
89
+
90
+ ## πŸ…²πŸ…ΎπŸ…ΏπŸ†ˆ - Copy the dotfiles on your system.
91
+ copy() {
92
+ # echo "${BIRed}❭${NC} Copying the Dotfiles on your system."
93
+ # cd "${DOTFILESDIR}" &&
94
+
95
+ echo "${BIRed}❭${NC} Copying the Dotfiles on your system."
96
+ echo "${BIRed}❭${NC} Copying ${BIGreen}.bashrc${NC}"
97
+ cp -f "${DOTFILESDIR}"/shell/configurations/bash/bashrc "${HOME}"/.bashrc &&
98
+ echo "${BIRed}❭${NC} Copying ${BIGreen}cacert.pem${NC}"
99
+ cp -f "${DOTFILESDIR}"/shell/configurations/curl/cacert.pem "${HOME}"/cacert.pem &&
100
+ echo "${BIRed}❭${NC} Copying ${BIGreen}.curlrc${NC}"
101
+ cp -f "${DOTFILESDIR}"/shell/configurations/curl/curlrc "${HOME}"/.curlrc &&
102
+ echo "${BIRed}❭${NC} Copying ${BIGreen}.jshintrc${NC}"
103
+ cp -f "${DOTFILESDIR}"/shell/configurations/jshint/jshintrc "${HOME}"/.jshintrc &&
104
+ echo "${BIRed}❭${NC} Copying ${BIGreen}.profile${NC}"
105
+ cp -f "${DOTFILESDIR}"/shell/configurations/profile/profile "${HOME}"/.profile &&
106
+ echo "${BIRed}❭${NC} Copying ${BIGreen}.tmux.conf${NC}"
107
+ cp -f "${DOTFILESDIR}"/shell/configurations/tmux/tmux "${HOME}"/.tmux.conf &&
108
+ echo "${BIRed}❭${NC} Copying ${BIGreen}.vimrc${NC}"
109
+ cp -f "${DOTFILESDIR}"/shell/configurations/vim/vimrc "${HOME}"/.vimrc &&
110
+ echo "${BIRed}❭${NC} Copying ${BIGreen}.wgetrc${NC}"
111
+ cp -f "${DOTFILESDIR}"/shell/configurations/wget/wgetrc "${HOME}"/.wgetrc &&
112
+ echo "${BIRed}❭${NC} Copying ${BIGreen}.zshrc${NC}"
113
+ cp -f "${DOTFILESDIR}"/shell/configurations/zsh/zshrc "${HOME}"/.zshrc
114
+
115
+ echo "${BIRed}❭${NC} Cleaning up installation files."
116
+ rm -Rf "${DOTFILESDIR}"/shell/configurations/bash &&
117
+ rm -Rf "${DOTFILESDIR}"/shell/configurations/curl &&
118
+ rm -Rf "${DOTFILESDIR}"/shell/configurations/jshint &&
119
+ rm -Rf "${DOTFILESDIR}"/shell/configurations/profile &&
120
+ rm -Rf "${DOTFILESDIR}"/shell/configurations/tmux &&
121
+ rm -Rf "${DOTFILESDIR}"/shell/configurations/vim &&
122
+ rm -Rf "${DOTFILESDIR}"/shell/configurations/wget &&
123
+ rm -Rf "${DOTFILESDIR}"/shell/configurations/zsh &&
124
+
125
+ echo "${BIRed}❭${NC} ${BIGreen}Dotfiles v${VERSION}${NC} has been installed on your system."
126
+ }
127
+
128
+ ## πŸ…·πŸ…΄πŸ…»πŸ…Ώ πŸ…ΌπŸ…΄πŸ…½πŸ†„ - Display help menu.
129
+ help() {
130
+ clear
131
+ cat <<EOF
132
+
133
+ β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
134
+ β”‚ Dotfiles (v${VERSION}) β”‚
135
+ β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
136
+ β”‚ Simply designed to fit your shell life. β”‚
137
+ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
138
+
139
+ USAGE:
140
+
141
+ dotfiles [COMMAND]
142
+
143
+ COMMANDS:
144
+
145
+ backup - Backup existing dotfiles from the '${HOME}' directory
146
+ clean - Removes any previous setup directories
147
+ copy - Copy the new dotfiles files to your '${HOME}' directory
148
+ download - Download the latest Dotfiles (v${VERSION})
149
+ assemble - Run the full installation process
150
+ unpack - Unpack the Dotfiles
151
+ help - Show the help menu
152
+
153
+ DOCUMENTATION:
154
+ website - https://dotfiles.io
155
+
156
+ LICENSE:
157
+ This project is licensed under the MIT License.
158
+
159
+ EOF
160
+ }
161
+
162
+ # shellcheck disable=SC2292
163
+ if [ "$1" = "backup" ]; then
164
+ echo "${BIRed}❭${NC} Backing up.${NC}"
165
+ backup
166
+ elif [ "$1" = "clean" ]; then
167
+ echo "${BIRed}❭${NC} Removes any previous setup directories.${NC}"
168
+ clean
169
+ elif [ "$1" = "copy" ]; then
170
+ echo "${BIRed}❭${NC} Copying dotfiles.${NC}"
171
+ copy
172
+ elif [ "$1" = "download" ]; then
173
+ echo "${BIRed}❭${NC} Downloading ${BIGreen}Dotfiles v${VERSION}${NC}."
174
+ download
175
+ elif [ "$1" = "help" ]; then
176
+ help
177
+ elif [ "$1" = "assemble" ]; then
178
+ echo "${BIRed}❭${NC} Installing ${BIGreen}Dotfiles v${VERSION}${NC}."
179
+ assemble
180
+ elif [ "$1" = "unpack" ]; then
181
+ echo "${BIRed}❭${NC} Unpacking ${BIGreen}Dotfiles v${VERSION}${NC}."
182
+ unpack
183
+ else
184
+ help
185
+ fi
@@ -0,0 +1,3 @@
1
+ export = download;
2
+ declare function download(): Promise<void>;
3
+ //# sourceMappingURL=download.d.ts.map
@@ -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,GAAI,OAAO,CAAC,MAAM,CAAC,UAAnB,CAAoB;YAChC,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"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
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,3 @@
1
+ export = transfer;
2
+ declare function transfer(dest: any): Promise<void>;
3
+ //# sourceMappingURL=transfer.d.ts.map
@@ -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,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,GAAI,IAAI,CAAC,OAAO,CAAC,SAAS,EAAE,GAAG,GAAG,IAAI,GAAG,YAAY,CAAC,CAAC;oBAC/D,GAAG,GAAI,IAAI,CAAC,OAAO,CAAC,SAAS,EAAE,GAAG,GAAG,IAAI,GAAG,gBAAgB,CAAC,CAAC;oBAC9D,SAAS,GAAI,IAAI,CAAC,OAAO,CAAC,SAAS,EAAE,GAAG,GAAG,IAAI,GAAG,0BAA0B,CAAC,CAAC;oBAC9E,IAAI,GAAI,IAAI,CAAC,OAAO,CAAC,SAAS,EAAE,GAAG,GAAG,IAAI,GAAG,qBAAqB,CAAC,CAAC;yBAGtE,EAAE,CAAC,UAAU,CAAC,QAAQ,CAAC,EAAvB,cAAuB;oBACzB,WAAM,EAAE,CAAC,UAAU,CAAC,QAAQ,CAAC,EAAA;;oBAA7B,SAA6B,CAAC;;wBAIhC,WAAM,EAAE,CAAC,IAAI,CAAC,MAAM,EAAE,QAAQ,CAAC,EAAA;;oBAA/B,SAA+B,CAAC;oBAGhC,WAAM,EAAE,CAAC,UAAU,CAAC,GAAG,CAAC,EAAA;;oBAAxB,SAAwB,CAAC;oBACzB,WAAM,EAAE,CAAC,UAAU,CAAC,SAAS,CAAC,EAAA;;oBAA9B,SAA8B,CAAC;oBAC/B,WAAM,EAAE,CAAC,UAAU,CAAC,IAAI,CAAC,EAAA;;oBAAzB,SAAyB,CAAC;;;;;CAE3B;AAED,MAAM,CAAC,OAAO,GAAG,QAAQ,CAAC"}
@@ -0,0 +1,3 @@
1
+ export = unpack;
2
+ declare function unpack(): Promise<void>;
3
+ //# sourceMappingURL=unpack.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"unpack.d.ts","sourceRoot":"","sources":["../../bin/unpack.js"],"names":[],"mappings":";AAOA,yCAOC"}
@@ -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"}