@sebastienrousseau/dotfiles 0.2.452 → 0.2.454
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 +268 -189
- package/{Makefile → dist/Makefile} +7 -8
- package/dist/bin/compile.sh +16 -0
- package/dist/bin/copy.sh +21 -0
- package/{bin → dist/bin}/dotfiles.sh +67 -32
- package/dist/filesizes.txt +176 -0
- package/{shell → dist/shell}/README.md +0 -0
- package/{shell → dist/shell}/aliases/default/default.aliases.sh +1 -1
- package/{shell → dist/shell}/aliases/gcloud/gcloud.aliases.sh +1 -1
- package/{shell → dist/shell}/aliases/heroku/heroku.aliases.sh +1 -1
- package/{shell → dist/shell}/aliases/jekyll/jekyll.aliases.sh +1 -1
- package/{shell → dist/shell}/aliases/pnpm/pnpm.aliases.sh +1 -1
- package/{shell → dist/shell}/aliases/subversion/subversion.aliases.sh +1 -1
- package/{shell → dist/shell}/aliases/tmux/tmux.aliases.sh +1 -1
- package/{shell → dist/shell}/aliases.sh +1 -1
- package/{shell/aliases/pnpm → dist/shell/configurations}/README.md +0 -0
- package/{shell → dist/shell}/configurations/bash/bashrc +2 -2
- package/{shell → dist/shell}/configurations/curl/cacert.pem +0 -0
- package/{shell → dist/shell}/configurations/curl/curlrc +1 -1
- package/{shell → dist/shell}/configurations/default/color.sh +1 -1
- package/{shell → dist/shell}/configurations/default/editor.sh +1 -1
- package/{shell → dist/shell}/configurations/default/prompt.sh +6 -6
- package/{shell → dist/shell}/configurations/inputrc/inputrc +2 -2
- package/{shell → dist/shell}/configurations/jshint/jshintrc +0 -0
- package/{shell → dist/shell}/configurations/profile/profile +1 -1
- package/{shell → dist/shell}/configurations/tmux/tmux +2 -2
- package/{shell → dist/shell}/configurations/vim/vimrc +1 -1
- package/{shell → dist/shell}/configurations/wget/wgetrc +1 -1
- package/{shell → dist/shell}/configurations/zsh/zshrc +12 -2
- package/{shell → dist/shell}/configurations.sh +1 -1
- package/{shell → dist/shell}/exit.sh +1 -1
- package/{shell/configurations → dist/shell/functions}/README.md +0 -0
- package/{shell → dist/shell}/functions/cdls.sh +1 -1
- package/{shell → dist/shell}/functions/curlheader.sh +1 -1
- package/{shell → dist/shell}/functions/curltime.sh +1 -1
- package/{shell → dist/shell}/functions/encode64.sh +1 -1
- package/{shell → dist/shell}/functions/environment.sh +8 -8
- package/{shell → dist/shell}/functions/extract.sh +2 -2
- package/{shell → dist/shell}/functions/filehead.sh +0 -0
- package/{shell → dist/shell}/functions/genpwd.sh +1 -1
- package/{shell → dist/shell}/functions/goto.sh +2 -2
- package/{shell → dist/shell}/functions/hidehiddenfiles.sh +1 -1
- package/{shell → dist/shell}/functions/hostinfo.sh +1 -1
- package/{shell → dist/shell}/functions/hstats.sh +1 -1
- package/{shell → dist/shell}/functions/httpdebug.sh +1 -1
- package/{shell → dist/shell}/functions/keygen.sh +4 -4
- package/{shell → dist/shell}/functions/last.sh +1 -1
- package/{shell → dist/shell}/functions/logout.sh +1 -1
- package/{shell → dist/shell}/functions/lowercase.sh +1 -1
- package/{shell → dist/shell}/functions/macos.sh +1 -1
- package/{shell → dist/shell}/functions/matrix.sh +1 -1
- package/{shell → dist/shell}/functions/mcd.sh +1 -1
- package/{shell → dist/shell}/functions/mount_read_only.sh +1 -1
- package/{shell → dist/shell}/functions/myproc.sh +2 -2
- package/{shell → dist/shell}/functions/prependpath.sh +1 -1
- package/{shell → dist/shell}/functions/ql.sh +1 -1
- package/{shell → dist/shell}/functions/rd.sh +1 -1
- package/{shell → dist/shell}/functions/remove_disk.sh +1 -1
- package/{shell → dist/shell}/functions/ren.sh +2 -2
- package/{shell → dist/shell}/functions/showhiddenfiles.sh +1 -1
- package/{shell → dist/shell}/functions/size.sh +1 -1
- package/{shell → dist/shell}/functions/stopwatch.sh +1 -1
- package/{shell → dist/shell}/functions/uppercase.sh +2 -2
- package/{shell → dist/shell}/functions/view-source.sh +1 -1
- package/{shell → dist/shell}/functions/vscode.sh +1 -1
- package/{shell → dist/shell}/functions/whoisport.sh +1 -1
- package/{shell → dist/shell}/functions/zipf.sh +1 -1
- package/{shell → dist/shell}/functions.sh +1 -1
- package/{shell → dist/shell}/history.sh +3 -6
- package/dist/shell/index.d.ts +2 -0
- package/dist/shell/index.d.ts.map +1 -0
- package/dist/shell/index.js +2 -0
- package/dist/shell/index.js.map +1 -0
- package/{shell → dist/shell}/paths/ant/ant.paths.sh +1 -1
- package/{shell → dist/shell}/paths/default/default.paths.sh +1 -1
- package/{shell → dist/shell}/paths/homebrew/homebrew.paths.sh +4 -1
- package/{shell → dist/shell}/paths/java/java.paths.sh +1 -1
- package/{shell → dist/shell}/paths/maven/maven.paths.sh +3 -2
- package/{shell → dist/shell}/paths/node/node.paths.sh +2 -2
- package/{shell → dist/shell}/paths/nvm/nvm.paths.sh +1 -1
- package/{shell → dist/shell}/paths/pnpm/pnpm.paths.sh +2 -2
- package/dist/shell/paths/python/python.paths.sh +29 -0
- package/{shell → dist/shell}/paths/ruby/ruby.paths.sh +1 -1
- package/{shell → dist/shell}/paths/tmux/tmux.paths.sh +3 -3
- package/{shell → dist/shell}/paths.sh +1 -1
- package/package.json +33 -27
- package/COPYRIGHT +0 -5
- package/index.js +0 -24
- package/pnpm-lock.yaml +0 -178
- package/pnpm-workspace.yaml +0 -2
- package/shell/aliases/README.md +0 -327
- package/shell/aliases/default/README.md +0 -0
- package/shell/aliases/gcloud/README.md +0 -117
- package/shell/aliases/git/README.md +0 -279
- package/shell/aliases/git/git.aliases.wip +0 -586
- package/shell/aliases/heroku/README.md +0 -457
- package/shell/aliases/jekyll/README.md +0 -32
- package/shell/aliases/subversion/README.md +0 -54
- package/shell/aliases/tmux/README.md +0 -0
- package/shell/functions/README.md +0 -3
- package/shell/functions/changediskpwd.sh +0 -19
- package/shell/functions/code.sh +0 -18
- package/shell/functions/countdown.sh +0 -33
- package/shell/functions/headers.sh +0 -4
- package/shell/functions/history-all.sh +0 -7
- package/shell/functions/print.sh +0 -13
- package/shell/functions/rm.sh +0 -13
- package/shell/functions/rps.sh +0 -103
- package/shell/functions/trash.sh +0 -13
- package/shell/functions/tree.sh +0 -13
- package/shell/functions/uuidgen.sh +0 -27
package/README.md
CHANGED
|
@@ -1,19 +1,29 @@
|
|
|
1
1
|
# Dotfiles
|
|
2
2
|
|
|
3
|
-
![Banner representing the Dotfiles Library]
|
|
3
|
+
[![Banner representing the Dotfiles Library][logo]][website]
|
|
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]][
|
|
9
|
+
[![Love][love]][website]
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
**[Website][website] • [Documentation][github]
|
|
12
|
+
• [Report Bug][issues]
|
|
13
|
+
• [Request Feature][issues]
|
|
14
|
+
• [Contributing Guidelines][contributing]**
|
|
12
15
|
|
|
13
|
-
|
|
16
|
+
## 👋 Welcome to Dotfiles (v0.2.454)
|
|
14
17
|
|
|
15
18
|
### Simply designed to fit your shell life
|
|
16
19
|
|
|
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.
|
|
23
|
+
|
|
24
|
+
[![Getting Started][getting_started]][getting-started]
|
|
25
|
+
[![Download Dotfiles v0.2.454][download_button]][download]
|
|
26
|
+
|
|
17
27
|
Dotfiles aggregates a collection of standalone configuration files (dotfiles)
|
|
18
28
|
combined into a `shell` directory that can be used to customize your development
|
|
19
29
|
environment across numerous computers and operating systems (macOS, Windows,
|
|
@@ -29,62 +39,71 @@ and centralized way to configure your environment and applications.
|
|
|
29
39
|
|
|
30
40
|
To read the documentation for Dotfiles, please visit:
|
|
31
41
|
|
|
32
|
-
- [Dotfiles website][
|
|
33
|
-
- [Dotfiles Docs GitHub repository]
|
|
42
|
+
- [Dotfiles website][website]
|
|
43
|
+
- [Dotfiles Docs GitHub repository][docs]
|
|
34
44
|
|
|
35
45
|
![divider][divider]
|
|
36
46
|
|
|
37
|
-
##
|
|
47
|
+
## 🚀 Getting Started
|
|
38
48
|
|
|
39
49
|
We are so delighted that you have decided to try Dotfiles, and are sure that you
|
|
40
50
|
will find Dotfiles unique and helpful.
|
|
41
51
|
|
|
42
|
-
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
|
|
43
54
|
across numerous computers and operating systems (macOS, Windows, Linux).
|
|
44
55
|
|
|
56
|
+
### 🔧 Installation
|
|
57
|
+
|
|
45
58
|
We understand that you may want to install Dotfiles without reading long manuals
|
|
46
|
-
and lengthy documentation.
|
|
47
|
-
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.
|
|
64
|
+
|
|
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.
|
|
67
|
+
|
|
68
|
+
#### 📋 System Requirements
|
|
48
69
|
|
|
49
|
-
|
|
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.
|
|
50
72
|
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
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.)
|
|
54
79
|
|
|
55
80
|
![divider][divider]
|
|
56
81
|
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
The following
|
|
60
|
-
|
|
61
|
-
- [**Bash**]
|
|
62
|
-
|
|
63
|
-
- Or [**Zsh**]
|
|
64
|
-
|
|
65
|
-
- [**Git**]
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
- [**
|
|
69
|
-
|
|
70
|
-
- [**
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
- [**Shell**](https://www.gnu.org/software/shell/) - a shell command line
|
|
77
|
-
interpreter program for Unix-like operating systems.
|
|
78
|
-
- [**PnPM**](https://pnpm.io) - a package manager for JavaScript and Node.js. It
|
|
79
|
-
is fast, disk space efficient and reliable.
|
|
82
|
+
#### ✔️ Software Requirements
|
|
83
|
+
|
|
84
|
+
The following programs must be installed on your system to install Dotfiles:
|
|
85
|
+
|
|
86
|
+
- [**Bash**][bash] - a shell, or command language interpreter, for the GNU
|
|
87
|
+
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.
|
|
80
101
|
|
|
81
102
|
### 1️⃣ Download Dotfiles
|
|
82
103
|
|
|
83
|
-
You can download the latest version (v0.2.
|
|
84
|
-
options:
|
|
104
|
+
You can download the latest version (v0.2.454) with the following options:
|
|
85
105
|
|
|
86
|
-
- [**Manual download**]
|
|
87
|
-
directory. **This is the easiest way to install Dotfiles.**
|
|
106
|
+
- [**Manual download**][releases] - **The easiest way to install Dotfiles.**
|
|
88
107
|
- [**Install with PnPM**](https://www.npmjs.com/package/@sebastienrousseau/dotfiles)
|
|
89
108
|
`pnpm i -g @sebastienrousseau/dotfiles`.
|
|
90
109
|
- [**Install with Npm**](https://www.npmjs.com/package/@sebastienrousseau/dotfiles)
|
|
@@ -99,184 +118,227 @@ options:
|
|
|
99
118
|
|
|
100
119
|
Before installing Dotfiles, we strongly recommend that you back up your existing
|
|
101
120
|
data. The Dotfiles installer will try to automatically backup any previous
|
|
102
|
-
installation of known dotfiles
|
|
121
|
+
installation of known dotfiles into a backup directory
|
|
122
|
+
`$HOME/.dotfiles/backup`.
|
|
103
123
|
|
|
104
|
-
|
|
105
|
-
|
|
124
|
+
The backup files are the following:
|
|
125
|
+
|
|
126
|
+
```bash
|
|
127
|
+
.alias
|
|
128
|
+
.bash_aliases
|
|
129
|
+
.bash_profile
|
|
130
|
+
.bash_prompt
|
|
131
|
+
.bashrc
|
|
132
|
+
.curlrc
|
|
133
|
+
.dir_colors
|
|
134
|
+
.exports
|
|
135
|
+
.functions
|
|
136
|
+
.gitattributes
|
|
137
|
+
.gitconfig
|
|
138
|
+
.gitignore
|
|
139
|
+
.gitmessage
|
|
140
|
+
.inputrc
|
|
141
|
+
.npmrc
|
|
142
|
+
.path
|
|
143
|
+
.profile
|
|
144
|
+
.tmux.conf
|
|
145
|
+
.vimrc
|
|
146
|
+
.wgetrc
|
|
147
|
+
.yarnrc
|
|
148
|
+
.zshenv
|
|
149
|
+
.zshrc
|
|
150
|
+
cacert.pem
|
|
151
|
+
```
|
|
106
152
|
|
|
107
|
-
|
|
153
|
+
After installation, you will find the backup files in the `~/dotfiles_backup`
|
|
154
|
+
directory. It is always a good idea to backup as there might be situations in which you
|
|
108
155
|
could be required to restore your previous installation.
|
|
109
156
|
|
|
110
157
|
### 3️⃣ Try it out and let us know what you think
|
|
111
158
|
|
|
112
159
|
To install the latest version of the dotfiles, run the following command:
|
|
113
160
|
|
|
114
|
-
#### Using make (
|
|
161
|
+
#### Using make (easiest)
|
|
162
|
+
|
|
163
|
+
The easiest way to install Dotfiles is to use the `make` command. This will
|
|
164
|
+
install the latest version of the dotfiles and will automatically backup
|
|
165
|
+
any existing dotfiles you may have into a backup directory
|
|
166
|
+
`$HOME/dotfiles_backup`.
|
|
167
|
+
|
|
168
|
+
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.
|
|
169
|
+
|
|
170
|
+
Switch to the `dist` directory and run:
|
|
115
171
|
|
|
116
172
|
```bash
|
|
117
|
-
make
|
|
173
|
+
make prepare
|
|
118
174
|
```
|
|
119
175
|
|
|
120
|
-
|
|
176
|
+
You can also just check the installer options available, by simply running:
|
|
121
177
|
|
|
122
178
|
```bash
|
|
123
179
|
make help
|
|
124
180
|
```
|
|
125
181
|
|
|
126
|
-
#### Using PnPM (recommended if you have PnPM installed)
|
|
182
|
+
#### Using PnPM (highly recommended if you have PnPM installed)
|
|
183
|
+
|
|
184
|
+
PnPM is a key dependency of the dotfiles package. It will help you install the
|
|
185
|
+
dotfiles rapidly and very efficiently.
|
|
186
|
+
|
|
187
|
+
Switch to the `dist` directory and run:
|
|
127
188
|
|
|
128
189
|
```bash
|
|
129
|
-
pnpm
|
|
190
|
+
pnpm run prepare
|
|
130
191
|
```
|
|
131
192
|
|
|
193
|
+
### Post installation
|
|
194
|
+
|
|
195
|
+
Following the installation, you can verify that the dotfiles package is installed
|
|
196
|
+
in the following directory `$HOME/.dotfiles_backup`.
|
|
197
|
+
|
|
198
|
+
Just quit your terminal and restart it. If the installation is successful, you
|
|
199
|
+
should be able to see a new interface of your terminal and be able to start
|
|
200
|
+
using the dotfiles aliases and other configurations.
|
|
201
|
+
|
|
202
|
+
Please refer to the [documentation][docs] for more information.
|
|
203
|
+
|
|
132
204
|
![divider][divider]
|
|
133
205
|
|
|
134
206
|
### 4️⃣ What's included
|
|
135
207
|
|
|
136
|
-
Dotfiles contains core elements that are used to configure your
|
|
137
|
-
and other components catered for your development environment setup.
|
|
208
|
+
Dotfiles contains core elements that are used to configure your shell, and other components catered for your environment setup.
|
|
138
209
|
|
|
139
|
-
Within the download you'll find all the Dotfiles source files grouped
|
|
210
|
+
Within the download you'll find all the Dotfiles source files grouped within the
|
|
140
211
|
`shell` folder.
|
|
141
212
|
|
|
142
213
|
You'll see something like this:
|
|
143
214
|
|
|
144
215
|
```bash
|
|
145
216
|
.
|
|
146
|
-
├──
|
|
147
|
-
│
|
|
148
|
-
|
|
149
|
-
│
|
|
150
|
-
│ ├──
|
|
151
|
-
│ │ ├── README.md
|
|
152
|
-
│ │ └──
|
|
153
|
-
│ ├──
|
|
154
|
-
│ │
|
|
155
|
-
│ │
|
|
156
|
-
│ ├── heroku
|
|
157
|
-
│ │
|
|
158
|
-
│ │
|
|
159
|
-
│
|
|
160
|
-
│ │ ├──
|
|
161
|
-
│ │ └──
|
|
162
|
-
│ ├──
|
|
163
|
-
│ │
|
|
164
|
-
│ │ └──
|
|
165
|
-
│
|
|
166
|
-
│
|
|
167
|
-
│ │
|
|
168
|
-
│
|
|
169
|
-
│ │ ├──
|
|
170
|
-
│ │
|
|
171
|
-
│ └──
|
|
172
|
-
├──
|
|
173
|
-
│ ├──
|
|
174
|
-
│ │
|
|
175
|
-
│
|
|
176
|
-
│ │ ├──
|
|
177
|
-
│ │ └──
|
|
178
|
-
│ ├──
|
|
179
|
-
│ │
|
|
180
|
-
│ │ ├──
|
|
181
|
-
│ │ └──
|
|
182
|
-
│ ├──
|
|
183
|
-
│ │ └──
|
|
184
|
-
│ ├──
|
|
185
|
-
│ │ └──
|
|
186
|
-
│ ├──
|
|
187
|
-
│ │ └──
|
|
188
|
-
│ ├──
|
|
189
|
-
│ │ └──
|
|
190
|
-
│
|
|
191
|
-
│
|
|
192
|
-
│ ├──
|
|
193
|
-
│ │
|
|
194
|
-
│ ├──
|
|
195
|
-
│ │
|
|
196
|
-
│
|
|
197
|
-
├──
|
|
198
|
-
│ ├──
|
|
199
|
-
│ ├──
|
|
200
|
-
│ ├──
|
|
201
|
-
│ ├──
|
|
202
|
-
│ ├──
|
|
203
|
-
│ ├──
|
|
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
|
-
├── README.md
|
|
267
|
-
├── aliases.sh # aliases loader
|
|
268
|
-
├── configurations.sh # configurations loader
|
|
269
|
-
├── exit.sh # exit loader
|
|
270
|
-
├── functions.sh # functions loader
|
|
271
|
-
├── history.sh # history loader
|
|
272
|
-
└── paths.sh # paths loader
|
|
273
|
-
|
|
274
|
-
32 directories, 95 files
|
|
217
|
+
├── bin
|
|
218
|
+
│ └── dotfiles.sh
|
|
219
|
+
├── shell
|
|
220
|
+
│ ├── aliases
|
|
221
|
+
│ │ ├── default
|
|
222
|
+
│ │ │ ├── README.md
|
|
223
|
+
│ │ │ └── default.aliases.sh # Default aliases.
|
|
224
|
+
│ │ ├── gcloud
|
|
225
|
+
│ │ │ └── gcloud.aliases.sh # GCloud aliases.
|
|
226
|
+
│ │ ├── git
|
|
227
|
+
│ │ ├── heroku
|
|
228
|
+
│ │ │ └── heroku.aliases.sh # Heroku aliases.
|
|
229
|
+
│ │ ├── jekyll
|
|
230
|
+
│ │ │ └── jekyll.aliases.sh # Jekyll aliases.
|
|
231
|
+
│ │ ├── pnpm
|
|
232
|
+
│ │ │ └── pnpm.aliases.sh # Pnpm aliases.
|
|
233
|
+
│ │ ├── subversion
|
|
234
|
+
│ │ │ └── subversion.aliases.sh # Subversion aliases.
|
|
235
|
+
│ │ └── tmux
|
|
236
|
+
│ │ └── tmux.aliases.sh # Tmux aliases.
|
|
237
|
+
│ ├── configurations
|
|
238
|
+
│ │ ├── bash
|
|
239
|
+
│ │ │ └── bashrc # Bashrc configuration file.
|
|
240
|
+
│ │ ├── curl
|
|
241
|
+
│ │ │ ├── cacert.pem # CA Certificates.
|
|
242
|
+
│ │ │ └── curlrc # Curlrc configuration file.
|
|
243
|
+
│ │ ├── default
|
|
244
|
+
│ │ │ ├── color.sh # Color definitions.
|
|
245
|
+
│ │ │ ├── editor.sh # Editor definitions.
|
|
246
|
+
│ │ │ └── prompt.sh # Prompt definitions.
|
|
247
|
+
│ │ ├── inputrc
|
|
248
|
+
│ │ │ └── inputrc # Inputrc configuration file.
|
|
249
|
+
│ │ ├── jshint
|
|
250
|
+
│ │ │ └── jshintrc # Jshintrc configuration file.
|
|
251
|
+
│ │ ├── profile
|
|
252
|
+
│ │ │ └── profile # Profile configuration file.
|
|
253
|
+
│ │ ├── tmux
|
|
254
|
+
│ │ │ └── tmux # Tmux configuration file.
|
|
255
|
+
│ │ ├── vim
|
|
256
|
+
│ │ │ └── vimrc # Vimrc configuration file.
|
|
257
|
+
│ │ ├── wget
|
|
258
|
+
│ │ │ └── wgetrc # Wgetrc configuration file.
|
|
259
|
+
│ │ ├── zsh
|
|
260
|
+
│ │ │ └── zshrc # Zshrc configuration file.
|
|
261
|
+
│ │ └── README.md
|
|
262
|
+
│ ├── functions
|
|
263
|
+
│ │ ├── README.md # Functions documentation.
|
|
264
|
+
│ │ ├── cdls.sh # cdls function.
|
|
265
|
+
│ │ ├── curlheader.sh # curlheader function.
|
|
266
|
+
│ │ ├── curltime.sh # curltime function.
|
|
267
|
+
│ │ ├── encode64.sh # encode64 function.
|
|
268
|
+
│ │ ├── environment.sh # environment function.
|
|
269
|
+
│ │ ├── extract.sh # extract function.
|
|
270
|
+
│ │ ├── filehead.sh # filehead function.
|
|
271
|
+
│ │ ├── genpwd.sh # genpwd function.
|
|
272
|
+
│ │ ├── goto.sh # goto function.
|
|
273
|
+
│ │ ├── hidehiddenfiles.sh # hidehiddenfiles function.
|
|
274
|
+
│ │ ├── hostinfo.sh # hostinfo function.
|
|
275
|
+
│ │ ├── hstats.sh # hstats function.
|
|
276
|
+
│ │ ├── httpdebug.sh # httpdebug function.
|
|
277
|
+
│ │ ├── keygen.sh # keygen function.
|
|
278
|
+
│ │ ├── last.sh # last function.
|
|
279
|
+
│ │ ├── logout.sh # logout function.
|
|
280
|
+
│ │ ├── lowercase.sh # lowercase function.
|
|
281
|
+
│ │ ├── macos.sh # macos function.
|
|
282
|
+
│ │ ├── matrix.sh # matrix function.
|
|
283
|
+
│ │ ├── mcd.sh # mcd function.
|
|
284
|
+
│ │ ├── mount_read_only.sh # mount_read_only function.
|
|
285
|
+
│ │ ├── myproc.sh # myproc function.
|
|
286
|
+
│ │ ├── prependpath.sh # prependpath function.
|
|
287
|
+
│ │ ├── ql.sh # ql function.
|
|
288
|
+
│ │ ├── rd.sh # rd function.
|
|
289
|
+
│ │ ├── remove_disk.sh # remove_disk function.
|
|
290
|
+
│ │ ├── ren.sh # ren function.
|
|
291
|
+
│ │ ├── showhiddenfiles.sh # showhiddenfiles function.
|
|
292
|
+
│ │ ├── size.sh # size function.
|
|
293
|
+
│ │ ├── stopwatch.sh # stopwatch function.
|
|
294
|
+
│ │ ├── uppercase.sh # uppercase function.
|
|
295
|
+
│ │ ├── view-source.sh # view-source function.
|
|
296
|
+
│ │ ├── vscode.sh # vscode function.
|
|
297
|
+
│ │ ├── whoisport.sh # whoisport function.
|
|
298
|
+
│ │ └── zipf.sh # zipf function.
|
|
299
|
+
│ ├── paths
|
|
300
|
+
│ │ ├── ant
|
|
301
|
+
│ │ │ └── ant.paths.sh # Ant paths.
|
|
302
|
+
│ │ ├── default
|
|
303
|
+
│ │ │ └── default.paths.sh # Default paths.
|
|
304
|
+
│ │ ├── homebrew
|
|
305
|
+
│ │ │ └── homebrew.paths.sh # Homebrew paths.
|
|
306
|
+
│ │ ├── java
|
|
307
|
+
│ │ │ └── java.paths.sh # Java paths.
|
|
308
|
+
│ │ ├── maven
|
|
309
|
+
│ │ │ └── maven.paths.sh # Maven paths.
|
|
310
|
+
│ │ ├── node
|
|
311
|
+
│ │ │ └── node.paths.sh # Node paths.
|
|
312
|
+
│ │ ├── nvm
|
|
313
|
+
│ │ │ └── nvm.paths.sh # NVM paths.
|
|
314
|
+
│ │ ├── pnpm
|
|
315
|
+
│ │ │ └── pnpm.paths.sh # Pnpm paths.
|
|
316
|
+
│ │ ├── python
|
|
317
|
+
│ │ │ └── python.paths.sh # Python paths.
|
|
318
|
+
│ │ ├── ruby
|
|
319
|
+
│ │ │ └── ruby.paths.sh # Ruby paths.
|
|
320
|
+
│ │ └── tmux
|
|
321
|
+
│ │ └── tmux.paths.sh # Tmux paths.
|
|
322
|
+
│ ├── README.md # Dotfiles documentation.
|
|
323
|
+
│ ├── aliases.sh # Aliases loader file.
|
|
324
|
+
│ ├── configurations.sh # Configurations loader file.
|
|
325
|
+
│ ├── exit.sh # Exit loader file.
|
|
326
|
+
│ ├── functions.sh # Functions loader file.
|
|
327
|
+
│ ├── history.sh # History loader file.
|
|
328
|
+
│ ├── index.d.ts # Typescript type information.
|
|
329
|
+
│ ├── index.d.ts.map # Typescript type map information.
|
|
330
|
+
│ ├── index.js # Dotfiles main JS file.
|
|
331
|
+
│ ├── index.js.map # Dotfiles main JS map file.
|
|
332
|
+
│ └── paths.sh # Paths loader file.
|
|
333
|
+
├── Makefile # Makefile.
|
|
334
|
+
└── filesizes.txt # Filesizes in the `dist` directory.
|
|
335
|
+
|
|
336
|
+
35 directories, 83 files
|
|
275
337
|
```
|
|
276
338
|
|
|
277
339
|
## 🔗 Releases
|
|
278
340
|
|
|
279
|
-
Releases are available on the [GitHub releases page][releases
|
|
341
|
+
Releases are available on the [GitHub releases page][releases].
|
|
280
342
|
|
|
281
343
|
![divider][divider]
|
|
282
344
|
|
|
@@ -317,7 +379,7 @@ Please read our [Code of Conduct](https://github.com/sebastienrousseau/dotfiles/
|
|
|
317
379
|
## ❤️ Contributing
|
|
318
380
|
|
|
319
381
|
Thank you for using Dotfiles! If you like the library, it would be
|
|
320
|
-
great if you can give it a star ⭐ on [GitHub][
|
|
382
|
+
great if you can give it a star ⭐ on [GitHub][github].
|
|
321
383
|
|
|
322
384
|
There are also many ways in which you can participate in this project, for
|
|
323
385
|
example:
|
|
@@ -327,7 +389,7 @@ example:
|
|
|
327
389
|
- Review the [documentation](https://github.com/sebastienrousseau/dotfiles/docs) and make pull requests for anything from typos to additional and new content.
|
|
328
390
|
|
|
329
391
|
Please read carefully through our
|
|
330
|
-
[Contributing Guidelines]
|
|
392
|
+
[Contributing Guidelines][contributing]
|
|
331
393
|
for further details on the process for submitting pull requests to us.
|
|
332
394
|
|
|
333
395
|
![divider][divider]
|
|
@@ -342,14 +404,33 @@ This project is licensed under the MIT License - see the [LICENSE](https://githu
|
|
|
342
404
|
|
|
343
405
|
## 🏢 Acknowledgements
|
|
344
406
|
|
|
345
|
-
[Dotfiles][
|
|
407
|
+
[Dotfiles][website] is beautifully crafted by these people and a
|
|
346
408
|
bunch of awesome [contributors](https://github.com/sebastienrousseau/dotfiles/graphs/contributors)
|
|
347
409
|
|
|
348
410
|
| [](http://sebastienrousseau.co.uk) | [](https://github.com/gramtech) |
|
|
349
411
|
| :-------------------------------------------------------------------------------------------------------------: | :-------------------------------------------------------------------------------------------------------------: |
|
|
350
412
|
| [Sebastien Rousseau](https://github.com/sebastienrousseau) | [Graham Colgate](https://github.com/gramtech) |
|
|
351
413
|
|
|
352
|
-
[
|
|
414
|
+
[bash]: https://www.gnu.org/software/bash/
|
|
415
|
+
[contributing]: https://github.com/sebastienrousseau/dotfiles/blob/master/.github/CONTRIBUTING.md
|
|
416
|
+
[curl]: https://curl.se/
|
|
417
|
+
[docs]: https://github.com/sebastienrousseau/dotfiles/docs
|
|
418
|
+
[download]: https://github.com/sebastienrousseau/dotfiles/archive/refs/tags/v0.2.454.tar.gz
|
|
419
|
+
[getting-started]: https://github.com/sebastienrousseau/dotfiles#getting-started
|
|
420
|
+
[git]: https://git-scm.com/
|
|
421
|
+
[github]: https://github.com/sebastienrousseau/dotfiles
|
|
422
|
+
[issues]: https://github.com/sebastienrousseau/dotfiles/issues
|
|
423
|
+
[make]: https://www.gnu.org/software/make/
|
|
424
|
+
[pnpm]: https://pnpm.io
|
|
425
|
+
[releases]: https://github.com/sebastienrousseau/dotfiles/releases
|
|
426
|
+
[shell]: https://www.gnu.org/software/shell/
|
|
427
|
+
[website]: https://dotfiles.io
|
|
428
|
+
[wget]: https://www.gnu.org/software/wget/
|
|
429
|
+
[zsh]: https://www.zsh.org/
|
|
430
|
+
|
|
431
|
+
[logo]: https://github.com/sebastienrousseau/dotfiles/raw/master/assets/dotfiles.svg
|
|
432
|
+
[download_button]: https://github.com/sebastienrousseau/dotfiles/raw/master/assets/button-secondary.svg
|
|
433
|
+
[getting_started]: https://github.com/sebastienrousseau/dotfiles/raw/master/assets/button-primary.svg
|
|
353
434
|
[codacy-grade]: https://img.shields.io/codacy/grade/634cfc4de08e492ebcbb341631066241?style=for-the-badge
|
|
354
435
|
[codacy-url]:https://www.codacy.com/gh/sebastienrousseau/dotfiles/dashboard
|
|
355
436
|
[contributors-shield]: https://img.shields.io/github/contributors/sebastienrousseau/dotfiles.svg?style=for-the-badge
|
|
@@ -360,7 +441,5 @@ bunch of awesome [contributors](https://github.com/sebastienrousseau/dotfiles/gr
|
|
|
360
441
|
[license-url]: https://opensource.org/licenses/MIT
|
|
361
442
|
[license]: https://img.shields.io/badge/License-MIT-green.svg?style=for-the-badge\&color=ff69b4
|
|
362
443
|
[love]: https://github.com/sebastienrousseau/dotfiles/raw/master/assets/made-with-love.svg
|
|
363
|
-
[project-url]: https://dotfiles.io/
|
|
364
|
-
[releases-url]: https://github.com/sebastienrousseau/dotfiles/releases
|
|
365
444
|
[semver-url]: http://semver.org/
|
|
366
445
|
[eslint-semantic-url]: https://github.com/eslint/eslint#semantic-versioning-policy
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
#!/usr/bin/env make -f
|
|
2
2
|
|
|
3
|
-
# 🅳🅾🆃🅵🅸🅻🅴🆂 (v0.2.
|
|
3
|
+
# 🅳🅾🆃🅵🅸🅻🅴🆂 (v0.2.454) - https://dotfiles.io
|
|
4
4
|
# Copyright (c) Sebastien Rousseau 2022. All rights reserved
|
|
5
5
|
# License: MIT
|
|
6
6
|
|
|
7
7
|
.DEFAULT_GOAL := help
|
|
8
8
|
|
|
9
|
-
homedir := ./installer
|
|
10
9
|
language := en
|
|
11
10
|
PNPM := $(shell command -v pnpm 2> /dev/null)
|
|
12
11
|
HOMEDIR:= $(shell pwd)
|
|
@@ -20,13 +19,13 @@ else
|
|
|
20
19
|
sh $(HOMEDIR)/bin/dotfiles.sh backup
|
|
21
20
|
endif
|
|
22
21
|
|
|
23
|
-
.PHONY:
|
|
24
|
-
|
|
25
|
-
|
|
22
|
+
.PHONY: prepare
|
|
23
|
+
prepare: # @HELP Prepare the dotfiles on your system.
|
|
24
|
+
prepare: ## Prepare the dotfiles on your system.
|
|
26
25
|
ifdef PNPM
|
|
27
|
-
pnpm run
|
|
26
|
+
pnpm run prepare
|
|
28
27
|
else
|
|
29
|
-
sh $(HOMEDIR)/bin/dotfiles
|
|
28
|
+
sh $(HOMEDIR)/bin/dotfiles prepare
|
|
30
29
|
endif
|
|
31
30
|
|
|
32
31
|
.PHONY: copy
|
|
@@ -57,7 +56,7 @@ else
|
|
|
57
56
|
endif
|
|
58
57
|
|
|
59
58
|
.PHONY: clean
|
|
60
|
-
clean: # @HELP Removes any previous setup directories.
|
|
59
|
+
clean: # @HELP Removes any previous setup directories.
|
|
61
60
|
clean:
|
|
62
61
|
ifdef PNPM
|
|
63
62
|
pnpm run clean
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
#!/usr/bin/env bash
|
|
2
|
+
# 🅳🅾🆃🅵🅸🅻🅴🆂 (v0.2.454) - https://dotfiles.io
|
|
3
|
+
# Copyright (c) Sebastien Rousseau 2022. All rights reserved
|
|
4
|
+
# License: MIT
|
|
5
|
+
|
|
6
|
+
## 🅲🅾🅼🅿🅸🅻🅴 🅳🅾🆃🅵🅸🅻🅴🆂 - Compile dotfiles.
|
|
7
|
+
|
|
8
|
+
compile() {
|
|
9
|
+
pnpm run cp:shell &&
|
|
10
|
+
pnpm run cl:tmp &&
|
|
11
|
+
pnpm run cp:bin &&
|
|
12
|
+
pnpm run cp:make &&
|
|
13
|
+
pnpm run minify &&
|
|
14
|
+
pnpm run filesizes
|
|
15
|
+
}
|
|
16
|
+
compile
|