@sebastienrousseau/dotfiles 0.2.461 → 0.2.463

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 (152) hide show
  1. package/README.md +116 -92
  2. package/dist/Makefile +3 -3
  3. package/dist/bin/backup.js +3 -2
  4. package/dist/bin/backup.js.map +1 -1
  5. package/dist/bin/constants.d.ts +2 -2
  6. package/dist/bin/constants.js +1 -1
  7. package/dist/bin/copy.js +2 -1
  8. package/dist/bin/copy.js.map +1 -1
  9. package/dist/bin/dotfiles.js +1 -1
  10. package/dist/bin/dotfiles.js.map +1 -1
  11. package/dist/bin/download.d.ts +2 -2
  12. package/dist/bin/download.d.ts.map +1 -1
  13. package/dist/bin/download.js +2 -1
  14. package/dist/bin/download.js.map +1 -1
  15. package/dist/bin/index.js +1 -1
  16. package/dist/bin/transfer.js +1 -1
  17. package/dist/bin/unpack.js +1 -1
  18. package/dist/filesizes.txt +354 -288
  19. package/dist/lib/aliases/archives/README.md +84 -0
  20. package/dist/lib/aliases/archives/archives.aliases.sh +86 -0
  21. package/dist/lib/aliases/cd/README.md +46 -0
  22. package/dist/lib/aliases/cd/cd.aliases.sh +42 -0
  23. package/dist/lib/aliases/chmod/README.md +70 -0
  24. package/dist/lib/aliases/chmod/chmod.aliases.sh +73 -0
  25. package/dist/lib/aliases/clear/README.md +38 -0
  26. package/dist/lib/aliases/clear/clear.aliases.sh +40 -0
  27. package/dist/lib/aliases/configuration/README.md +46 -0
  28. package/dist/lib/aliases/configuration/configuration.aliases.sh +43 -0
  29. package/dist/lib/aliases/default/README.md +62 -0
  30. package/dist/lib/aliases/default/default.aliases.sh +60 -173
  31. package/dist/lib/aliases/dig/README.md +50 -0
  32. package/dist/lib/aliases/dig/dig.aliases.sh +46 -0
  33. package/dist/lib/aliases/du/README.md +35 -0
  34. package/dist/lib/aliases/du/du.aliases.sh +37 -0
  35. package/dist/lib/aliases/editor/README.md +47 -0
  36. package/dist/lib/aliases/editor/editor.aliases.sh +52 -0
  37. package/dist/lib/aliases/find/README.md +29 -0
  38. package/dist/lib/aliases/find/find.aliases.sh +34 -0
  39. package/dist/lib/aliases/gcloud/README.md +148 -0
  40. package/dist/lib/aliases/gcloud/gcloud.aliases.sh +144 -120
  41. package/dist/lib/aliases/git/git.aliases.sh +134 -524
  42. package/dist/lib/aliases/gnu/gnucoreutils-aliases.sh +116 -0
  43. package/dist/lib/aliases/heroku/heroku.aliases.sh +289 -1028
  44. package/dist/lib/aliases/interactive/interactive.aliases.sh +14 -0
  45. package/dist/lib/aliases/jekyll/jekyll.aliases.sh +10 -47
  46. package/dist/lib/aliases/list/list.aliases.sh +35 -0
  47. package/dist/lib/aliases/make/make.aliases.sh +15 -0
  48. package/dist/lib/aliases/mkdir/mkdir.aliases.sh +13 -0
  49. package/dist/lib/aliases/npm/npm.aliases.sh +24 -0
  50. package/dist/lib/aliases/pnpm/pnpm.aliases.sh +37 -38
  51. package/dist/lib/aliases/ps/ps.aliases.sh +12 -0
  52. package/dist/lib/aliases/rsync/rsync.aliases.sh +11 -0
  53. package/dist/lib/aliases/rust/rust.aliases.sh +50 -0
  54. package/dist/lib/aliases/subversion/subversion.aliases.sh +41 -119
  55. package/dist/lib/aliases/sudo/sudo.aliases.sh +11 -0
  56. package/dist/lib/aliases/tmux/tmux.aliases.sh +12 -10
  57. package/dist/lib/aliases/update/update.aliases.sh +38 -0
  58. package/dist/lib/aliases/uuid/uuid.aliases.sh +10 -0
  59. package/dist/lib/aliases/wget/wget.aliases.sh +13 -0
  60. package/dist/lib/aliases.sh +10 -4
  61. package/dist/lib/configurations/bash/bashrc +4 -3
  62. package/dist/lib/configurations/curl/curlrc +2 -2
  63. package/dist/lib/configurations/default/color.sh +2 -2
  64. package/dist/lib/configurations/default/constants.sh +9 -9
  65. package/dist/lib/configurations/default/editor.sh +2 -2
  66. package/dist/lib/configurations/default/prompt.sh +2 -2
  67. package/dist/lib/configurations/input/inputrc +2 -2
  68. package/dist/lib/configurations/nano/nanorc +2 -2
  69. package/dist/lib/configurations/profile/profile +2 -2
  70. package/dist/lib/configurations/tmux/default +2 -2
  71. package/dist/lib/configurations/tmux/display +2 -2
  72. package/dist/lib/configurations/tmux/linux +2 -2
  73. package/dist/lib/configurations/tmux/navigation +2 -2
  74. package/dist/lib/configurations/tmux/panes +2 -2
  75. package/dist/lib/configurations/tmux/theme +3 -3
  76. package/dist/lib/configurations/tmux/tmux +2 -2
  77. package/dist/lib/configurations/tmux/vi +5 -2
  78. package/dist/lib/configurations/vim/vimrc +1 -1
  79. package/dist/lib/configurations/wget/wgetrc +2 -2
  80. package/dist/lib/configurations/zsh/zshrc +6 -5
  81. package/dist/lib/configurations.sh +6 -3
  82. package/dist/lib/functions/cdls.sh +3 -10
  83. package/dist/lib/functions/changediskpwd.tmp +3 -3
  84. package/dist/lib/functions/code.tmp +3 -3
  85. package/dist/lib/functions/countdown.tmp +2 -2
  86. package/dist/lib/functions/curlheader.sh +5 -5
  87. package/dist/lib/functions/curltime.sh +6 -6
  88. package/dist/lib/functions/encode64.sh +2 -2
  89. package/dist/lib/functions/environment.sh +2 -2
  90. package/dist/lib/functions/extract.sh +2 -2
  91. package/dist/lib/functions/genpwd.sh +2 -2
  92. package/dist/lib/functions/goto.sh +2 -2
  93. package/dist/lib/functions/hidehiddenfiles.sh +2 -2
  94. package/dist/lib/functions/history-all.tmp +2 -2
  95. package/dist/lib/functions/hostinfo.sh +2 -2
  96. package/dist/lib/functions/hstats.sh +2 -2
  97. package/dist/lib/functions/httpdebug.sh +2 -2
  98. package/dist/lib/functions/keygen.sh +2 -2
  99. package/dist/lib/functions/last.sh +2 -2
  100. package/dist/lib/functions/logout.sh +2 -2
  101. package/dist/lib/functions/lowercase.sh +2 -2
  102. package/dist/lib/functions/macos.sh +2 -2
  103. package/dist/lib/functions/matrix.sh +5 -5
  104. package/dist/lib/functions/{mcd.sh → mcd.tmp} +2 -2
  105. package/dist/lib/functions/mount_read_only.sh +2 -2
  106. package/dist/lib/functions/myproc.sh +2 -2
  107. package/dist/lib/functions/prependpath.sh +2 -2
  108. package/dist/lib/functions/print.tmp +2 -2
  109. package/dist/lib/functions/ql.sh +2 -2
  110. package/dist/lib/functions/rd.sh +2 -2
  111. package/dist/lib/functions/remove_disk.sh +2 -2
  112. package/dist/lib/functions/ren.sh +2 -2
  113. package/dist/lib/functions/rm.tmp +2 -2
  114. package/dist/lib/functions/rps.tmp +2 -2
  115. package/dist/lib/functions/showhiddenfiles.sh +2 -2
  116. package/dist/lib/functions/size.sh +2 -2
  117. package/dist/lib/functions/stopwatch.sh +2 -2
  118. package/dist/lib/functions/trash.tmp +2 -2
  119. package/dist/lib/functions/tree.tmp +2 -2
  120. package/dist/lib/functions/uppercase.sh +2 -2
  121. package/dist/lib/functions/uuidgen.tmp +1 -1
  122. package/dist/lib/functions/view-source.sh +2 -2
  123. package/dist/lib/functions/vscode.sh +2 -2
  124. package/dist/lib/functions/whoisport.sh +2 -2
  125. package/dist/lib/functions/zipf.sh +2 -2
  126. package/dist/lib/functions.sh +6 -3
  127. package/dist/lib/history.sh +24 -21
  128. package/dist/lib/paths/ant/ant.paths.sh +4 -4
  129. package/dist/lib/paths/default/default.paths.sh +2 -2
  130. package/dist/lib/paths/homebrew/homebrew.paths.sh +2 -2
  131. package/dist/lib/paths/java/java.paths.sh +5 -4
  132. package/dist/lib/paths/maven/maven.paths.sh +6 -5
  133. package/dist/lib/paths/node/node.paths.sh +2 -2
  134. package/dist/lib/paths/nvm/nvm.paths.sh +2 -2
  135. package/dist/lib/paths/pnpm/pnpm.paths.sh +2 -2
  136. package/dist/lib/paths/python/python.paths.sh +21 -16
  137. package/dist/lib/paths/ruby/ruby.paths.sh +2 -2
  138. package/dist/lib/paths/tmux/tmux.paths.sh +4 -4
  139. package/dist/lib/paths.sh +6 -3
  140. package/dist/scripts/backup.sh +2 -2
  141. package/dist/scripts/banner.sh +2 -2
  142. package/dist/scripts/build.sh +2 -2
  143. package/dist/scripts/clean.sh +2 -2
  144. package/dist/scripts/compile.sh +2 -2
  145. package/dist/scripts/copy.sh +2 -2
  146. package/dist/scripts/dotfiles.sh +2 -2
  147. package/dist/scripts/download.sh +2 -2
  148. package/dist/scripts/help.sh +2 -2
  149. package/dist/scripts/ssh.sh +54 -0
  150. package/dist/scripts/unpack.sh +2 -2
  151. package/package.json +7 -7
  152. package/dist/lib/exit.sh +0 -10
package/README.md CHANGED
@@ -1,19 +1,19 @@
1
1
  # Dotfiles
2
2
 
3
- [![Banner representing the Dotfiles Library][logo]][website]
3
+ [![Banner representing the Dotfiles Library][logo]][website-url]
4
4
 
5
5
  [![Codacy][codacy-grade]][codacy-url]
6
6
  [![Contributors][contributors-shield]][contributors-url]
7
7
  [![Forks][forks-shield]][forks-url]
8
8
  [![License][license]][license-url]
9
- [![Love][love]][website]
9
+ [![Love][love]][website-url]
10
10
 
11
- **[Website][website] • [Documentation][github]
12
- • [Report Bug][issues]
13
- • [Request Feature][issues]
14
- • [Contributing Guidelines][contributing]**
11
+ **[Website][website-url] • [Documentation][github-url]
12
+ • [Report Bug][issues-url]
13
+ • [Request Feature][issues-url]
14
+ • [Contributing Guidelines][contributing-url]**
15
15
 
16
- ## 👋 Welcome to Dotfiles (v0.2.461)
16
+ ## 👋 Welcome to Dotfiles (v0.2.463)
17
17
 
18
18
  ### Simply designed to fit your shell life
19
19
 
@@ -21,8 +21,8 @@ Dotfiles are a set of macOS, Linux and Windows configuration files. They are
21
21
  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
- [![Getting Started][getting_started]][getting-started]
25
- [![Download Dotfiles v0.2.461][download_button]][download]
24
+ [![Getting Started][getting_started]][getting-started-url]
25
+ [![Download Dotfiles v0.2.463][download_button]][download-url]
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
@@ -39,8 +39,8 @@ and centralized way to configure your environment and applications.
39
39
 
40
40
  To read the documentation for Dotfiles, please visit:
41
41
 
42
- - [Dotfiles website][website]
43
- - [Dotfiles Docs GitHub repository][docs]
42
+ - [Dotfiles website][website-url]
43
+ - [Dotfiles Docs GitHub repository][docs-url]
44
44
 
45
45
  ![divider][divider]
46
46
 
@@ -75,7 +75,9 @@ yet been able to test it. If you have any issues, please let us know.
75
75
 
76
76
  - macOS 10.15 or later
77
77
  - Windows 10 or later
78
- - A Debian based distribution (Debian, Ubuntu, PoP!_OS, Zorin OS, Q4OS, Kali Linux, Devuan, Deepin, etc.)
78
+ - A Debian based distribution ([Debian][debian-url], [Ubuntu][ubuntu-url],
79
+ [PoP!_OS][pop-url], [Zorin OS][zorin-url], [Q4OS][q4-url],
80
+ [Kali Linux][kali-url], [Devuan][devuan-url], [Deepin][deepin-url], etc.)
79
81
 
80
82
  ![divider][divider]
81
83
 
@@ -83,25 +85,28 @@ yet been able to test it. If you have any issues, please let us know.
83
85
 
84
86
  The following programs must be installed on your system to install Dotfiles:
85
87
 
86
- - [**Bash**][bash] - a shell, or command language interpreter, for the GNU
88
+ - [**Bash**][bash-url] - a shell, or command language interpreter, for the GNU
87
89
  operating system.
88
- - Or [**Zsh**][zsh] - a shell designed for interactive use, although it is also a
89
- powerful scripting language.
90
- - [**Git**][git] - a free and open source distributed version control system
91
- designed to handle everything from small to very large projects with speed and efficiency.
92
- - [**Curl**][curl] - a command line tool for transferring data with URL syntax.
93
- - [**Wget**][wget] - a free software package for retrieving files using HTTP,
94
- HTTPS and FTP, the most widely-used Internet protocols.
95
- - [**Make**][make] - a tool which controls the generation of executables and other
96
- non-source files of a program from the program's source files.
97
- - [**Shell**][shell] - a shell command line interpreter program for Unix-like
98
- operating systems.
99
- - [**PnPM**][pnpm] - a package manager for JavaScript and Node.js. It is fast,
100
- disk space efficient and reliable.
90
+ - Or [**Zsh**][zsh-url] - a shell designed for interactive use, although it is
91
+ also a powerful scripting language.
92
+ - [**Git**][git-url] - a free and open source distributed version control system
93
+ designed to handle everything from small to very large projects with speed and
94
+ efficiency.
95
+ - [**Curl**][curl-url] - a command line tool for transferring data with URL
96
+ syntax.
97
+ - [**Wget**][wget-url] - a free software package for retrieving files using
98
+ HTTP, HTTPS and FTP, the most widely-used Internet protocols.
99
+ - [**Make**][make-url] - a tool which controls the generation of executables and
100
+ other non-source files of a program from the program's source files.
101
+ - [**Shell**][shell-url] - a shell command line interpreter program for
102
+ Unix-like operating systems.
103
+ - [**PnPM**][pnpm-url] - a package manager for JavaScript and Node.js. It is
104
+ fast, disk space efficient and reliable.
101
105
 
102
106
  #### Font
103
107
 
104
- We recommend using a font such as `Roboto Mono for Powerline` for terminal and vscode editor.
108
+ We recommend using a font such as `Roboto Mono for Powerline` for terminal and
109
+ vscode editor.
105
110
 
106
111
  On macOS, you can install the font using the following command:
107
112
 
@@ -110,7 +115,7 @@ brew tap homebrew/cask-fonts
110
115
  ```
111
116
 
112
117
  ```bash
113
- brew cask install font-roboto-mono-for-powerline
118
+ brew install --cask font-roboto-mono-for-powerline
114
119
  ```
115
120
 
116
121
  On Linux, you can install the font using the following command:
@@ -121,14 +126,14 @@ sudo apt install fonts-roboto-mono-for-powerline
121
126
 
122
127
  ### 1️⃣ Download Dotfiles
123
128
 
124
- You can download the latest version (v0.2.461) with the following options:
129
+ You can download the latest version (v0.2.463) with the following options:
125
130
 
126
- - [**Manual download**][releases] - **The easiest way to install Dotfiles.**
127
- - [**Install with PnPM**](https://www.npmjs.com/package/@sebastienrousseau/dotfiles)
131
+ - [**Manual download**][releases-url] - **The easiest way to install Dotfiles.**
132
+ - [**Install with PnPM**][package-url]
128
133
  `pnpm i @sebastienrousseau/dotfiles`.
129
- - [**Install with Npm**](https://www.npmjs.com/package/@sebastienrousseau/dotfiles)
134
+ - [**Install with Npm**][package-url]
130
135
  `npm install @sebastienrousseau/dotfiles`.
131
- - [**Install with Yarn**](https://yarnpkg.com/package/@sebastienrousseau/dotfiles)
136
+ - [**Install with Yarn**][package-url]
132
137
  `yarn add @sebastienrousseau/dotfiles`.
133
138
  - **Clone the main repository** to get all source files including build scripts:
134
139
  `git clone https://github.com/sebastienrousseau/dotfiles.git`. This will clone
@@ -170,7 +175,8 @@ The backup files are the following:
170
175
  cacert.pem
171
176
  ```
172
177
 
173
- It is always a good idea to backup as there might be situations in which you could be required to restore your previous installation.
178
+ It is always a good idea to backup as there might be situations in which you
179
+ could be required to restore your previous installation.
174
180
 
175
181
  ### 3️⃣ Try it out and let us know what you think
176
182
 
@@ -183,12 +189,13 @@ install the latest version of the dotfiles and will automatically backup
183
189
  any existing dotfiles you may have into a backup directory
184
190
  `$HOME/dotfiles_backup`.
185
191
 
186
- The installer will check if you have PnPM installed to switch to the PnPM installation method. If not, it will fallback to equivalent shell scripts.
192
+ The installer will check if you have PnPM installed to switch to the PnPM
193
+ installation method. If not, it will fallback to equivalent shell scripts.
187
194
 
188
195
  Switch to the `dist` directory and run:
189
196
 
190
197
  ```bash
191
- make assemble
198
+ make build
192
199
  ```
193
200
 
194
201
  You can also just check the installer options available, by simply running:
@@ -199,8 +206,8 @@ make help
199
206
 
200
207
  #### Using Node.js (advanced)
201
208
 
202
- If you want to install Dotfiles using Node.js, you can run the following command
203
- in the `dist` directory located in your
209
+ If you want to install Dotfiles using Node.js, you can run the following
210
+ command in the `dist` directory located in your
204
211
  `node_modules/@sebastienrousseau/dotfiles/dist` directory:
205
212
 
206
213
  ```bash
@@ -228,23 +235,24 @@ backup any existing dotfiles you may have into a backup directory
228
235
 
229
236
  ### Post installation
230
237
 
231
- Following the installation, you can verify that the dotfiles package is installed
232
- in the following directory `$HOME/dotfiles_backup`.
238
+ Following the installation, you can verify that the dotfiles package is
239
+ installed in the following directory `$HOME/dotfiles_backup`.
233
240
 
234
241
  Just quit your terminal and restart it. If the installation is successful, you
235
242
  should be able to see a new interface of your terminal and be able to start
236
243
  using the dotfiles aliases and other configurations.
237
244
 
238
- Please refer to the [documentation][docs] for more information.
245
+ Please refer to the [documentation][docs-url] for more information.
239
246
 
240
247
  ![divider][divider]
241
248
 
242
249
  ### 4️⃣ What's included
243
250
 
244
- Dotfiles contains core elements that are used to configure your shell, and other components catered for your environment setup.
251
+ Dotfiles contains core elements that are used to configure your shell, and
252
+ other components catered for your environment setup.
245
253
 
246
- Within the download you'll find all the Dotfiles source files grouped within the
247
- `dist` folder.
254
+ Within the download you'll find all the Dotfiles source files grouped within
255
+ the `dist` folder.
248
256
 
249
257
  You'll see something like this:
250
258
 
@@ -436,33 +444,31 @@ You'll see something like this:
436
444
 
437
445
  ## 🔗 Releases
438
446
 
439
- Releases are available on the [GitHub releases page][releases].
447
+ Releases are available on the [GitHub releases page][releases-url].
440
448
 
441
449
  ![divider][divider]
442
450
 
443
451
  ## 🚥 Semantic versioning policy
444
452
 
445
453
  For transparency into our release cycle and in striving to maintain backward
446
- compatibility, `Dotfiles` follows [Semantic Versioning][semver-url]
447
- (SemVer).
454
+ compatibility, `Dotfiles` follows [Semantic Versioning][semver-url].
448
455
 
449
456
  ![divider][divider]
450
457
 
451
458
  ## History
452
459
 
453
- - See [Dotfiles Release](https://github.com/sebastienrousseau/dotfiles/releases)
454
- list.
460
+ - See [Dotfiles Release][releases-url] for a list of changes.
455
461
 
456
462
  ## ✅ Changelog
457
463
 
458
- - [GitHub Releases](https://github.com/sebastienrousseau/dotfiles/releases)
464
+ - [GitHub Releases][releases-url] are used for changelogs.
459
465
 
460
466
  ![divider][divider]
461
467
 
462
468
  ## 📖 Code of Conduct
463
469
 
464
470
  We are committed to preserving and fostering a diverse, welcoming community.
465
- Please read our [Code of Conduct](https://github.com/sebastienrousseau/dotfiles/blob/master/.github/CODE-OF-CONDUCT.md).
471
+ Please read our [Code of Conduct][code-of-conduct-url].
466
472
 
467
473
  ![divider][divider]
468
474
 
@@ -477,66 +483,84 @@ Please read our [Code of Conduct](https://github.com/sebastienrousseau/dotfiles/
477
483
  ## ❤️ Contributing
478
484
 
479
485
  Thank you for using Dotfiles! If you like the library, it would be
480
- great if you can give it a star ⭐ on [GitHub][github].
486
+ great if you can give it a star ⭐ on [Github][github-url].
481
487
 
482
488
  There are also many ways in which you can participate in this project, for
483
489
  example:
484
490
 
485
- - [Submit bugs and feature requests](https://github.com/sebastienrousseau/dotfiles/issues/new), and help us verify as they are checked in,
486
- - Review [source code changes](https://github.com/sebastienrousseau/dotfiles/pulls), and help us improve our code quality,
487
- - Review the [documentation](https://github.com/sebastienrousseau/dotfiles/docs) and make pull requests for anything from typos to additional and new content.
491
+ - [Submit bugs and feature requests][issues-url], and help us verify as they are
492
+ checked in,
493
+ - Review [source code changes][download-url], and help us improve our code quality,
494
+ - Review the [documentation][docs-url] and make pull requests for anything from
495
+ typos to additional and new content.
488
496
 
489
497
  Please read carefully through our
490
- [Contributing Guidelines][contributing]
498
+ [Contributing Guidelines][contributing-url]
491
499
  for further details on the process for submitting pull requests to us.
492
500
 
493
501
  ![divider][divider]
494
502
 
495
503
  ## 🥂 License
496
504
 
497
- This project is licensed under the MIT License - see the [LICENSE](https://github.com/sebastienrousseau/dotfiles/blob/master/LICENSE) file for details.
505
+ This project is licensed under the [MIT License][license-url] file for details.
498
506
 
499
- [![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Freedia%2Fdotfiles.svg?type=large)](https://app.fossa.io/projects/git%2Bgithub.com%2Freedia%2Fdotfiles?ref=badge_large)
507
+ [![FOSSA Status][fossa]][fossa-url]
500
508
 
501
509
  ![divider][divider]
502
510
 
503
511
  ## 🏢 Acknowledgements
504
512
 
505
- [Dotfiles][website] is beautifully crafted by these people and a
506
- bunch of awesome [contributors](https://github.com/sebastienrousseau/dotfiles/graphs/contributors)
507
-
508
- | [![Sebastien Rousseau](https://avatars0.githubusercontent.com/u/1394998?s=117)](http://sebastienrousseau.co.uk) | [![Graham Colgate](https://avatars0.githubusercontent.com/u/35816108?s=117)](https://github.com/gramtech) |
509
- | :-------------------------------------------------------------------------------------------------------------: | :-------------------------------------------------------------------------------------------------------------: |
510
- | [Sebastien Rousseau](https://github.com/sebastienrousseau) | [Graham Colgate](https://github.com/gramtech) |
511
-
512
- [bash]: https://www.gnu.org/software/bash/
513
- [contributing]: https://github.com/sebastienrousseau/dotfiles/blob/master/.github/CONTRIBUTING.md
514
- [curl]: https://curl.se/
515
- [docs]: https://github.com/sebastienrousseau/dotfiles/docs
516
- [download]: https://github.com/sebastienrousseau/dotfiles/archive/refs/tags/v0.2.461.tar.gz
517
- [getting-started]: https://github.com/sebastienrousseau/dotfiles#getting-started
518
- [git]: https://git-scm.com/
519
- [github]: https://github.com/sebastienrousseau/dotfiles
520
- [issues]: https://github.com/sebastienrousseau/dotfiles/issues
521
- [make]: https://www.gnu.org/software/make/
522
- [pnpm]: https://pnpm.io
523
- [releases]: https://github.com/sebastienrousseau/dotfiles/releases
524
- [shell]: https://www.gnu.org/software/shell/
525
- [website]: https://dotfiles.io
526
- [wget]: https://www.gnu.org/software/wget/
527
- [zsh]: https://www.zsh.org/
528
-
529
- [logo]: https://github.com/sebastienrousseau/dotfiles/raw/master/assets/dotfiles.svg
530
- [download_button]: https://github.com/sebastienrousseau/dotfiles/raw/master/assets/button-secondary.svg
531
- [getting_started]: https://github.com/sebastienrousseau/dotfiles/raw/master/assets/button-primary.svg
532
- [codacy-grade]: https://img.shields.io/codacy/grade/634cfc4de08e492ebcbb341631066241?style=for-the-badge
513
+ [Dotfiles][website-url] is beautifully crafted by these people and a bunch of
514
+ awesome [contributors][contributors-url]
515
+
516
+ | [![sr]][sr-url] | [![gr]][gr-url] |
517
+ |:-----------------:|:------------------------------------:|
518
+ | [Sebastien Rousseau][sr-url]| [Graham Colgate][gr-url] |
519
+
520
+ [bash-url]: https://www.gnu.org/software/bash/
533
521
  [codacy-url]:https://www.codacy.com/gh/sebastienrousseau/dotfiles/dashboard
534
- [contributors-shield]: https://img.shields.io/github/contributors/sebastienrousseau/dotfiles.svg?style=for-the-badge
535
- [contributors-url]: https://github.com/sebastienrousseau/dotfiles/graphs/contributors
536
- [divider]: https://raw.githubusercontent.com/sebastienrousseau/dotfiles/master/assets/divider.svg "divider"
537
- [forks-shield]: https://img.shields.io/github/forks/sebastienrousseau/dotfiles.svg?style=for-the-badge
522
+ [code-of-conduct-url]: https://github.com/sebastienrousseau/dotfiles/blob/master/.github/CODE-OF-CONDUCT.md
523
+ [contributing-url]: https://github.com/sebastienrousseau/dotfiles/blob/master/.github/CONTRIBUTING.md
524
+ [curl-url]: https://curl.se/
525
+ [debian-url]: https://www.debian.org/
526
+ [deepin-url]: https://www.deepin.org/en/
527
+ [devuan-url]: https://devuan.org/
528
+ [docs-url]: https://github.com/sebastienrousseau/dotfiles/docs
529
+ [download-url]: https://github.com/sebastienrousseau/dotfiles/archive/refs/tags/v0.2.463.tar.gz
538
530
  [forks-url]: https://github.com/sebastienrousseau/dotfiles/network/members
531
+ [fossa-url]: https://app.fossa.io/projects/git%2Bgithub.com%2Freedia%2Fdotfiles?ref=badge_large
532
+ [getting-started-url]: https://github.com/sebastienrousseau/dotfiles#getting-started
533
+ [git-url]: https://git-scm.com/
534
+ [github-url]: https://github.com/sebastienrousseau/dotfiles
535
+ [gr-url]: https://github.com/gramtech
536
+ [issues-url]: https://github.com/sebastienrousseau/dotfiles/issues
537
+ [kali-url]: https://www.kali.org/
539
538
  [license-url]: https://opensource.org/licenses/MIT
540
- [license]: https://img.shields.io/badge/License-MIT-green.svg?style=for-the-badge\&color=ff69b4
541
- [love]: https://github.com/sebastienrousseau/dotfiles/raw/master/assets/made-with-love.svg
539
+ [make-url]: https://www.gnu.org/software/make/
540
+ [package-url]:https://www.npmjs.com/package/@sebastienrousseau/dotfiles
541
+ [pnpm-url]: https://pnpm.io
542
+ [pop-url]: https://pop.system76.com/
543
+ [q4-url]: https://q4os.org/
544
+ [releases-url]: https://github.com/sebastienrousseau/dotfiles/releases
542
545
  [semver-url]: http://semver.org/
546
+ [shell-url]: https://www.gnu.org/software/shell/
547
+ [sr-url]: https://github.com/sebastienrousseau
548
+ [ubuntu-url]: https://ubuntu.com/
549
+ [website-url]: https://dotfiles.io
550
+ [wget-url]: https://www.gnu.org/software/wget/
551
+ [zorin-url]: https://zorinos.com/
552
+ [zsh-url]: https://www.zsh.org/
553
+
554
+ [codacy-grade]: https://img.shields.io/codacy/grade/634cfc4de08e492ebcbb341631066241?style=for-the-badge "Codacy grade"
555
+ [contributors-shield]: https://img.shields.io/github/contributors/sebastienrousseau/dotfiles.svg?style=for-the-badge "Contributors"
556
+ [contributors-url]: https://github.com/sebastienrousseau/dotfiles/graphs/contributors "List of contributors"
557
+ [divider]: https://raw.githubusercontent.com/sebastienrousseau/dotfiles/master/assets/divider.svg "Divider"
558
+ [download_button]: https://github.com/sebastienrousseau/dotfiles/raw/master/assets/button-secondary.svg "Download"
559
+ [forks-shield]: https://img.shields.io/github/forks/sebastienrousseau/dotfiles.svg?style=for-the-badge "Forks"
560
+ [fossa]: https://app.fossa.io/api/projects/git%2Bgithub.com%2Freedia%2Fdotfiles.svg?type=large "FOSSA"
561
+ [getting_started]: https://github.com/sebastienrousseau/dotfiles/raw/master/assets/button-primary.svg "Getting Started"
562
+ [gr]: https://avatars0.githubusercontent.com/u/35816108?s=117 "Graham Colgate"
563
+ [license]: https://img.shields.io/badge/License-MIT-green.svg?style=for-the-badge\&color=ff69b4 "License"
564
+ [logo]: https://github.com/sebastienrousseau/dotfiles/raw/master/assets/dotfiles.svg "Dotfiles"
565
+ [love]: https://github.com/sebastienrousseau/dotfiles/raw/master/assets/made-with-love.svg "Made with Love"
566
+ [sr]: https://avatars0.githubusercontent.com/u/1394998?s=117 "Sebastien Rousseau"
package/dist/Makefile CHANGED
@@ -1,8 +1,8 @@
1
1
  #!/usr/bin/env make -f
2
2
 
3
- # 🅳🅾🆃🅵🅸🅻🅴🆂 (v0.2.461) - https://dotfiles.io
3
+ # 🅳🅾🆃🅵🅸🅻🅴🆂 (v0.2.463) - https://dotfiles.io
4
4
  # Made with ♥ in London, UK by @sebastienrousseau
5
- # Copyright (c) 2022. All rights reserved
5
+ # Copyright (c) 2015-2023. All rights reserved
6
6
  # License: MIT
7
7
 
8
8
  .DEFAULT_GOAL := help
@@ -45,7 +45,7 @@ unpack: ## Extract the dotfiles to your system.
45
45
  help: # @HELP
46
46
  help: ## Display the help menu.
47
47
  @$(BANNER)
48
- @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
+ @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)
49
49
  @echo ""
50
50
  @echo "DOCUMENTATION:"
51
51
  @echo ""
@@ -1,3 +1,4 @@
1
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;
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("~/.dotfiles_backup")){fs.mkdirSync("~/.dotfiles_backup");}
3
+ var srcPath=path.resolve(__dirname,os.homedir()+"/"+src);var destPath=dir+"/"+dest;await fs.promises.copyFile(srcPath,destPath);}
4
+ module.exports=backup;
@@ -1 +1 @@
1
- {"version":3,"file":"backup.js","sourceRoot":"","sources":["../../bin/backup.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAQA,SAAe,MAAM,CAAC,GAA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C,SAAS,CAAC,oBAAoB,CAAC,CAAC;qBACpC;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;AAED,MAAM,CAAC,OAAO,GAAG,MAAM,CAAC"}
@@ -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.461.tgz";
4
+ export const dotfile: "https://registry.npmjs.org/@sebastienrousseau/dotfiles/-/dotfiles-0.2.463.tgz";
5
5
  export const tmux: "$DOTFILES/configurations/tmux/";
6
- export const version: "dotfiles-0.2.461.tgz";
6
+ export const version: "dotfiles-0.2.463.tgz";
7
7
  //# sourceMappingURL=constants.d.ts.map
@@ -1,2 +1,2 @@
1
1
 
2
- const version="dotfiles-0.2.461.tgz";const dotfile="https://registry.npmjs.org/@sebastienrousseau/dotfiles/-/dotfiles-0.2.461.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};
2
+ const version="dotfiles-0.2.463.tgz";const dotfile="https://registry.npmjs.org/@sebastienrousseau/dotfiles/-/dotfiles-0.2.463.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};
package/dist/bin/copy.js CHANGED
@@ -1,2 +1,3 @@
1
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;
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);}
3
+ module.exports=copy;
@@ -1 +1 @@
1
- {"version":3,"file":"copy.js","sourceRoot":"","sources":["../../bin/copy.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAQA,SAAe,IAAI,CAAC,GAAG,EAAE,IAAI;;;;;;oBAEvB,EAAE,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fer=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);}
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);}};
@@ -1 +1 @@
1
- {"version":3,"file":"dotfiles.js","sourceRoot":"","sources":["../../bin/dotfiles.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAQA,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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AAC,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,CAAC;oBACT,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"}
@@ -1,3 +1,3 @@
1
- export = download;
2
- declare function download(): Promise<void>;
1
+ /// <reference types="node" />
2
+ export const promisify: typeof import("util").promisify;
3
3
  //# sourceMappingURL=download.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"download.d.ts","sourceRoot":"","sources":["../../bin/download.js"],"names":[],"mappings":";AAQA,2CA0BC"}
1
+ {"version":3,"file":"download.d.ts","sourceRoot":"","sources":["../../bin/download.js"],"names":[],"mappings":""}
@@ -1,2 +1,3 @@
1
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;
2
+ export const{promisify}=require("util");async function download(){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=>{var headers=JSON.stringify(response.headers);response.pipe(file);file.on("finish",()=>{file.close();mv(version,`${destPath}/${version}`);fs.rmSync(version);});});}
3
+ module.exports=download;
@@ -1 +1 @@
1
- {"version":3,"file":"download.js","sourceRoot":"","sources":["../../bin/download.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAQA,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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,CACvB,OAAO,EAAE,UAAA,QAAQ;gBAEf,IAAI,OAAO,GAAG,IAAI,CAAC,SAAS,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC;gBAE/C,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;;;;CACN;AAED,MAAM,CAAC,OAAO,GAAG,QAAQ,CAAC"}
package/dist/bin/index.js CHANGED
@@ -1 +1 @@
1
- "use strict";var dotfiles=require('./dotfiles.js');dotfiles();
1
+ "use strict";var dotfiles=require("./dotfiles.js");dotfiles();
@@ -1,4 +1,4 @@
1
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);}
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
3
  await fs.copy(source,dotfiles);await fs.removeSync(bin);await fs.removeSync(filesizes);await fs.removeSync(make);}
4
4
  module.exports=transfer;
@@ -1,3 +1,3 @@
1
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+"/");}
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
3
  module.exports=unpack;