@sebastienrousseau/dotfiles 0.2.453 β 0.2.455
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 +175 -161
- package/package.json +40 -28
- package/COPYRIGHT +0 -5
- package/Makefile +0 -79
- package/bin/dotfiles.sh +0 -157
- package/index.js +0 -24
- package/pnpm-lock.yaml +0 -232
- package/pnpm-workspace.yaml +0 -2
- package/shell/README.md +0 -3
- package/shell/aliases/default/README.md +0 -0
- package/shell/aliases/default/default.aliases.sh +0 -199
- package/shell/aliases/gcloud/gcloud.aliases.sh +0 -121
- package/shell/aliases/git/git.aliases.wip +0 -586
- package/shell/aliases/heroku/heroku.aliases.sh +0 -1031
- package/shell/aliases/jekyll/jekyll.aliases.sh +0 -50
- package/shell/aliases/pnpm/pnpm.aliases.sh +0 -42
- package/shell/aliases/subversion/subversion.aliases.sh +0 -123
- package/shell/aliases/tmux/tmux.aliases.sh +0 -14
- package/shell/aliases.sh +0 -12
- package/shell/configurations/README.md +0 -3
- package/shell/configurations/bash/bashrc +0 -36
- package/shell/configurations/curl/cacert.pem +0 -3460
- package/shell/configurations/curl/curlrc +0 -55
- package/shell/configurations/default/color.sh +0 -17
- package/shell/configurations/default/editor.sh +0 -16
- package/shell/configurations/default/prompt.sh +0 -37
- package/shell/configurations/inputrc/inputrc +0 -22
- package/shell/configurations/jshint/jshintrc +0 -37
- package/shell/configurations/profile/profile +0 -36
- package/shell/configurations/tmux/tmux +0 -95
- package/shell/configurations/vim/vimrc +0 -73
- package/shell/configurations/wget/wgetrc +0 -39
- package/shell/configurations/zsh/zshrc +0 -50
- package/shell/configurations.sh +0 -10
- package/shell/exit.sh +0 -9
- package/shell/functions/README.md +0 -3
- package/shell/functions/cdls.sh +0 -19
- package/shell/functions/changediskpwd.wip +0 -19
- package/shell/functions/code.wip +0 -18
- package/shell/functions/countdown.wip +0 -33
- package/shell/functions/curlheader.sh +0 -20
- package/shell/functions/curltime.sh +0 -31
- package/shell/functions/encode64.sh +0 -25
- package/shell/functions/environment.sh +0 -37
- package/shell/functions/extract.sh +0 -32
- package/shell/functions/filehead.sh +0 -4
- package/shell/functions/genpwd.sh +0 -14
- package/shell/functions/goto.sh +0 -14
- package/shell/functions/headers.wip +0 -4
- package/shell/functions/hidehiddenfiles.sh +0 -12
- package/shell/functions/history-all.wip +0 -7
- package/shell/functions/hostinfo.sh +0 -25
- package/shell/functions/hstats.sh +0 -9
- package/shell/functions/httpdebug.sh +0 -7
- package/shell/functions/keygen.sh +0 -23
- package/shell/functions/last.sh +0 -9
- package/shell/functions/logout.sh +0 -10
- package/shell/functions/lowercase.sh +0 -28
- package/shell/functions/macos.sh +0 -47
- package/shell/functions/matrix.sh +0 -9
- package/shell/functions/mcd.sh +0 -18
- package/shell/functions/mount_read_only.sh +0 -9
- package/shell/functions/myproc.sh +0 -7
- package/shell/functions/prependpath.sh +0 -19
- package/shell/functions/print.wip +0 -13
- package/shell/functions/ql.sh +0 -7
- package/shell/functions/rd.sh +0 -15
- package/shell/functions/remove_disk.sh +0 -9
- package/shell/functions/ren.sh +0 -11
- package/shell/functions/rm.wip +0 -13
- package/shell/functions/rps.wip +0 -103
- package/shell/functions/showhiddenfiles.sh +0 -12
- package/shell/functions/size.sh +0 -13
- package/shell/functions/stopwatch.sh +0 -13
- package/shell/functions/trash.wip +0 -13
- package/shell/functions/tree.wip +0 -13
- package/shell/functions/uppercase.sh +0 -28
- package/shell/functions/uuidgen.wip +0 -27
- package/shell/functions/view-source.sh +0 -8
- package/shell/functions/vscode.sh +0 -31
- package/shell/functions/whoisport.sh +0 -12
- package/shell/functions/zipf.sh +0 -14
- package/shell/functions.sh +0 -10
- package/shell/history.sh +0 -107
- package/shell/paths/ant/ant.paths.sh +0 -15
- package/shell/paths/default/default.paths.sh +0 -17
- package/shell/paths/homebrew/homebrew.paths.sh +0 -25
- package/shell/paths/java/java.paths.sh +0 -16
- package/shell/paths/maven/maven.paths.sh +0 -17
- package/shell/paths/node/node.paths.sh +0 -13
- package/shell/paths/nvm/nvm.paths.sh +0 -21
- package/shell/paths/pnpm/pnpm.paths.sh +0 -13
- package/shell/paths/python/python.paths.sh +0 -19
- package/shell/paths/ruby/ruby.paths.sh +0 -23
- package/shell/paths/tmux/tmux.paths.sh +0 -14
- package/shell/paths.sh +0 -12
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Dotfiles
|
|
1
|
+
# Dotfiles
|
|
2
2
|
|
|
3
3
|
[![Banner representing the Dotfiles Library][logo]][website]
|
|
4
4
|
|
|
@@ -13,14 +13,16 @@
|
|
|
13
13
|
β’ [Request Feature][issues]
|
|
14
14
|
β’ [Contributing Guidelines][contributing]**
|
|
15
15
|
|
|
16
|
-
## π Welcome to Dotfiles
|
|
16
|
+
## π Welcome to Dotfiles (v0.2.455)
|
|
17
17
|
|
|
18
|
-
|
|
18
|
+
### Simply designed to fit your shell life
|
|
19
19
|
|
|
20
|
-
|
|
21
|
-
|
|
20
|
+
Dotfiles are a set of macOS, Linux and Windows configuration files. They are
|
|
21
|
+
aimed at making your life easier by providing a set of scripts and configuration
|
|
22
|
+
files with new ways to get things done.
|
|
22
23
|
|
|
23
|
-
|
|
24
|
+
[![Getting Started][getting_started]][getting-started]
|
|
25
|
+
[![Download Dotfiles v0.2.455][download_button]][download]
|
|
24
26
|
|
|
25
27
|
Dotfiles aggregates a collection of standalone configuration files (dotfiles)
|
|
26
28
|
combined into a `shell` directory that can be used to customize your development
|
|
@@ -42,31 +44,44 @@ To read the documentation for Dotfiles, please visit:
|
|
|
42
44
|
|
|
43
45
|
![divider][divider]
|
|
44
46
|
|
|
45
|
-
## Getting Started
|
|
46
|
-
|
|
47
|
-
### π§ Installation
|
|
47
|
+
## π Getting Started
|
|
48
48
|
|
|
49
49
|
We are so delighted that you have decided to try Dotfiles, and are sure that you
|
|
50
50
|
will find Dotfiles unique and helpful.
|
|
51
51
|
|
|
52
|
-
Dotfiles seeks to bring you high quality and easy to use standalone and modular
|
|
52
|
+
Dotfiles seeks to bring you high quality and easy to use standalone and modular
|
|
53
|
+
configuration files that can be used to customize your development environment
|
|
53
54
|
across numerous computers and operating systems (macOS, Windows, Linux).
|
|
54
55
|
|
|
56
|
+
### π§ Installation
|
|
57
|
+
|
|
55
58
|
We understand that you may want to install Dotfiles without reading long manuals
|
|
56
|
-
and lengthy documentation.
|
|
57
|
-
easy as possible.
|
|
59
|
+
and lengthy documentation. In that respect, we have tried to make the
|
|
60
|
+
installation process as easy as possible.
|
|
61
|
+
|
|
62
|
+
A range of installation methods are available, and we recommend that you choose
|
|
63
|
+
the one that best suits your needs.
|
|
58
64
|
|
|
59
|
-
|
|
65
|
+
Before you begin your installation, use this information to ensure that you meet
|
|
66
|
+
all the hardware, software, and system requirements for installing Dotfiles.
|
|
60
67
|
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
68
|
+
#### π System Requirements
|
|
69
|
+
|
|
70
|
+
You need a modern operating system to install Dotfiles. Here's an non-exhaustive
|
|
71
|
+
list of the recommended operating systems that we support.
|
|
72
|
+
|
|
73
|
+
If you don't see your operating system listed, it may still work, but we have
|
|
74
|
+
yet been able to test it. If you have any issues, please let us know.
|
|
75
|
+
|
|
76
|
+
- macOS 10.15 or later
|
|
77
|
+
- Windows 10 or later
|
|
78
|
+
- A Debian based distribution (Debian, Ubuntu, PoP!_OS, Zorin OS, Q4OS, Kali Linux, Devuan, Deepin, etc.)
|
|
64
79
|
|
|
65
80
|
![divider][divider]
|
|
66
81
|
|
|
67
|
-
|
|
82
|
+
#### βοΈ Software Requirements
|
|
68
83
|
|
|
69
|
-
The following
|
|
84
|
+
The following programs must be installed on your system to install Dotfiles:
|
|
70
85
|
|
|
71
86
|
- [**Bash**][bash] - a shell, or command language interpreter, for the GNU
|
|
72
87
|
operating system.
|
|
@@ -86,7 +101,7 @@ The following requirements are needed to install Dotfiles:
|
|
|
86
101
|
|
|
87
102
|
### 1οΈβ£ Download Dotfiles
|
|
88
103
|
|
|
89
|
-
You can download the latest version (v0.2.
|
|
104
|
+
You can download the latest version (v0.2.455) with the following options:
|
|
90
105
|
|
|
91
106
|
- [**Manual download**][releases] - **The easiest way to install Dotfiles.**
|
|
92
107
|
- [**Install with PnPM**](https://www.npmjs.com/package/@sebastienrousseau/dotfiles)
|
|
@@ -104,7 +119,7 @@ You can download the latest version (v0.2.453) with the following options:
|
|
|
104
119
|
Before installing Dotfiles, we strongly recommend that you back up your existing
|
|
105
120
|
data. The Dotfiles installer will try to automatically backup any previous
|
|
106
121
|
installation of known dotfiles into a backup directory
|
|
107
|
-
`$HOME/.
|
|
122
|
+
`$HOME/.dotfiles_backup`.
|
|
108
123
|
|
|
109
124
|
The backup files are the following:
|
|
110
125
|
|
|
@@ -135,35 +150,42 @@ The backup files are the following:
|
|
|
135
150
|
cacert.pem
|
|
136
151
|
```
|
|
137
152
|
|
|
138
|
-
|
|
139
|
-
directory. It is always a good idea to backup as there might be situations in which you
|
|
140
|
-
could be required to restore your previous installation.
|
|
153
|
+
It is always a good idea to backup as there might be situations in which you could be required to restore your previous installation.
|
|
141
154
|
|
|
142
155
|
### 3οΈβ£ Try it out and let us know what you think
|
|
143
156
|
|
|
144
157
|
To install the latest version of the dotfiles, run the following command:
|
|
145
158
|
|
|
146
|
-
#### Using make (
|
|
159
|
+
#### Using make (easiest)
|
|
147
160
|
|
|
148
|
-
|
|
161
|
+
The easiest way to install Dotfiles is to use the `make` command. This will
|
|
162
|
+
install the latest version of the dotfiles and will automatically backup
|
|
163
|
+
any existing dotfiles you may have into a backup directory
|
|
164
|
+
`$HOME/dotfiles_backup`.
|
|
165
|
+
|
|
166
|
+
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.
|
|
167
|
+
|
|
168
|
+
Switch to the `dist` directory and run:
|
|
149
169
|
|
|
150
170
|
```bash
|
|
151
|
-
make
|
|
171
|
+
make assemble
|
|
152
172
|
```
|
|
153
173
|
|
|
154
|
-
|
|
174
|
+
You can also just check the installer options available, by simply running:
|
|
155
175
|
|
|
156
176
|
```bash
|
|
157
177
|
make help
|
|
158
178
|
```
|
|
159
179
|
|
|
160
|
-
#### Using PnPM (recommended if you have PnPM installed)
|
|
180
|
+
#### Using PnPM (highly recommended if you have PnPM installed)
|
|
161
181
|
|
|
162
182
|
PnPM is a key dependency of the dotfiles package. It will help you install the
|
|
163
183
|
dotfiles rapidly and very efficiently.
|
|
164
184
|
|
|
185
|
+
Switch to the `dist` directory and run:
|
|
186
|
+
|
|
165
187
|
```bash
|
|
166
|
-
pnpm
|
|
188
|
+
pnpm run assemble
|
|
167
189
|
```
|
|
168
190
|
|
|
169
191
|
### Post installation
|
|
@@ -184,141 +206,132 @@ Please refer to the [documentation][docs] for more information.
|
|
|
184
206
|
Dotfiles contains core elements that are used to configure your shell, and other components catered for your environment setup.
|
|
185
207
|
|
|
186
208
|
Within the download you'll find all the Dotfiles source files grouped within the
|
|
187
|
-
`
|
|
209
|
+
`dist` folder.
|
|
188
210
|
|
|
189
211
|
You'll see something like this:
|
|
190
212
|
|
|
191
213
|
```bash
|
|
192
214
|
.
|
|
193
|
-
βββ
|
|
194
|
-
βΒ Β
|
|
195
|
-
|
|
196
|
-
βΒ Β
|
|
197
|
-
βΒ Β βββ
|
|
198
|
-
βΒ Β βΒ Β βββ README.md
|
|
199
|
-
βΒ Β βΒ Β βββ
|
|
200
|
-
βΒ Β βββ
|
|
201
|
-
βΒ Β βΒ Β
|
|
202
|
-
βΒ Β βΒ Β
|
|
203
|
-
βΒ Β βββ heroku
|
|
204
|
-
βΒ Β βΒ Β
|
|
205
|
-
βΒ Β βΒ Β
|
|
206
|
-
βΒ Β
|
|
207
|
-
βΒ Β βΒ Β βββ
|
|
208
|
-
βΒ Β βΒ Β βββ
|
|
209
|
-
βΒ Β βββ
|
|
210
|
-
βΒ Β βΒ Β
|
|
211
|
-
βΒ Β βΒ Β βββ
|
|
212
|
-
βΒ Β
|
|
213
|
-
βΒ Β
|
|
214
|
-
βΒ Β βΒ Β
|
|
215
|
-
βΒ Β
|
|
216
|
-
βΒ Β βΒ Β βββ
|
|
217
|
-
βΒ Β βΒ Β
|
|
218
|
-
βΒ Β βββ
|
|
219
|
-
βββ
|
|
220
|
-
βΒ Β βββ
|
|
221
|
-
βΒ Β βΒ Β
|
|
222
|
-
βΒ Β
|
|
223
|
-
βΒ Β βΒ Β βββ
|
|
224
|
-
βΒ Β βΒ Β βββ
|
|
225
|
-
βΒ Β βββ
|
|
226
|
-
βΒ Β βΒ Β
|
|
227
|
-
βΒ Β βΒ Β βββ
|
|
228
|
-
βΒ Β βΒ Β βββ
|
|
229
|
-
βΒ Β βββ
|
|
230
|
-
βΒ Β βΒ Β βββ
|
|
231
|
-
βΒ Β βββ
|
|
232
|
-
βΒ Β βΒ Β βββ
|
|
233
|
-
βΒ Β βββ
|
|
234
|
-
βΒ Β βΒ Β βββ
|
|
235
|
-
βΒ Β βββ
|
|
236
|
-
βΒ Β βΒ Β βββ
|
|
237
|
-
βΒ Β
|
|
238
|
-
βΒ Β
|
|
239
|
-
βΒ Β βββ
|
|
240
|
-
βΒ Β βΒ Β
|
|
241
|
-
βΒ Β βββ
|
|
242
|
-
βΒ Β βΒ Β
|
|
243
|
-
βΒ Β
|
|
244
|
-
βββ
|
|
245
|
-
βΒ Β βββ
|
|
246
|
-
βΒ Β βββ
|
|
247
|
-
βΒ Β βββ
|
|
248
|
-
βΒ Β βββ
|
|
249
|
-
βΒ Β βββ
|
|
250
|
-
βΒ Β βββ
|
|
251
|
-
βΒ Β βββ
|
|
252
|
-
βΒ Β βββ
|
|
253
|
-
βΒ Β βββ
|
|
254
|
-
βΒ Β βββ
|
|
255
|
-
βΒ Β βββ
|
|
256
|
-
βΒ Β βββ
|
|
257
|
-
βΒ Β βββ
|
|
258
|
-
βΒ Β βββ
|
|
259
|
-
βΒ Β βββ
|
|
260
|
-
βΒ Β βββ
|
|
261
|
-
βΒ Β βββ
|
|
262
|
-
βΒ Β βββ
|
|
263
|
-
βΒ Β βββ
|
|
264
|
-
βΒ Β βββ
|
|
265
|
-
βΒ Β βββ
|
|
266
|
-
βΒ Β βββ
|
|
267
|
-
βΒ Β βββ
|
|
268
|
-
βΒ Β βββ
|
|
269
|
-
βΒ Β βββ
|
|
270
|
-
βΒ Β βββ
|
|
271
|
-
βΒ Β βββ
|
|
272
|
-
βΒ Β βββ
|
|
273
|
-
βΒ Β βββ
|
|
274
|
-
βΒ Β
|
|
275
|
-
βΒ Β βββ
|
|
276
|
-
βΒ Β βββ
|
|
277
|
-
βΒ Β
|
|
278
|
-
βΒ Β βββ
|
|
279
|
-
βΒ Β
|
|
280
|
-
βΒ Β βββ
|
|
281
|
-
βΒ Β
|
|
282
|
-
βΒ Β βββ
|
|
283
|
-
βΒ Β
|
|
284
|
-
βΒ Β βββ
|
|
285
|
-
βΒ Β
|
|
286
|
-
βΒ Β βββ
|
|
287
|
-
βΒ Β
|
|
288
|
-
βΒ Β βββ
|
|
289
|
-
βΒ Β
|
|
290
|
-
βΒ Β βββ
|
|
291
|
-
βΒ Β βββ
|
|
292
|
-
βββ
|
|
293
|
-
βΒ Β
|
|
294
|
-
βΒ Β βΒ Β
|
|
295
|
-
βΒ Β
|
|
296
|
-
βΒ Β βΒ Β βββ
|
|
297
|
-
βΒ Β
|
|
298
|
-
βΒ Β
|
|
299
|
-
βΒ Β βββ
|
|
300
|
-
βΒ Β
|
|
301
|
-
βΒ Β βββ
|
|
302
|
-
βΒ Β
|
|
303
|
-
βΒ Β βββ
|
|
304
|
-
βΒ Β
|
|
305
|
-
βΒ Β βββ
|
|
306
|
-
βΒ Β
|
|
307
|
-
βΒ Β βββ
|
|
308
|
-
βΒ Β
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
βββ README.md
|
|
314
|
-
βββ aliases.sh # aliases loader
|
|
315
|
-
βββ configurations.sh # configurations loader
|
|
316
|
-
βββ exit.sh # exit loader
|
|
317
|
-
βββ functions.sh # functions loader
|
|
318
|
-
βββ history.sh # history loader
|
|
319
|
-
βββ paths.sh # paths loader
|
|
320
|
-
|
|
321
|
-
32 directories, 95 files
|
|
215
|
+
βββ bin
|
|
216
|
+
βΒ Β βββ dotfiles.sh
|
|
217
|
+
βββ shell
|
|
218
|
+
βΒ Β βββ aliases
|
|
219
|
+
βΒ Β βΒ Β βββ default
|
|
220
|
+
βΒ Β βΒ Β βΒ Β βββ README.md
|
|
221
|
+
βΒ Β βΒ Β βΒ Β βββ default.aliases.sh # Default aliases.
|
|
222
|
+
βΒ Β βΒ Β βββ gcloud
|
|
223
|
+
βΒ Β βΒ Β βΒ Β βββ gcloud.aliases.sh # GCloud aliases.
|
|
224
|
+
βΒ Β βΒ Β βββ git
|
|
225
|
+
βΒ Β βΒ Β βββ heroku
|
|
226
|
+
βΒ Β βΒ Β βΒ Β βββ heroku.aliases.sh # Heroku aliases.
|
|
227
|
+
βΒ Β βΒ Β βββ jekyll
|
|
228
|
+
βΒ Β βΒ Β βΒ Β βββ jekyll.aliases.sh # Jekyll aliases.
|
|
229
|
+
βΒ Β βΒ Β βββ pnpm
|
|
230
|
+
βΒ Β βΒ Β βΒ Β βββ pnpm.aliases.sh # Pnpm aliases.
|
|
231
|
+
βΒ Β βΒ Β βββ subversion
|
|
232
|
+
βΒ Β βΒ Β βΒ Β βββ subversion.aliases.sh # Subversion aliases.
|
|
233
|
+
βΒ Β βΒ Β βββ tmux
|
|
234
|
+
βΒ Β βΒ Β βββ tmux.aliases.sh # Tmux aliases.
|
|
235
|
+
βΒ Β βββ configurations
|
|
236
|
+
βΒ Β βΒ Β βββ bash
|
|
237
|
+
βΒ Β βΒ Β βΒ Β βββ bashrc # Bashrc configuration file.
|
|
238
|
+
βΒ Β βΒ Β βββ curl
|
|
239
|
+
βΒ Β βΒ Β βΒ Β βββ cacert.pem # CA Certificates.
|
|
240
|
+
βΒ Β βΒ Β βΒ Β βββ curlrc # Curlrc configuration file.
|
|
241
|
+
βΒ Β βΒ Β βββ default
|
|
242
|
+
βΒ Β βΒ Β βΒ Β βββ color.sh # Color definitions.
|
|
243
|
+
βΒ Β βΒ Β βΒ Β βββ editor.sh # Editor definitions.
|
|
244
|
+
βΒ Β βΒ Β βΒ Β βββ prompt.sh # Prompt definitions.
|
|
245
|
+
βΒ Β βΒ Β βββ inputrc
|
|
246
|
+
βΒ Β βΒ Β βΒ Β βββ inputrc # Inputrc configuration file.
|
|
247
|
+
βΒ Β βΒ Β βββ jshint
|
|
248
|
+
βΒ Β βΒ Β βΒ Β βββ jshintrc # Jshintrc configuration file.
|
|
249
|
+
βΒ Β βΒ Β βββ profile
|
|
250
|
+
βΒ Β βΒ Β βΒ Β βββ profile # Profile configuration file.
|
|
251
|
+
βΒ Β βΒ Β βββ tmux
|
|
252
|
+
βΒ Β βΒ Β βΒ Β βββ tmux # Tmux configuration file.
|
|
253
|
+
βΒ Β βΒ Β βββ vim
|
|
254
|
+
βΒ Β βΒ Β βΒ Β βββ vimrc # Vimrc configuration file.
|
|
255
|
+
βΒ Β βΒ Β βββ wget
|
|
256
|
+
βΒ Β βΒ Β βΒ Β βββ wgetrc # Wgetrc configuration file.
|
|
257
|
+
βΒ Β βΒ Β βββ zsh
|
|
258
|
+
βΒ Β βΒ Β βΒ Β βββ zshrc # Zshrc configuration file.
|
|
259
|
+
βΒ Β βΒ Β βββ README.md
|
|
260
|
+
βΒ Β βββ functions
|
|
261
|
+
βΒ Β βΒ Β βββ README.md # Functions documentation.
|
|
262
|
+
βΒ Β βΒ Β βββ cdls.sh # cdls function.
|
|
263
|
+
βΒ Β βΒ Β βββ curlheader.sh # curlheader function.
|
|
264
|
+
βΒ Β βΒ Β βββ curltime.sh # curltime function.
|
|
265
|
+
βΒ Β βΒ Β βββ encode64.sh # encode64 function.
|
|
266
|
+
βΒ Β βΒ Β βββ environment.sh # environment function.
|
|
267
|
+
βΒ Β βΒ Β βββ extract.sh # extract function.
|
|
268
|
+
βΒ Β βΒ Β βββ filehead.sh # filehead function.
|
|
269
|
+
βΒ Β βΒ Β βββ genpwd.sh # genpwd function.
|
|
270
|
+
βΒ Β βΒ Β βββ goto.sh # goto function.
|
|
271
|
+
βΒ Β βΒ Β βββ hidehiddenfiles.sh # hidehiddenfiles function.
|
|
272
|
+
βΒ Β βΒ Β βββ hostinfo.sh # hostinfo function.
|
|
273
|
+
βΒ Β βΒ Β βββ hstats.sh # hstats function.
|
|
274
|
+
βΒ Β βΒ Β βββ httpdebug.sh # httpdebug function.
|
|
275
|
+
βΒ Β βΒ Β βββ keygen.sh # keygen function.
|
|
276
|
+
βΒ Β βΒ Β βββ last.sh # last function.
|
|
277
|
+
βΒ Β βΒ Β βββ logout.sh # logout function.
|
|
278
|
+
βΒ Β βΒ Β βββ lowercase.sh # lowercase function.
|
|
279
|
+
βΒ Β βΒ Β βββ macos.sh # macos function.
|
|
280
|
+
βΒ Β βΒ Β βββ matrix.sh # matrix function.
|
|
281
|
+
βΒ Β βΒ Β βββ mcd.sh # mcd function.
|
|
282
|
+
βΒ Β βΒ Β βββ mount_read_only.sh # mount_read_only function.
|
|
283
|
+
βΒ Β βΒ Β βββ myproc.sh # myproc function.
|
|
284
|
+
βΒ Β βΒ Β βββ prependpath.sh # prependpath function.
|
|
285
|
+
βΒ Β βΒ Β βββ ql.sh # ql function.
|
|
286
|
+
βΒ Β βΒ Β βββ rd.sh # rd function.
|
|
287
|
+
βΒ Β βΒ Β βββ remove_disk.sh # remove_disk function.
|
|
288
|
+
βΒ Β βΒ Β βββ ren.sh # ren function.
|
|
289
|
+
βΒ Β βΒ Β βββ showhiddenfiles.sh # showhiddenfiles function.
|
|
290
|
+
βΒ Β βΒ Β βββ size.sh # size function.
|
|
291
|
+
βΒ Β βΒ Β βββ stopwatch.sh # stopwatch function.
|
|
292
|
+
βΒ Β βΒ Β βββ uppercase.sh # uppercase function.
|
|
293
|
+
βΒ Β βΒ Β βββ view-source.sh # view-source function.
|
|
294
|
+
βΒ Β βΒ Β βββ vscode.sh # vscode function.
|
|
295
|
+
βΒ Β βΒ Β βββ whoisport.sh # whoisport function.
|
|
296
|
+
βΒ Β βΒ Β βββ zipf.sh # zipf function.
|
|
297
|
+
βΒ Β βββ paths
|
|
298
|
+
βΒ Β βΒ Β βββ ant
|
|
299
|
+
βΒ Β βΒ Β βΒ Β βββ ant.paths.sh # Ant paths.
|
|
300
|
+
βΒ Β βΒ Β βββ default
|
|
301
|
+
βΒ Β βΒ Β βΒ Β βββ default.paths.sh # Default paths.
|
|
302
|
+
βΒ Β βΒ Β βββ homebrew
|
|
303
|
+
βΒ Β βΒ Β βΒ Β βββ homebrew.paths.sh # Homebrew paths.
|
|
304
|
+
βΒ Β βΒ Β βββ java
|
|
305
|
+
βΒ Β βΒ Β βΒ Β βββ java.paths.sh # Java paths.
|
|
306
|
+
βΒ Β βΒ Β βββ maven
|
|
307
|
+
βΒ Β βΒ Β βΒ Β βββ maven.paths.sh # Maven paths.
|
|
308
|
+
βΒ Β βΒ Β βββ node
|
|
309
|
+
βΒ Β βΒ Β βΒ Β βββ node.paths.sh # Node paths.
|
|
310
|
+
βΒ Β βΒ Β βββ nvm
|
|
311
|
+
βΒ Β βΒ Β βΒ Β βββ nvm.paths.sh # NVM paths.
|
|
312
|
+
βΒ Β βΒ Β βββ pnpm
|
|
313
|
+
βΒ Β βΒ Β βΒ Β βββ pnpm.paths.sh # Pnpm paths.
|
|
314
|
+
βΒ Β βΒ Β βββ python
|
|
315
|
+
βΒ Β βΒ Β βΒ Β βββ python.paths.sh # Python paths.
|
|
316
|
+
βΒ Β βΒ Β βββ ruby
|
|
317
|
+
βΒ Β βΒ Β βΒ Β βββ ruby.paths.sh # Ruby paths.
|
|
318
|
+
βΒ Β βΒ Β βββ tmux
|
|
319
|
+
βΒ Β βΒ Β βββ tmux.paths.sh # Tmux paths.
|
|
320
|
+
βΒ Β βββ README.md # Dotfiles documentation.
|
|
321
|
+
βΒ Β βββ aliases.sh # Aliases loader file.
|
|
322
|
+
βΒ Β βββ configurations.sh # Configurations loader file.
|
|
323
|
+
βΒ Β βββ exit.sh # Exit loader file.
|
|
324
|
+
βΒ Β βββ functions.sh # Functions loader file.
|
|
325
|
+
βΒ Β βββ history.sh # History loader file.
|
|
326
|
+
βΒ Β βββ index.d.ts # Typescript type information.
|
|
327
|
+
βΒ Β βββ index.d.ts.map # Typescript type map information.
|
|
328
|
+
βΒ Β βββ index.js # Dotfiles main JS file.
|
|
329
|
+
βΒ Β βββ index.js.map # Dotfiles main JS map file.
|
|
330
|
+
βΒ Β βββ paths.sh # Paths loader file.
|
|
331
|
+
βββ Makefile # Makefile.
|
|
332
|
+
βββ filesizes.txt # Filesizes in the `dist` directory.
|
|
333
|
+
|
|
334
|
+
35 directories, 83 files
|
|
322
335
|
```
|
|
323
336
|
|
|
324
337
|
## π Releases
|
|
@@ -400,7 +413,8 @@ bunch of awesome [contributors](https://github.com/sebastienrousseau/dotfiles/gr
|
|
|
400
413
|
[contributing]: https://github.com/sebastienrousseau/dotfiles/blob/master/.github/CONTRIBUTING.md
|
|
401
414
|
[curl]: https://curl.se/
|
|
402
415
|
[docs]: https://github.com/sebastienrousseau/dotfiles/docs
|
|
403
|
-
[download]: https://github.com/sebastienrousseau/dotfiles/archive/refs/tags/v0.2.
|
|
416
|
+
[download]: https://github.com/sebastienrousseau/dotfiles/archive/refs/tags/v0.2.455.tar.gz
|
|
417
|
+
[getting-started]: https://github.com/sebastienrousseau/dotfiles#getting-started
|
|
404
418
|
[git]: https://git-scm.com/
|
|
405
419
|
[github]: https://github.com/sebastienrousseau/dotfiles
|
|
406
420
|
[issues]: https://github.com/sebastienrousseau/dotfiles/issues
|
|
@@ -414,7 +428,7 @@ bunch of awesome [contributors](https://github.com/sebastienrousseau/dotfiles/gr
|
|
|
414
428
|
|
|
415
429
|
[logo]: https://github.com/sebastienrousseau/dotfiles/raw/master/assets/dotfiles.svg
|
|
416
430
|
[download_button]: https://github.com/sebastienrousseau/dotfiles/raw/master/assets/button-secondary.svg
|
|
417
|
-
[
|
|
431
|
+
[getting_started]: https://github.com/sebastienrousseau/dotfiles/raw/master/assets/button-primary.svg
|
|
418
432
|
[codacy-grade]: https://img.shields.io/codacy/grade/634cfc4de08e492ebcbb341631066241?style=for-the-badge
|
|
419
433
|
[codacy-url]:https://www.codacy.com/gh/sebastienrousseau/dotfiles/dashboard
|
|
420
434
|
[contributors-shield]: https://img.shields.io/github/contributors/sebastienrousseau/dotfiles.svg?style=for-the-badge
|
package/package.json
CHANGED
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
{
|
|
2
|
+
"assets": [
|
|
3
|
+
"index.js"
|
|
4
|
+
],
|
|
2
5
|
"author": "Sebastien Rousseau (https://github.com/sebastienrousseau)",
|
|
3
6
|
"autoupdate": {
|
|
4
7
|
"fileMap": [
|
|
@@ -23,26 +26,30 @@
|
|
|
23
26
|
],
|
|
24
27
|
"description": "Dotfiles - A set of macOS / Linux and Windows configuration files - Simply designed to fit your shell life.",
|
|
25
28
|
"devDependencies": {
|
|
29
|
+
"@changesets/cli": "^2.25.0",
|
|
30
|
+
"@types/node": "^16.11.64",
|
|
31
|
+
"@types/shelljs": "0.8.11",
|
|
26
32
|
"filesizes": "^0.1.2",
|
|
27
|
-
"
|
|
28
|
-
"
|
|
33
|
+
"jsmin": "^1.0.1",
|
|
34
|
+
"nps": "^5.10.0",
|
|
35
|
+
"pnpm": "^7.13.2",
|
|
36
|
+
"rimraf": "^3.0.2",
|
|
37
|
+
"shelljs": "^0.8.5",
|
|
38
|
+
"tsd": "0.24.1",
|
|
39
|
+
"typescript": "^4.8.4",
|
|
40
|
+
"shelljs-nodecli": "^0.1.1"
|
|
29
41
|
},
|
|
30
42
|
"directories": {
|
|
31
43
|
"bin": "./bin",
|
|
32
|
-
"docs": "./docs",
|
|
33
44
|
"shell": "./shell"
|
|
34
45
|
},
|
|
46
|
+
"engines": {
|
|
47
|
+
"node": "^12.20.0 || ^14.13.1 || >=16.0.0"
|
|
48
|
+
},
|
|
49
|
+
"exports": "./index.js",
|
|
35
50
|
"files": [
|
|
36
|
-
"
|
|
37
|
-
"/
|
|
38
|
-
"/COPYRIGHT",
|
|
39
|
-
"/LICENSE",
|
|
40
|
-
"/Makefile",
|
|
41
|
-
"/package.json",
|
|
42
|
-
"/pnpm-lock.yaml",
|
|
43
|
-
"/pnpm-workspace.yaml",
|
|
44
|
-
"/README.md",
|
|
45
|
-
"/shell"
|
|
51
|
+
"index.js",
|
|
52
|
+
"dist/"
|
|
46
53
|
],
|
|
47
54
|
"homepage": "https://dotfiles.io/",
|
|
48
55
|
"keywords": [
|
|
@@ -57,7 +64,8 @@
|
|
|
57
64
|
],
|
|
58
65
|
"license": "MIT",
|
|
59
66
|
"license_URI": "http://www.opensource.org/licenses/mit-license.php",
|
|
60
|
-
"
|
|
67
|
+
"lockfileVersion": 1,
|
|
68
|
+
"main": "./dist/index.js",
|
|
61
69
|
"name": "@sebastienrousseau/dotfiles",
|
|
62
70
|
"publishConfig": {
|
|
63
71
|
"access": "public",
|
|
@@ -67,36 +75,40 @@
|
|
|
67
75
|
"type": "git",
|
|
68
76
|
"url": "git@github.com:sebastienrousseau/dotfiles.git"
|
|
69
77
|
},
|
|
70
|
-
"
|
|
71
|
-
"version": "0.2.
|
|
78
|
+
"types": "./dist/index.d.ts",
|
|
79
|
+
"version": "0.2.455",
|
|
72
80
|
"scripts": {
|
|
73
81
|
"backup": "pnpm run bk:dir && pnpm run bk:bsh && pnpm run bk:zsh",
|
|
74
82
|
"bk:bsh": "if [ -z $HOME/.bashrc ]; then mv -f $HOME/.bashrc $HOME/.dotfiles_backup/bashrc.bk; fi ",
|
|
75
83
|
"bk:dir": "if [ -d $HOME/.dotfiles ]; then mv -f $HOME/.dotfiles $HOME/dotfiles_backup; fi ",
|
|
76
84
|
"bk:zsh": "if [ -z $HOME/.zshrc ]; then mv -f $HOME/.zshrc $HOME/.dotfiles_backup/zshrc.bk; fi ",
|
|
77
|
-
"
|
|
78
|
-
"clean:dist": "rimraf \"dist/\"",
|
|
79
|
-
"copy": "pnpm run cp:dirs && pnpm run cp:bash && pnpm run cp:prof && pnpm run cp:tmux && pnpm run cp:curl && pnpm run cp:jsht && pnpm run cp:inpt && pnpm run cp:cert && pnpm run cp:vimr && pnpm run cp:wget && pnpm run cp:zshr",
|
|
85
|
+
"copy": "chmod 755 \"./bin/copy.sh\" && ./bin/copy.sh",
|
|
80
86
|
"cp:bash": "cp ./shell/configurations/bash/bashrc $HOME/.bashrc",
|
|
81
|
-
"cp:bin": "cp -R ./bin/ ./dist",
|
|
87
|
+
"cp:bin": "cp -R ./bin/ ./dist/bin",
|
|
82
88
|
"cp:cert": "cp ./shell/configurations/curl/cacert.pem $HOME/cacert.pem",
|
|
83
89
|
"cp:curl": "cp ./shell/configurations/curl/curlrc $HOME/.curlrc",
|
|
84
|
-
"cp:dirs": "cp -R ./shell $HOME/.dotfiles/shell
|
|
85
|
-
"cp:docs": "cp -R ./docs ./dist/docs && cp ./README.md ./dist && cp ./LICENSE ./dist && cp ./COPYRIGHT ./dist",
|
|
90
|
+
"cp:dirs": "cp -R ./shell $HOME/.dotfiles/shell/",
|
|
86
91
|
"cp:inpt": "cp ./shell/configurations/inputrc/inputrc $HOME/.inputrc",
|
|
87
92
|
"cp:jsht": "cp ./shell/configurations/jshint/jshintrc $HOME/.jshintrc",
|
|
88
93
|
"cp:make": "cp ./Makefile ./dist",
|
|
89
94
|
"cp:prof": "cp ./shell/configurations/profile/profile $HOME/.profile",
|
|
90
|
-
"cp:shell": "cp -R ./shell/ ./dist",
|
|
95
|
+
"cp:shell": "cp -R ./shell/ ./dist/shell/",
|
|
91
96
|
"cp:tmux": "cp ./shell/configurations/tmux/tmux $HOME/.tmux.conf",
|
|
92
97
|
"cp:vimr": "cp ./shell/configurations/vim/vimrc $HOME/.vimrc",
|
|
93
98
|
"cp:wget": "cp ./shell/configurations/wget/wgetrc $HOME/.wgetrc",
|
|
94
99
|
"cp:zshr": "cp ./shell/configurations/zsh/zshrc $HOME/.zshrc",
|
|
100
|
+
"clean": "rimraf \"dist/\" && tsc --build --clean",
|
|
101
|
+
"cl:tmp": "rimraf \"./dist/shell/**/*.tmp\"",
|
|
102
|
+
"assemble": "pnpm run backup && pnpm run directory && pnpm run copy",
|
|
103
|
+
"build": "pnpm run clean && tsc --build tsconfig.json && pnpm run compile",
|
|
104
|
+
"changeset": "changeset",
|
|
105
|
+
"compile": "chmod 755 \"./bin/compile.sh\" && ./bin/compile.sh",
|
|
95
106
|
"directory": "mkdir $HOME/.dotfiles",
|
|
96
|
-
"filesizes": "filesizes dist/ > dist/filesizes.txt",
|
|
97
|
-
"help": "sh ./bin/dotfiles.sh
|
|
98
|
-
"
|
|
99
|
-
"start": "node index.js",
|
|
100
|
-
"test": "echo \"Error: no test specified\" && exit 1"
|
|
107
|
+
"filesizes": "filesizes ./dist/ > ./dist/filesizes.txt",
|
|
108
|
+
"help": "chmod 755 \"./bin/dotfiles.sh\" && ./bin/dotfiles.sh",
|
|
109
|
+
"minify": "jsmin ./shell/index.js > dist/shell/index.js",
|
|
110
|
+
"start": "node dist/shell/index.js",
|
|
111
|
+
"test": "echo \"Error: no test specified\" && exit 1",
|
|
112
|
+
"version": "pnpm changeset version && pnpm run assemble --no-frozen-lockfile"
|
|
101
113
|
}
|
|
102
114
|
}
|
package/COPYRIGHT
DELETED
package/Makefile
DELETED
|
@@ -1,79 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env make -f
|
|
2
|
-
|
|
3
|
-
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.453) - https://dotfiles.io
|
|
4
|
-
# Copyright (c) Sebastien Rousseau 2022. All rights reserved
|
|
5
|
-
# License: MIT
|
|
6
|
-
|
|
7
|
-
.DEFAULT_GOAL := help
|
|
8
|
-
|
|
9
|
-
homedir := ./installer
|
|
10
|
-
language := en
|
|
11
|
-
PNPM := $(shell command -v pnpm 2> /dev/null)
|
|
12
|
-
HOMEDIR:= $(shell pwd)
|
|
13
|
-
|
|
14
|
-
.PHONY: backup
|
|
15
|
-
backup: # @HELP Backup your current dotfiles.
|
|
16
|
-
backup: ## Backup your current dotfiles.
|
|
17
|
-
ifdef PNPM
|
|
18
|
-
pnpm run backup
|
|
19
|
-
else
|
|
20
|
-
sh $(HOMEDIR)/bin/dotfiles.sh backup
|
|
21
|
-
endif
|
|
22
|
-
|
|
23
|
-
.PHONY: installer
|
|
24
|
-
installer: # @HELP Install the dotfiles on your system.
|
|
25
|
-
installer: ## Install the dotfiles on your system.
|
|
26
|
-
ifdef PNPM
|
|
27
|
-
pnpm run installer
|
|
28
|
-
else
|
|
29
|
-
sh $(HOMEDIR)/bin/dotfiles installer
|
|
30
|
-
endif
|
|
31
|
-
|
|
32
|
-
.PHONY: copy
|
|
33
|
-
copy: # @HELP Copy the dotfiles on your system.
|
|
34
|
-
copy: ## Copy the dotfiles on your system.
|
|
35
|
-
ifdef PNPM
|
|
36
|
-
pnpm run copy
|
|
37
|
-
else
|
|
38
|
-
sh $(HOMEDIR)/bin/dotfiles copy
|
|
39
|
-
endif
|
|
40
|
-
|
|
41
|
-
.PHONY: download
|
|
42
|
-
download: # @HELP Download the dotfiles on your system.
|
|
43
|
-
download: ## Download the dotfiles on your system.
|
|
44
|
-
ifdef PNPM
|
|
45
|
-
pnpm run download
|
|
46
|
-
else
|
|
47
|
-
sh $(HOMEDIR)/bin/dotfiles download
|
|
48
|
-
endif
|
|
49
|
-
|
|
50
|
-
.PHONY: unpack
|
|
51
|
-
unpack: # @HELP Unpack the dotfiles on your system.
|
|
52
|
-
unpack: ## Unpack the dotfiles on your system.
|
|
53
|
-
ifdef PNPM
|
|
54
|
-
pnpm run unpack
|
|
55
|
-
else
|
|
56
|
-
sh $(HOMEDIR)/bin/dotfiles unpack
|
|
57
|
-
endif
|
|
58
|
-
|
|
59
|
-
.PHONY: clean
|
|
60
|
-
clean: # @HELP Removes any previous setup directories. (site, theme source and theme folders)
|
|
61
|
-
clean:
|
|
62
|
-
ifdef PNPM
|
|
63
|
-
pnpm run clean
|
|
64
|
-
else
|
|
65
|
-
sh $(HOMEDIR)/bin/dotfiles clean
|
|
66
|
-
endif
|
|
67
|
-
|
|
68
|
-
.PHONY: help
|
|
69
|
-
help: # @HELP Display the help menu.
|
|
70
|
-
help:
|
|
71
|
-
ifdef PNPM
|
|
72
|
-
pnpm run help
|
|
73
|
-
else
|
|
74
|
-
@grep -E '^.*: *# *@HELP' $(MAKEFILE_LIST) \
|
|
75
|
-
| awk ' \
|
|
76
|
-
BEGIN {FS = ": *# *@HELP"}; \
|
|
77
|
-
{ printf " %-30s %s\n"$$1$$2 }; \
|
|
78
|
-
'
|
|
79
|
-
endif
|