@sebastienrousseau/dotfiles 0.2.461 → 0.2.462
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 +115 -91
- package/dist/Makefile +3 -3
- package/dist/bin/backup.js +3 -2
- package/dist/bin/backup.js.map +1 -1
- package/dist/bin/constants.d.ts +2 -2
- package/dist/bin/constants.js +1 -1
- package/dist/bin/copy.js +2 -1
- package/dist/bin/copy.js.map +1 -1
- package/dist/bin/dotfiles.js +1 -1
- package/dist/bin/dotfiles.js.map +1 -1
- package/dist/bin/download.d.ts +2 -2
- package/dist/bin/download.d.ts.map +1 -1
- package/dist/bin/download.js +2 -1
- package/dist/bin/download.js.map +1 -1
- package/dist/bin/index.js +1 -1
- package/dist/bin/transfer.js +1 -1
- package/dist/bin/unpack.js +1 -1
- package/dist/filesizes.txt +332 -288
- package/dist/lib/aliases/archives/archives.aliases.sh +42 -0
- package/dist/lib/aliases/clear/clear.aliases.sh +23 -0
- package/dist/lib/aliases/configuration/configuration.aliases.sh +12 -0
- package/dist/lib/aliases/default/default.aliases.sh +36 -173
- package/dist/lib/aliases/dig/dig.aliases.sh +19 -0
- package/dist/lib/aliases/diskusage/diskusage.aliases.sh +16 -0
- package/dist/lib/aliases/editor/editor.aliases.sh +19 -0
- package/dist/lib/aliases/find/find.aliases.sh +24 -0
- package/dist/lib/aliases/gcloud/gcloud.aliases.sh +119 -117
- package/dist/lib/aliases/git/git.aliases.sh +339 -335
- package/dist/lib/aliases/gnu/gnucoreutls-aliases.sh +111 -0
- package/dist/lib/aliases/heroku/heroku.aliases.sh +712 -711
- package/dist/lib/aliases/interactive/interactive.aliases.sh +14 -0
- package/dist/lib/aliases/jekyll/jekyll.aliases.sh +48 -47
- package/dist/lib/aliases/list/list.aliases.sh +33 -0
- package/dist/lib/aliases/make/make.aliases.sh +15 -0
- package/dist/lib/aliases/mkdir/mkdir.aliases.sh +13 -0
- package/dist/lib/aliases/navigation/navigation.aliases.sh +23 -0
- package/dist/lib/aliases/npm/npm.aliases.sh +24 -0
- package/dist/lib/aliases/permission/permission.aliases.sh +28 -0
- package/dist/lib/aliases/pnpm/pnpm.aliases.sh +37 -38
- package/dist/lib/aliases/ps/ps.aliases.sh +12 -0
- package/dist/lib/aliases/rsync/rsync.aliases.sh +9 -0
- package/dist/lib/aliases/rust/rust.aliases.sh +50 -0
- package/dist/lib/aliases/subversion/subversion.aliases.sh +41 -119
- package/dist/lib/aliases/sudo/sudo.aliases.sh +11 -0
- package/dist/lib/aliases/tmux/tmux.aliases.sh +12 -10
- package/dist/lib/aliases/update/update.aliases.sh +38 -0
- package/dist/lib/aliases/uuid/uuid.aliases.sh +10 -0
- package/dist/lib/aliases/wget/wget.aliases.sh +13 -0
- package/dist/lib/aliases.sh +6 -3
- package/dist/lib/configurations/bash/bashrc +3 -3
- package/dist/lib/configurations/curl/curlrc +2 -2
- package/dist/lib/configurations/default/color.sh +2 -2
- package/dist/lib/configurations/default/constants.sh +9 -9
- package/dist/lib/configurations/default/editor.sh +2 -2
- package/dist/lib/configurations/default/prompt.sh +2 -2
- package/dist/lib/configurations/input/inputrc +2 -2
- package/dist/lib/configurations/nano/nanorc +2 -2
- package/dist/lib/configurations/profile/profile +2 -2
- package/dist/lib/configurations/tmux/default +2 -2
- package/dist/lib/configurations/tmux/display +2 -2
- package/dist/lib/configurations/tmux/linux +2 -2
- package/dist/lib/configurations/tmux/navigation +2 -2
- package/dist/lib/configurations/tmux/panes +2 -2
- package/dist/lib/configurations/tmux/theme +3 -3
- package/dist/lib/configurations/tmux/tmux +2 -2
- package/dist/lib/configurations/tmux/vi +2 -2
- package/dist/lib/configurations/vim/vimrc +1 -1
- package/dist/lib/configurations/wget/wgetrc +2 -2
- package/dist/lib/configurations/zsh/zshrc +5 -5
- package/dist/lib/configurations.sh +2 -2
- package/dist/lib/functions/cdls.sh +3 -10
- package/dist/lib/functions/changediskpwd.tmp +3 -3
- package/dist/lib/functions/code.tmp +3 -3
- package/dist/lib/functions/countdown.tmp +2 -2
- package/dist/lib/functions/curlheader.sh +5 -5
- package/dist/lib/functions/curltime.sh +6 -6
- package/dist/lib/functions/encode64.sh +2 -2
- package/dist/lib/functions/environment.sh +2 -2
- package/dist/lib/functions/extract.sh +2 -2
- package/dist/lib/functions/genpwd.sh +2 -2
- package/dist/lib/functions/goto.sh +2 -2
- package/dist/lib/functions/hidehiddenfiles.sh +2 -2
- package/dist/lib/functions/history-all.tmp +2 -2
- package/dist/lib/functions/hostinfo.sh +2 -2
- package/dist/lib/functions/hstats.sh +2 -2
- package/dist/lib/functions/httpdebug.sh +2 -2
- package/dist/lib/functions/keygen.sh +2 -2
- package/dist/lib/functions/last.sh +2 -2
- package/dist/lib/functions/logout.sh +2 -2
- package/dist/lib/functions/lowercase.sh +2 -2
- package/dist/lib/functions/macos.sh +2 -2
- package/dist/lib/functions/matrix.sh +2 -2
- package/dist/lib/functions/{mcd.sh → mcd.tmp} +2 -2
- package/dist/lib/functions/mount_read_only.sh +2 -2
- package/dist/lib/functions/myproc.sh +2 -2
- package/dist/lib/functions/prependpath.sh +2 -2
- package/dist/lib/functions/print.tmp +2 -2
- package/dist/lib/functions/ql.sh +2 -2
- package/dist/lib/functions/rd.sh +2 -2
- package/dist/lib/functions/remove_disk.sh +2 -2
- package/dist/lib/functions/ren.sh +2 -2
- package/dist/lib/functions/rm.tmp +2 -2
- package/dist/lib/functions/rps.tmp +2 -2
- package/dist/lib/functions/showhiddenfiles.sh +2 -2
- package/dist/lib/functions/size.sh +2 -2
- package/dist/lib/functions/stopwatch.sh +2 -2
- package/dist/lib/functions/trash.tmp +2 -2
- package/dist/lib/functions/tree.tmp +2 -2
- package/dist/lib/functions/uppercase.sh +2 -2
- package/dist/lib/functions/uuidgen.tmp +1 -1
- package/dist/lib/functions/view-source.sh +2 -2
- package/dist/lib/functions/vscode.sh +2 -2
- package/dist/lib/functions/whoisport.sh +2 -2
- package/dist/lib/functions/zipf.sh +2 -2
- package/dist/lib/functions.sh +2 -2
- package/dist/lib/history.sh +2 -2
- package/dist/lib/paths/ant/ant.paths.sh +2 -2
- package/dist/lib/paths/default/default.paths.sh +2 -2
- package/dist/lib/paths/homebrew/homebrew.paths.sh +2 -2
- package/dist/lib/paths/java/java.paths.sh +3 -3
- package/dist/lib/paths/maven/maven.paths.sh +2 -2
- package/dist/lib/paths/node/node.paths.sh +2 -2
- package/dist/lib/paths/nvm/nvm.paths.sh +2 -2
- package/dist/lib/paths/pnpm/pnpm.paths.sh +2 -2
- package/dist/lib/paths/python/python.paths.sh +2 -2
- package/dist/lib/paths/ruby/ruby.paths.sh +2 -2
- package/dist/lib/paths/tmux/tmux.paths.sh +2 -2
- package/dist/lib/paths.sh +2 -2
- package/dist/scripts/backup.sh +2 -2
- package/dist/scripts/banner.sh +2 -2
- package/dist/scripts/build.sh +2 -2
- package/dist/scripts/clean.sh +2 -2
- package/dist/scripts/compile.sh +2 -2
- package/dist/scripts/copy.sh +2 -2
- package/dist/scripts/dotfiles.sh +2 -2
- package/dist/scripts/download.sh +2 -2
- package/dist/scripts/help.sh +2 -2
- package/dist/scripts/ssh.sh +54 -0
- package/dist/scripts/unpack.sh +2 -2
- package/package.json +2 -2
- 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.
|
|
16
|
+
## 👋 Welcome to Dotfiles (v0.2.462)
|
|
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.
|
|
24
|
+
[![Getting Started][getting_started]][getting-started-url]
|
|
25
|
+
[![Download Dotfiles v0.2.462][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,
|
|
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
|
|
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
|
|
92
|
-
|
|
93
|
-
- [**
|
|
94
|
-
|
|
95
|
-
- [**
|
|
96
|
-
|
|
97
|
-
- [**
|
|
98
|
-
|
|
99
|
-
- [**
|
|
100
|
-
|
|
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
|
|
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
|
|
|
@@ -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.
|
|
129
|
+
You can download the latest version (v0.2.462) with the following options:
|
|
125
130
|
|
|
126
|
-
- [**Manual download**][releases] - **The easiest way to install Dotfiles.**
|
|
127
|
-
- [**Install with PnPM**]
|
|
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**]
|
|
134
|
+
- [**Install with Npm**][package-url]
|
|
130
135
|
`npm install @sebastienrousseau/dotfiles`.
|
|
131
|
-
- [**Install with Yarn**]
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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]
|
|
454
|
-
list.
|
|
460
|
+
- See [Dotfiles Release][releases-url] for a list of changes.
|
|
455
461
|
|
|
456
462
|
## ✅ Changelog
|
|
457
463
|
|
|
458
|
-
- [GitHub 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]
|
|
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 [
|
|
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]
|
|
486
|
-
|
|
487
|
-
- Review
|
|
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
|
|
505
|
+
This project is licensed under the [MIT License][license-url] file for details.
|
|
498
506
|
|
|
499
|
-
[![FOSSA Status]
|
|
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
|
-
|
|
507
|
-
|
|
508
|
-
| [![
|
|
509
|
-
|
|
510
|
-
| [Sebastien Rousseau]
|
|
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
|
-
[
|
|
535
|
-
[
|
|
536
|
-
[
|
|
537
|
-
[
|
|
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.462.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
|
-
[
|
|
541
|
-
[
|
|
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.
|
|
3
|
+
# 🅳🅾🆃🅵🅸🅻🅴🆂 (v0.2.462) - https://dotfiles.io
|
|
4
4
|
# Made with ♥ in London, UK by @sebastienrousseau
|
|
5
|
-
# Copyright (c) 2022. All rights reserved
|
|
5
|
+
# Copyright (c) 2015-2022. 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 "
|
|
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 ""
|
package/dist/bin/backup.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
|
|
2
|
-
async function backup(src,dest){var fs=require("fs");var os=require(
|
|
3
|
-
var srcPath=path.resolve(__dirname,os.homedir()+"/"+src);var destPath=dir+"/"+dest;await fs.promises.copyFile(srcPath,destPath);}
|
|
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;
|
package/dist/bin/backup.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"backup.js","sourceRoot":"","sources":["../../bin/backup.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAQA,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,
|
|
1
|
+
{"version":3,"file":"backup.js","sourceRoot":"","sources":["../../bin/backup.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAQA,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,oBAAoB,CAAC,EAAE;wBACxC,EAAE,CAAC,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"}
|
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.462.tgz";
|
|
5
5
|
export const tmux: "$DOTFILES/configurations/tmux/";
|
|
6
|
-
export const version: "dotfiles-0.2.
|
|
6
|
+
export const version: "dotfiles-0.2.462.tgz";
|
|
7
7
|
//# sourceMappingURL=constants.d.ts.map
|
package/dist/bin/constants.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
|
|
2
|
-
const version="dotfiles-0.2.
|
|
2
|
+
const version="dotfiles-0.2.462.tgz";const dotfile="https://registry.npmjs.org/@sebastienrousseau/dotfiles/-/dotfiles-0.2.462.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(
|
|
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;
|
package/dist/bin/copy.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"copy.js","sourceRoot":"","sources":["../../bin/copy.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAQA,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;
|
|
1
|
+
{"version":3,"file":"copy.js","sourceRoot":"","sources":["../../bin/copy.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAQA,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;AAED,MAAM,CAAC,OAAO,GAAG,IAAI,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,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
|
|
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":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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,KAAK,GAAG,UAAC,YAAY,IAAK,OAAA,IAAI,OAAO,CAAC,UAAC,OAAO,IAAK,OAAA,UAAU,CAAC,OAAO,EAAE,YAAY,CAAC,EAAjC,CAAiC,CAAC,EAA3D,CAA2D,CAAC;AAC5F,IAAI,EAAE,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;AACvB,IAAI,EAAE,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;AACvB,IAAI,IAAI,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC;AAE3B,IAAM,GAAG,GAAG,IAAI,CAAC,OAAO,CAAC,SAAS,EAAE,EAAE,CAAC,OAAO,EAAE,CAAC,CAAC;AAElD,MAAM,CAAC,OAAO,GAAG,SAAe,IAAI;;;;;;oBAE9B,CAAC,GAAG,CAAC,CAAC;oBAGV,GAAG;wBACD,MAAM,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC;wBAC/B,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC;wBAC5B,CAAC,EAAE,CAAC;qBACL,QAAQ,CAAC,GAAG,OAAO,CAAC,MAAM,IAAI,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE;oBAGlD,QAAQ,
|
|
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,KAAK,GAAG,UAAC,YAAY,IAAK,OAAA,IAAI,OAAO,CAAC,UAAC,OAAO,IAAK,OAAA,UAAU,CAAC,OAAO,EAAE,YAAY,CAAC,EAAjC,CAAiC,CAAC,EAA3D,CAA2D,CAAC;AAC5F,IAAI,EAAE,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;AACvB,IAAI,EAAE,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;AACvB,IAAI,IAAI,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC;AAE3B,IAAM,GAAG,GAAG,IAAI,CAAC,OAAO,CAAC,SAAS,EAAE,EAAE,CAAC,OAAO,EAAE,CAAC,CAAC;AAElD,MAAM,CAAC,OAAO,GAAG,SAAe,IAAI;;;;;;oBAE9B,CAAC,GAAG,CAAC,CAAC;oBAGV,GAAG;wBACD,MAAM,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC;wBAC/B,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC;wBAC5B,CAAC,EAAE,CAAC;qBACL,QAAQ,CAAC,GAAG,OAAO,CAAC,MAAM,IAAI,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE;oBAGlD,QAAQ,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"}
|
package/dist/bin/download.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
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":"
|
|
1
|
+
{"version":3,"file":"download.d.ts","sourceRoot":"","sources":["../../bin/download.js"],"names":[],"mappings":""}
|
package/dist/bin/download.js
CHANGED
|
@@ -1,2 +1,3 @@
|
|
|
1
1
|
|
|
2
|
-
|
|
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;
|
package/dist/bin/download.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"download.js","sourceRoot":"","sources":["../../bin/download.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"download.js","sourceRoot":"","sources":["../../bin/download.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAOe,QAAA,SAAS,GAAK,OAAO,CAAC,MAAM,CAAC,WAAC;AAG7C,SAAe,QAAQ;;;;YAEjB,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,IAAA,iBAAS,EAAC,EAAE,CAAC,MAAM,CAAC,CAAC;YAE1B,OAAO,GAAG,KAAK,CAAC,GAAG,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(
|
|
1
|
+
"use strict";var dotfiles=require("./dotfiles.js");dotfiles();
|
package/dist/bin/transfer.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
|
|
2
|
-
async function transfer(dest){const fs=require("fs-extra");var os=require(
|
|
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;
|
package/dist/bin/unpack.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
|
|
2
|
-
async function unpack(){const compressing=require("compressing");var os=require(
|
|
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;
|