@sebastienrousseau/dotfiles 0.2.452 → 0.2.453

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (97) hide show
  1. package/COPYRIGHT +1 -1
  2. package/Makefile +1 -1
  3. package/README.md +111 -48
  4. package/bin/dotfiles.sh +13 -6
  5. package/package.json +2 -2
  6. package/pnpm-lock.yaml +140 -86
  7. package/shell/aliases/default/default.aliases.sh +1 -1
  8. package/shell/aliases/gcloud/gcloud.aliases.sh +1 -1
  9. package/shell/aliases/git/git.aliases.wip +1 -1
  10. package/shell/aliases/heroku/heroku.aliases.sh +1 -1
  11. package/shell/aliases/jekyll/jekyll.aliases.sh +1 -1
  12. package/shell/aliases/pnpm/pnpm.aliases.sh +1 -1
  13. package/shell/aliases/subversion/subversion.aliases.sh +1 -1
  14. package/shell/aliases/tmux/tmux.aliases.sh +1 -1
  15. package/shell/aliases.sh +1 -1
  16. package/shell/configurations/bash/bashrc +2 -2
  17. package/shell/configurations/curl/curlrc +1 -1
  18. package/shell/configurations/default/color.sh +1 -1
  19. package/shell/configurations/default/editor.sh +1 -1
  20. package/shell/configurations/default/prompt.sh +6 -6
  21. package/shell/configurations/inputrc/inputrc +2 -2
  22. package/shell/configurations/profile/profile +1 -1
  23. package/shell/configurations/tmux/tmux +2 -2
  24. package/shell/configurations/vim/vimrc +1 -1
  25. package/shell/configurations/wget/wgetrc +1 -1
  26. package/shell/configurations/zsh/zshrc +12 -2
  27. package/shell/configurations.sh +1 -1
  28. package/shell/exit.sh +1 -1
  29. package/shell/functions/cdls.sh +1 -1
  30. package/shell/functions/{changediskpwd.sh → changediskpwd.wip} +1 -1
  31. package/shell/functions/{code.sh → code.wip} +1 -1
  32. package/shell/functions/{countdown.sh → countdown.wip} +1 -1
  33. package/shell/functions/curlheader.sh +1 -1
  34. package/shell/functions/curltime.sh +1 -1
  35. package/shell/functions/encode64.sh +1 -1
  36. package/shell/functions/environment.sh +8 -8
  37. package/shell/functions/extract.sh +2 -2
  38. package/shell/functions/genpwd.sh +1 -1
  39. package/shell/functions/goto.sh +2 -2
  40. package/shell/functions/{headers.sh → headers.wip} +0 -0
  41. package/shell/functions/hidehiddenfiles.sh +1 -1
  42. package/shell/functions/{history-all.sh → history-all.wip} +1 -1
  43. package/shell/functions/hostinfo.sh +1 -1
  44. package/shell/functions/hstats.sh +1 -1
  45. package/shell/functions/httpdebug.sh +1 -1
  46. package/shell/functions/keygen.sh +4 -4
  47. package/shell/functions/last.sh +1 -1
  48. package/shell/functions/logout.sh +1 -1
  49. package/shell/functions/lowercase.sh +1 -1
  50. package/shell/functions/macos.sh +1 -1
  51. package/shell/functions/matrix.sh +1 -1
  52. package/shell/functions/mcd.sh +1 -1
  53. package/shell/functions/mount_read_only.sh +1 -1
  54. package/shell/functions/myproc.sh +2 -2
  55. package/shell/functions/prependpath.sh +1 -1
  56. package/shell/functions/print.wip +13 -0
  57. package/shell/functions/ql.sh +1 -1
  58. package/shell/functions/rd.sh +1 -1
  59. package/shell/functions/remove_disk.sh +1 -1
  60. package/shell/functions/ren.sh +2 -2
  61. package/shell/functions/{rm.sh → rm.wip} +1 -1
  62. package/shell/functions/{rps.sh → rps.wip} +1 -1
  63. package/shell/functions/showhiddenfiles.sh +1 -1
  64. package/shell/functions/size.sh +1 -1
  65. package/shell/functions/stopwatch.sh +1 -1
  66. package/shell/functions/{trash.sh → trash.wip} +1 -1
  67. package/shell/functions/{tree.sh → tree.wip} +1 -1
  68. package/shell/functions/uppercase.sh +2 -2
  69. package/shell/functions/uuidgen.wip +27 -0
  70. package/shell/functions/view-source.sh +1 -1
  71. package/shell/functions/vscode.sh +1 -1
  72. package/shell/functions/whoisport.sh +1 -1
  73. package/shell/functions/zipf.sh +1 -1
  74. package/shell/functions.sh +1 -1
  75. package/shell/history.sh +3 -6
  76. package/shell/paths/ant/ant.paths.sh +1 -1
  77. package/shell/paths/default/default.paths.sh +1 -1
  78. package/shell/paths/homebrew/homebrew.paths.sh +4 -1
  79. package/shell/paths/java/java.paths.sh +1 -1
  80. package/shell/paths/maven/maven.paths.sh +3 -2
  81. package/shell/paths/node/node.paths.sh +2 -2
  82. package/shell/paths/nvm/nvm.paths.sh +1 -1
  83. package/shell/paths/pnpm/pnpm.paths.sh +2 -2
  84. package/shell/paths/python/python.paths.sh +19 -0
  85. package/shell/paths/ruby/ruby.paths.sh +1 -1
  86. package/shell/paths/tmux/tmux.paths.sh +2 -3
  87. package/shell/paths.sh +1 -1
  88. package/shell/aliases/README.md +0 -327
  89. package/shell/aliases/gcloud/README.md +0 -117
  90. package/shell/aliases/git/README.md +0 -279
  91. package/shell/aliases/heroku/README.md +0 -457
  92. package/shell/aliases/jekyll/README.md +0 -32
  93. package/shell/aliases/pnpm/README.md +0 -3
  94. package/shell/aliases/subversion/README.md +0 -54
  95. package/shell/aliases/tmux/README.md +0 -0
  96. package/shell/functions/print.sh +0 -13
  97. package/shell/functions/uuidgen.sh +0 -27
package/COPYRIGHT CHANGED
@@ -1,5 +1,5 @@
1
1
  /*
2
- * 🅳🅾🆃🅵🅸🅻🅴🆂 (v0.2.452) - https://dotfiles.io
2
+ * 🅳🅾🆃🅵🅸🅻🅴🆂 (v0.2.453) - https://dotfiles.io
3
3
  * Copyright (c) Sebastien Rousseau 2022. All rights reserved
4
4
  * License: MIT
5
5
  */
package/Makefile CHANGED
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env make -f
2
2
 
3
- # 🅳🅾🆃🅵🅸🅻🅴🆂 (v0.2.452) - https://dotfiles.io
3
+ # 🅳🅾🆃🅵🅸🅻🅴🆂 (v0.2.453) - https://dotfiles.io
4
4
  # Copyright (c) Sebastien Rousseau 2022. All rights reserved
5
5
  # License: MIT
6
6
 
package/README.md CHANGED
@@ -1,16 +1,24 @@
1
- # Dotfiles
1
+ # Dotfiles v0.2.453
2
2
 
3
- ![Banner representing the Dotfiles Library](https://github.com/sebastienrousseau/dotfiles/raw/master/assets/dotfiles.svg)
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]][project-url]
9
+ [![Love][love]][website]
10
+
11
+ **[Website][website] • [Documentation][github]
12
+ • [Report Bug][issues]
13
+ • [Request Feature][issues]
14
+ • [Contributing Guidelines][contributing]**
10
15
 
11
16
  ## 👋 Welcome to Dotfiles
12
17
 
13
- Dotfiles - A set of macOS / Linux and Windows configuration files.
18
+ Dotfiles are set of macOS / Linux and Windows configuration files.
19
+
20
+ [![Getting Started][getting started]](#getting-started)
21
+ [![Download Dotfiles v0.2.453][download_button]][download]
14
22
 
15
23
  ### Simply designed to fit your shell life
16
24
 
@@ -29,12 +37,14 @@ and centralized way to configure your environment and applications.
29
37
 
30
38
  To read the documentation for Dotfiles, please visit:
31
39
 
32
- - [Dotfiles website][project-url]
33
- - [Dotfiles Docs GitHub repository](https://github.com/sebastienrousseau/dotfiles/docs)
40
+ - [Dotfiles website][website]
41
+ - [Dotfiles Docs GitHub repository][docs]
34
42
 
35
43
  ![divider][divider]
36
44
 
37
- ## 🔧 Installation
45
+ ## Getting Started
46
+
47
+ ### 🔧 Installation
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.
@@ -58,33 +68,27 @@ you choose the one that best suits your needs.
58
68
 
59
69
  The following requirements are needed to install Dotfiles:
60
70
 
61
- - [**Bash**](https://www.gnu.org/software/bash/) - a shell, or command language
62
- interpreter, for the GNU operating system.
63
- - Or [**Zsh**](https://www.zsh.org/) - a shell designed for interactive use,
64
- although it is also a powerful scripting language.
65
- - [**Git**](https://git-scm.com) - a free and open source distributed version
66
- control system designed to handle everything from small to very large projects
67
- with speed and efficiency.
68
- - [**Curl**](https://curl.se) - a command line tool for transferring data with
69
- URL syntax.
70
- - [**Wget**](https://www.gnu.org/software/wget/) - a free software package for
71
- retrieving files using HTTP, HTTPS and FTP, the most widely-used Internet
72
- protocols.
73
- - [**Make**](https://www.gnu.org/software/make/) - a tool which controls the
74
- generation of executables and other non-source files of a program from the
75
- program's source files.
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.
71
+ - [**Bash**][bash] - a shell, or command language interpreter, for the GNU
72
+ operating system.
73
+ - Or [**Zsh**][zsh] - a shell designed for interactive use, although it is also a
74
+ powerful scripting language.
75
+ - [**Git**][git] - a free and open source distributed version control system
76
+ designed to handle everything from small to very large projects with speed and efficiency.
77
+ - [**Curl**][curl] - a command line tool for transferring data with URL syntax.
78
+ - [**Wget**][wget] - a free software package for retrieving files using HTTP,
79
+ HTTPS and FTP, the most widely-used Internet protocols.
80
+ - [**Make**][make] - a tool which controls the generation of executables and other
81
+ non-source files of a program from the program's source files.
82
+ - [**Shell**][shell] - a shell command line interpreter program for Unix-like
83
+ operating systems.
84
+ - [**PnPM**][pnpm] - a package manager for JavaScript and Node.js. It is fast,
85
+ disk space efficient and reliable.
80
86
 
81
87
  ### 1️⃣ Download Dotfiles
82
88
 
83
- You can download the latest version (v0.2.452) with any of the following
84
- options:
89
+ You can download the latest version (v0.2.453) with the following options:
85
90
 
86
- - [**Manual download**](https://github.com/sebastienrousseau/dotfiles/archive/refs/tags/v0.2.450.zip) Download the latest release and extract the archive in your home
87
- directory. **This is the easiest way to install Dotfiles.**
91
+ - [**Manual download**][releases] - **The easiest way to install Dotfiles.**
88
92
  - [**Install with PnPM**](https://www.npmjs.com/package/@sebastienrousseau/dotfiles)
89
93
  `pnpm i -g @sebastienrousseau/dotfiles`.
90
94
  - [**Install with Npm**](https://www.npmjs.com/package/@sebastienrousseau/dotfiles)
@@ -99,25 +103,55 @@ options:
99
103
 
100
104
  Before installing Dotfiles, we strongly recommend that you back up your existing
101
105
  data. The Dotfiles installer will try to automatically backup any previous
102
- installation of known dotfiles.
106
+ installation of known dotfiles into a backup directory
107
+ `$HOME/.dotfiles/backup`.
103
108
 
104
- After installation, you will find the backup files in the `~/dotfiles_backup`
105
- directory.
109
+ The backup files are the following:
110
+
111
+ ```bash
112
+ .alias
113
+ .bash_aliases
114
+ .bash_profile
115
+ .bash_prompt
116
+ .bashrc
117
+ .curlrc
118
+ .dir_colors
119
+ .exports
120
+ .functions
121
+ .gitattributes
122
+ .gitconfig
123
+ .gitignore
124
+ .gitmessage
125
+ .inputrc
126
+ .npmrc
127
+ .path
128
+ .profile
129
+ .tmux.conf
130
+ .vimrc
131
+ .wgetrc
132
+ .yarnrc
133
+ .zshenv
134
+ .zshrc
135
+ cacert.pem
136
+ ```
106
137
 
107
- It is always a good idea to backup as there might be situations in which you
138
+ After installation, you will find the backup files in the `~/dotfiles_backup`
139
+ directory. It is always a good idea to backup as there might be situations in which you
108
140
  could be required to restore your previous installation.
109
141
 
110
142
  ### 3️⃣ Try it out and let us know what you think
111
143
 
112
144
  To install the latest version of the dotfiles, run the following command:
113
145
 
114
- #### Using make (recommended if you have make installed)
146
+ #### Using make (highly recommended)
147
+
148
+ Simply run the following command in your terminal / shell:
115
149
 
116
150
  ```bash
117
- make install
151
+ make installer
118
152
  ```
119
153
 
120
- or if you want to check the options available:
154
+ or if you want to just check the options available, run the following command:
121
155
 
122
156
  ```bash
123
157
  make help
@@ -125,18 +159,31 @@ make help
125
159
 
126
160
  #### Using PnPM (recommended if you have PnPM installed)
127
161
 
162
+ PnPM is a key dependency of the dotfiles package. It will help you install the
163
+ dotfiles rapidly and very efficiently.
164
+
128
165
  ```bash
129
- pnpm install
166
+ pnpm installer
130
167
  ```
131
168
 
169
+ ### Post installation
170
+
171
+ Following the installation, you can verify that the dotfiles package is installed
172
+ in the following directory `$HOME/.dotfiles_backup`.
173
+
174
+ Just quit your terminal and restart it. If the installation is successful, you
175
+ should be able to see a new interface of your terminal and be able to start
176
+ using the dotfiles aliases and other configurations.
177
+
178
+ Please refer to the [documentation][docs] for more information.
179
+
132
180
  ![divider][divider]
133
181
 
134
182
  ### 4️⃣ What's included
135
183
 
136
- Dotfiles contains core elements that are used to configure your terminal, shell,
137
- and other components catered for your development environment setup.
184
+ Dotfiles contains core elements that are used to configure your shell, and other components catered for your environment setup.
138
185
 
139
- Within the download you'll find all the Dotfiles source files grouped into the
186
+ Within the download you'll find all the Dotfiles source files grouped within the
140
187
  `shell` folder.
141
188
 
142
189
  You'll see something like this:
@@ -276,7 +323,7 @@ You'll see something like this:
276
323
 
277
324
  ## 🔗 Releases
278
325
 
279
- Releases are available on the [GitHub releases page][releases-url].
326
+ Releases are available on the [GitHub releases page][releases].
280
327
 
281
328
  ![divider][divider]
282
329
 
@@ -317,7 +364,7 @@ Please read our [Code of Conduct](https://github.com/sebastienrousseau/dotfiles/
317
364
  ## ❤️ Contributing
318
365
 
319
366
  Thank you for using Dotfiles! If you like the library, it would be
320
- great if you can give it a star ⭐ on [GitHub][01].
367
+ great if you can give it a star ⭐ on [GitHub][github].
321
368
 
322
369
  There are also many ways in which you can participate in this project, for
323
370
  example:
@@ -327,7 +374,7 @@ example:
327
374
  - Review the [documentation](https://github.com/sebastienrousseau/dotfiles/docs) and make pull requests for anything from typos to additional and new content.
328
375
 
329
376
  Please read carefully through our
330
- [Contributing Guidelines](https://github.com/sebastienrousseau/dotfiles/blob/master/.github/CONTRIBUTING.md)
377
+ [Contributing Guidelines][contributing]
331
378
  for further details on the process for submitting pull requests to us.
332
379
 
333
380
  ![divider][divider]
@@ -342,14 +389,32 @@ This project is licensed under the MIT License - see the [LICENSE](https://githu
342
389
 
343
390
  ## 🏢 Acknowledgements
344
391
 
345
- [Dotfiles][project-url] is beautifully crafted by these people and a
392
+ [Dotfiles][website] is beautifully crafted by these people and a
346
393
  bunch of awesome [contributors](https://github.com/sebastienrousseau/dotfiles/graphs/contributors)
347
394
 
348
395
  | [![Sebastien Rousseau](https://avatars0.githubusercontent.com/u/1394998?s=117)](http://sebastienrousseau.co.uk) | [![Graham Colgate](https://avatars0.githubusercontent.com/u/35816108?s=117)](https://github.com/gramtech) |
349
396
  | :-------------------------------------------------------------------------------------------------------------: | :-------------------------------------------------------------------------------------------------------------: |
350
397
  | [Sebastien Rousseau](https://github.com/sebastienrousseau) | [Graham Colgate](https://github.com/gramtech) |
351
398
 
352
- [01]: https://github.com/sebastienrousseau/dotfiles
399
+ [bash]: https://www.gnu.org/software/bash/
400
+ [contributing]: https://github.com/sebastienrousseau/dotfiles/blob/master/.github/CONTRIBUTING.md
401
+ [curl]: https://curl.se/
402
+ [docs]: https://github.com/sebastienrousseau/dotfiles/docs
403
+ [download]: https://github.com/sebastienrousseau/dotfiles/archive/refs/tags/v0.2.453.tar.gz
404
+ [git]: https://git-scm.com/
405
+ [github]: https://github.com/sebastienrousseau/dotfiles
406
+ [issues]: https://github.com/sebastienrousseau/dotfiles/issues
407
+ [make]: https://www.gnu.org/software/make/
408
+ [pnpm]: https://pnpm.io
409
+ [releases]: https://github.com/sebastienrousseau/dotfiles/releases
410
+ [shell]: https://www.gnu.org/software/shell/
411
+ [website]: https://dotfiles.io
412
+ [wget]: https://www.gnu.org/software/wget/
413
+ [zsh]: https://www.zsh.org/
414
+
415
+ [logo]: https://github.com/sebastienrousseau/dotfiles/raw/master/assets/dotfiles.svg
416
+ [download_button]: https://github.com/sebastienrousseau/dotfiles/raw/master/assets/button-secondary.svg
417
+ [getting started]: https://github.com/sebastienrousseau/dotfiles/raw/master/assets/button-primary.svg
353
418
  [codacy-grade]: https://img.shields.io/codacy/grade/634cfc4de08e492ebcbb341631066241?style=for-the-badge
354
419
  [codacy-url]:https://www.codacy.com/gh/sebastienrousseau/dotfiles/dashboard
355
420
  [contributors-shield]: https://img.shields.io/github/contributors/sebastienrousseau/dotfiles.svg?style=for-the-badge
@@ -360,7 +425,5 @@ bunch of awesome [contributors](https://github.com/sebastienrousseau/dotfiles/gr
360
425
  [license-url]: https://opensource.org/licenses/MIT
361
426
  [license]: https://img.shields.io/badge/License-MIT-green.svg?style=for-the-badge\&color=ff69b4
362
427
  [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
428
  [semver-url]: http://semver.org/
366
429
  [eslint-semantic-url]: https://github.com/eslint/eslint#semantic-versioning-policy
package/bin/dotfiles.sh CHANGED
@@ -1,38 +1,47 @@
1
1
  #!/usr/bin/env bash
2
- # 🅳🅾🆃🅵🅸🅻🅴🆂 (v0.2.452) - https://dotfiles.io
2
+ # 🅳🅾🆃🅵🅸🅻🅴🆂 (v0.2.453) - https://dotfiles.io
3
3
  # Copyright (c) Sebastien Rousseau 2022. All rights reserved
4
4
  # License: MIT
5
5
 
6
6
  ## 🆅🅰🆁🅸🅰🅱🅻🅴🆂 - Set variables.
7
- BACKUPDIR="${HOME}/.dotfiles/backup" # Backup directory.
7
+ BACKUPDIR="${HOME}/.dotfiles_backup" # Backup directory.
8
8
  BIGreen='\033[1;92m' # Green color.
9
9
  BIRed='\033[1;91m' # Red color.
10
10
  DOTFILESDIR="${HOME}/.dotfiles" # Location of dotfiles.
11
11
  DOWNLOADDIR="${HOME}/Downloads" # Download directory.
12
12
  NC='\033[0m' # Reset/No Color
13
- VERSION="0.2.452" # Dotfiles Version number.
13
+ VERSION="0.2.453" # Dotfiles Version number.
14
14
 
15
15
  ## 🅱🅰🅲🅺🆄🅿 - Backup existing files.
16
16
  backup() {
17
- echo "${BIRed}❭${NC} Creating a backup directory '${BIGreen}${DOTFILESDIR}${NC}'."
17
+ echo "${BIRed}❭${NC} Creating a backup directory '${BIGreen}${BACKUPDIR}${NC}'."
18
18
  mkdir -p "${BACKUPDIR}"
19
19
 
20
20
  echo "${BIRed}❭${NC} Backing up existing dotfiles in '${BIGreen}${BACKUPDIR}${NC}'..."
21
21
  # File list (use trailing slash for directories)
22
22
  FILES="
23
+ .alias
24
+ .bash_aliases
25
+ .bash_profile
26
+ .bash_prompt
23
27
  .bashrc
24
28
  .curlrc
29
+ .dir_colors
30
+ .exports
31
+ .functions
25
32
  .gitattributes
26
33
  .gitconfig
27
34
  .gitignore
28
35
  .gitmessage
29
36
  .inputrc
30
37
  .npmrc
38
+ .path
31
39
  .profile
32
40
  .tmux.conf
33
41
  .vimrc
34
42
  .wgetrc
35
43
  .yarnrc
44
+ .zshenv
36
45
  .zshrc
37
46
  cacert.pem
38
47
  "
@@ -97,8 +106,6 @@ copy() {
97
106
  rm -Rf "${DOTFILESDIR}"/shell/configurations/zsh &&
98
107
 
99
108
  echo "${BIRed}❭${NC} ${BIGreen}Dotfiles v${VERSION}${NC} installed."
100
- ${SHELL}
101
-
102
109
  }
103
110
 
104
111
  ## 🅷🅴🅻🅿 🅼🅴🅽🆄 - Display help menu.
package/package.json CHANGED
@@ -24,7 +24,7 @@
24
24
  "description": "Dotfiles - A set of macOS / Linux and Windows configuration files - Simply designed to fit your shell life.",
25
25
  "devDependencies": {
26
26
  "filesizes": "^0.1.2",
27
- "pnpm": "^7.13.0",
27
+ "pnpm": "^7.13.1",
28
28
  "rimraf": "^3.0.2"
29
29
  },
30
30
  "directories": {
@@ -68,7 +68,7 @@
68
68
  "url": "git@github.com:sebastienrousseau/dotfiles.git"
69
69
  },
70
70
  "type": "module",
71
- "version": "0.2.452",
71
+ "version": "0.2.453",
72
72
  "scripts": {
73
73
  "backup": "pnpm run bk:dir && pnpm run bk:bsh && pnpm run bk:zsh",
74
74
  "bk:bsh": "if [ -z $HOME/.bashrc ]; then mv -f $HOME/.bashrc $HOME/.dotfiles_backup/bashrc.bk; fi ",