@sebastienrousseau/dotfiles 0.2.454 → 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.
Files changed (86) hide show
  1. package/README.md +9 -11
  2. package/package.json +11 -5
  3. package/dist/Makefile +0 -78
  4. package/dist/bin/compile.sh +0 -16
  5. package/dist/bin/copy.sh +0 -21
  6. package/dist/bin/dotfiles.sh +0 -185
  7. package/dist/filesizes.txt +0 -176
  8. package/dist/shell/README.md +0 -3
  9. package/dist/shell/aliases/default/default.aliases.sh +0 -199
  10. package/dist/shell/aliases/gcloud/gcloud.aliases.sh +0 -121
  11. package/dist/shell/aliases/heroku/heroku.aliases.sh +0 -1031
  12. package/dist/shell/aliases/jekyll/jekyll.aliases.sh +0 -50
  13. package/dist/shell/aliases/pnpm/pnpm.aliases.sh +0 -42
  14. package/dist/shell/aliases/subversion/subversion.aliases.sh +0 -123
  15. package/dist/shell/aliases/tmux/tmux.aliases.sh +0 -14
  16. package/dist/shell/aliases.sh +0 -12
  17. package/dist/shell/configurations/README.md +0 -3
  18. package/dist/shell/configurations/bash/bashrc +0 -36
  19. package/dist/shell/configurations/curl/cacert.pem +0 -3460
  20. package/dist/shell/configurations/curl/curlrc +0 -55
  21. package/dist/shell/configurations/default/color.sh +0 -17
  22. package/dist/shell/configurations/default/editor.sh +0 -16
  23. package/dist/shell/configurations/default/prompt.sh +0 -37
  24. package/dist/shell/configurations/inputrc/inputrc +0 -22
  25. package/dist/shell/configurations/jshint/jshintrc +0 -37
  26. package/dist/shell/configurations/profile/profile +0 -36
  27. package/dist/shell/configurations/tmux/tmux +0 -95
  28. package/dist/shell/configurations/vim/vimrc +0 -73
  29. package/dist/shell/configurations/wget/wgetrc +0 -39
  30. package/dist/shell/configurations/zsh/zshrc +0 -50
  31. package/dist/shell/configurations.sh +0 -10
  32. package/dist/shell/exit.sh +0 -9
  33. package/dist/shell/functions/README.md +0 -3
  34. package/dist/shell/functions/cdls.sh +0 -19
  35. package/dist/shell/functions/curlheader.sh +0 -20
  36. package/dist/shell/functions/curltime.sh +0 -31
  37. package/dist/shell/functions/encode64.sh +0 -25
  38. package/dist/shell/functions/environment.sh +0 -37
  39. package/dist/shell/functions/extract.sh +0 -32
  40. package/dist/shell/functions/filehead.sh +0 -4
  41. package/dist/shell/functions/genpwd.sh +0 -14
  42. package/dist/shell/functions/goto.sh +0 -14
  43. package/dist/shell/functions/hidehiddenfiles.sh +0 -12
  44. package/dist/shell/functions/hostinfo.sh +0 -25
  45. package/dist/shell/functions/hstats.sh +0 -9
  46. package/dist/shell/functions/httpdebug.sh +0 -7
  47. package/dist/shell/functions/keygen.sh +0 -23
  48. package/dist/shell/functions/last.sh +0 -9
  49. package/dist/shell/functions/logout.sh +0 -10
  50. package/dist/shell/functions/lowercase.sh +0 -28
  51. package/dist/shell/functions/macos.sh +0 -47
  52. package/dist/shell/functions/matrix.sh +0 -9
  53. package/dist/shell/functions/mcd.sh +0 -18
  54. package/dist/shell/functions/mount_read_only.sh +0 -9
  55. package/dist/shell/functions/myproc.sh +0 -7
  56. package/dist/shell/functions/prependpath.sh +0 -19
  57. package/dist/shell/functions/ql.sh +0 -7
  58. package/dist/shell/functions/rd.sh +0 -15
  59. package/dist/shell/functions/remove_disk.sh +0 -9
  60. package/dist/shell/functions/ren.sh +0 -11
  61. package/dist/shell/functions/showhiddenfiles.sh +0 -12
  62. package/dist/shell/functions/size.sh +0 -13
  63. package/dist/shell/functions/stopwatch.sh +0 -13
  64. package/dist/shell/functions/uppercase.sh +0 -28
  65. package/dist/shell/functions/view-source.sh +0 -8
  66. package/dist/shell/functions/vscode.sh +0 -31
  67. package/dist/shell/functions/whoisport.sh +0 -12
  68. package/dist/shell/functions/zipf.sh +0 -14
  69. package/dist/shell/functions.sh +0 -10
  70. package/dist/shell/history.sh +0 -107
  71. package/dist/shell/index.d.ts +0 -2
  72. package/dist/shell/index.d.ts.map +0 -1
  73. package/dist/shell/index.js +0 -2
  74. package/dist/shell/index.js.map +0 -1
  75. package/dist/shell/paths/ant/ant.paths.sh +0 -15
  76. package/dist/shell/paths/default/default.paths.sh +0 -17
  77. package/dist/shell/paths/homebrew/homebrew.paths.sh +0 -25
  78. package/dist/shell/paths/java/java.paths.sh +0 -16
  79. package/dist/shell/paths/maven/maven.paths.sh +0 -17
  80. package/dist/shell/paths/node/node.paths.sh +0 -13
  81. package/dist/shell/paths/nvm/nvm.paths.sh +0 -21
  82. package/dist/shell/paths/pnpm/pnpm.paths.sh +0 -13
  83. package/dist/shell/paths/python/python.paths.sh +0 -29
  84. package/dist/shell/paths/ruby/ruby.paths.sh +0 -23
  85. package/dist/shell/paths/tmux/tmux.paths.sh +0 -15
  86. package/dist/shell/paths.sh +0 -12
package/README.md CHANGED
@@ -13,7 +13,7 @@
13
13
  • [Request Feature][issues]
14
14
  • [Contributing Guidelines][contributing]**
15
15
 
16
- ## 👋 Welcome to Dotfiles (v0.2.454)
16
+ ## 👋 Welcome to Dotfiles (v0.2.455)
17
17
 
18
18
  ### Simply designed to fit your shell life
19
19
 
@@ -22,7 +22,7 @@ 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
24
  [![Getting Started][getting_started]][getting-started]
25
- [![Download Dotfiles v0.2.454][download_button]][download]
25
+ [![Download Dotfiles v0.2.455][download_button]][download]
26
26
 
27
27
  Dotfiles aggregates a collection of standalone configuration files (dotfiles)
28
28
  combined into a `shell` directory that can be used to customize your development
@@ -101,7 +101,7 @@ The following programs must be installed on your system to install Dotfiles:
101
101
 
102
102
  ### 1️⃣ Download Dotfiles
103
103
 
104
- You can download the latest version (v0.2.454) with the following options:
104
+ You can download the latest version (v0.2.455) with the following options:
105
105
 
106
106
  - [**Manual download**][releases] - **The easiest way to install Dotfiles.**
107
107
  - [**Install with PnPM**](https://www.npmjs.com/package/@sebastienrousseau/dotfiles)
@@ -119,7 +119,7 @@ You can download the latest version (v0.2.454) with the following options:
119
119
  Before installing Dotfiles, we strongly recommend that you back up your existing
120
120
  data. The Dotfiles installer will try to automatically backup any previous
121
121
  installation of known dotfiles into a backup directory
122
- `$HOME/.dotfiles/backup`.
122
+ `$HOME/.dotfiles_backup`.
123
123
 
124
124
  The backup files are the following:
125
125
 
@@ -150,9 +150,7 @@ The backup files are the following:
150
150
  cacert.pem
151
151
  ```
152
152
 
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
155
- 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.
156
154
 
157
155
  ### 3️⃣ Try it out and let us know what you think
158
156
 
@@ -170,7 +168,7 @@ The installer will check if you have PnPM installed to switch to the PnPM instal
170
168
  Switch to the `dist` directory and run:
171
169
 
172
170
  ```bash
173
- make prepare
171
+ make assemble
174
172
  ```
175
173
 
176
174
  You can also just check the installer options available, by simply running:
@@ -187,7 +185,7 @@ dotfiles rapidly and very efficiently.
187
185
  Switch to the `dist` directory and run:
188
186
 
189
187
  ```bash
190
- pnpm run prepare
188
+ pnpm run assemble
191
189
  ```
192
190
 
193
191
  ### Post installation
@@ -208,7 +206,7 @@ Please refer to the [documentation][docs] for more information.
208
206
  Dotfiles contains core elements that are used to configure your shell, and other components catered for your environment setup.
209
207
 
210
208
  Within the download you'll find all the Dotfiles source files grouped within the
211
- `shell` folder.
209
+ `dist` folder.
212
210
 
213
211
  You'll see something like this:
214
212
 
@@ -415,7 +413,7 @@ bunch of awesome [contributors](https://github.com/sebastienrousseau/dotfiles/gr
415
413
  [contributing]: https://github.com/sebastienrousseau/dotfiles/blob/master/.github/CONTRIBUTING.md
416
414
  [curl]: https://curl.se/
417
415
  [docs]: https://github.com/sebastienrousseau/dotfiles/docs
418
- [download]: https://github.com/sebastienrousseau/dotfiles/archive/refs/tags/v0.2.454.tar.gz
416
+ [download]: https://github.com/sebastienrousseau/dotfiles/archive/refs/tags/v0.2.455.tar.gz
419
417
  [getting-started]: https://github.com/sebastienrousseau/dotfiles#getting-started
420
418
  [git]: https://git-scm.com/
421
419
  [github]: https://github.com/sebastienrousseau/dotfiles
package/package.json CHANGED
@@ -26,15 +26,18 @@
26
26
  ],
27
27
  "description": "Dotfiles - A set of macOS / Linux and Windows configuration files - Simply designed to fit your shell life.",
28
28
  "devDependencies": {
29
+ "@changesets/cli": "^2.25.0",
29
30
  "@types/node": "^16.11.64",
31
+ "@types/shelljs": "0.8.11",
30
32
  "filesizes": "^0.1.2",
31
- "pnpm": "^7.13.2",
32
33
  "jsmin": "^1.0.1",
34
+ "nps": "^5.10.0",
35
+ "pnpm": "^7.13.2",
33
36
  "rimraf": "^3.0.2",
34
37
  "shelljs": "^0.8.5",
35
- "shelljs-nodecli": "^0.1.1",
36
38
  "tsd": "0.24.1",
37
- "typescript": "^4.8.4"
39
+ "typescript": "^4.8.4",
40
+ "shelljs-nodecli": "^0.1.1"
38
41
  },
39
42
  "directories": {
40
43
  "bin": "./bin",
@@ -73,7 +76,7 @@
73
76
  "url": "git@github.com:sebastienrousseau/dotfiles.git"
74
77
  },
75
78
  "types": "./dist/index.d.ts",
76
- "version": "0.2.454",
79
+ "version": "0.2.455",
77
80
  "scripts": {
78
81
  "backup": "pnpm run bk:dir && pnpm run bk:bsh && pnpm run bk:zsh",
79
82
  "bk:bsh": "if [ -z $HOME/.bashrc ]; then mv -f $HOME/.bashrc $HOME/.dotfiles_backup/bashrc.bk; fi ",
@@ -96,13 +99,16 @@
96
99
  "cp:zshr": "cp ./shell/configurations/zsh/zshrc $HOME/.zshrc",
97
100
  "clean": "rimraf \"dist/\" && tsc --build --clean",
98
101
  "cl:tmp": "rimraf \"./dist/shell/**/*.tmp\"",
102
+ "assemble": "pnpm run backup && pnpm run directory && pnpm run copy",
99
103
  "build": "pnpm run clean && tsc --build tsconfig.json && pnpm run compile",
104
+ "changeset": "changeset",
100
105
  "compile": "chmod 755 \"./bin/compile.sh\" && ./bin/compile.sh",
101
106
  "directory": "mkdir $HOME/.dotfiles",
102
107
  "filesizes": "filesizes ./dist/ > ./dist/filesizes.txt",
103
108
  "help": "chmod 755 \"./bin/dotfiles.sh\" && ./bin/dotfiles.sh",
104
109
  "minify": "jsmin ./shell/index.js > dist/shell/index.js",
105
110
  "start": "node dist/shell/index.js",
106
- "test": "echo \"Error: no test specified\" && exit 1"
111
+ "test": "echo \"Error: no test specified\" && exit 1",
112
+ "version": "pnpm changeset version && pnpm run assemble --no-frozen-lockfile"
107
113
  }
108
114
  }
package/dist/Makefile DELETED
@@ -1,78 +0,0 @@
1
- #!/usr/bin/env make -f
2
-
3
- # 🅳🅾🆃🅵🅸🅻🅴🆂 (v0.2.454) - https://dotfiles.io
4
- # Copyright (c) Sebastien Rousseau 2022. All rights reserved
5
- # License: MIT
6
-
7
- .DEFAULT_GOAL := help
8
-
9
- language := en
10
- PNPM := $(shell command -v pnpm 2> /dev/null)
11
- HOMEDIR:= $(shell pwd)
12
-
13
- .PHONY: backup
14
- backup: # @HELP Backup your current dotfiles.
15
- backup: ## Backup your current dotfiles.
16
- ifdef PNPM
17
- pnpm run backup
18
- else
19
- sh $(HOMEDIR)/bin/dotfiles.sh backup
20
- endif
21
-
22
- .PHONY: prepare
23
- prepare: # @HELP Prepare the dotfiles on your system.
24
- prepare: ## Prepare the dotfiles on your system.
25
- ifdef PNPM
26
- pnpm run prepare
27
- else
28
- sh $(HOMEDIR)/bin/dotfiles prepare
29
- endif
30
-
31
- .PHONY: copy
32
- copy: # @HELP Copy the dotfiles on your system.
33
- copy: ## Copy the dotfiles on your system.
34
- ifdef PNPM
35
- pnpm run copy
36
- else
37
- sh $(HOMEDIR)/bin/dotfiles copy
38
- endif
39
-
40
- .PHONY: download
41
- download: # @HELP Download the dotfiles on your system.
42
- download: ## Download the dotfiles on your system.
43
- ifdef PNPM
44
- pnpm run download
45
- else
46
- sh $(HOMEDIR)/bin/dotfiles download
47
- endif
48
-
49
- .PHONY: unpack
50
- unpack: # @HELP Unpack the dotfiles on your system.
51
- unpack: ## Unpack the dotfiles on your system.
52
- ifdef PNPM
53
- pnpm run unpack
54
- else
55
- sh $(HOMEDIR)/bin/dotfiles unpack
56
- endif
57
-
58
- .PHONY: clean
59
- clean: # @HELP Removes any previous setup directories.
60
- clean:
61
- ifdef PNPM
62
- pnpm run clean
63
- else
64
- sh $(HOMEDIR)/bin/dotfiles clean
65
- endif
66
-
67
- .PHONY: help
68
- help: # @HELP Display the help menu.
69
- help:
70
- ifdef PNPM
71
- pnpm run help
72
- else
73
- @grep -E '^.*: *# *@HELP' $(MAKEFILE_LIST) \
74
- | awk ' \
75
- BEGIN {FS = ": *# *@HELP"}; \
76
- { printf " %-30s %s\n"$$1$$2 }; \
77
- '
78
- endif
@@ -1,16 +0,0 @@
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
package/dist/bin/copy.sh DELETED
@@ -1,21 +0,0 @@
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
- ## 🅲🅾🅿🆈 🅳🅾🆃🅵🅸🅻🅴🆂 - Copy dotfiles.
7
-
8
- copy() {
9
- pnpm run cp:bash &&
10
- pnpm run cp:cert &&
11
- pnpm run cp:curl &&
12
- pnpm run cp:dirs &&
13
- pnpm run cp:inpt &&
14
- pnpm run cp:jsht &&
15
- pnpm run cp:prof &&
16
- pnpm run cp:tmux &&
17
- pnpm run cp:vimr &&
18
- pnpm run cp:wget &&
19
- pnpm run cp:zshr
20
- }
21
- copy
@@ -1,185 +0,0 @@
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
- ## 🆅🅰🆁🅸🅰🅱🅻🅴🆂 - Set variables.
7
- BACKUPDIR="${HOME}/.dotfiles_backup" # Backup directory.
8
- BIGreen='\033[1;92m' # Green color.
9
- BIRed='\033[1;91m' # Red color.
10
- DOTFILESDIR="${HOME}/.dotfiles" # Location of dotfiles.
11
- DOWNLOADDIR="${HOME}/Downloads" # Download directory.
12
- NC='\033[0m' # Reset/No Color
13
- VERSION="0.2.454" # Dotfiles Version number.
14
-
15
- ## 🅱🅰🅲🅺🆄🅿 - Backup existing files.
16
- backup() {
17
- echo "${BIRed}❭${NC} Creating a backup directory '${BIGreen}${BACKUPDIR}${NC}'."
18
- mkdir -p "${BACKUPDIR}"
19
-
20
- echo "${BIRed}❭${NC} Backing up existing dotfiles in '${BIGreen}${BACKUPDIR}${NC}'..."
21
- # File list (use trailing slash for directories)
22
- FILES="
23
- .alias
24
- .bash_aliases
25
- .bash_profile
26
- .bash_prompt
27
- .bashrc
28
- .curlrc
29
- .dir_colors
30
- .exports
31
- .functions
32
- .gitattributes
33
- .gitconfig
34
- .gitignore
35
- .gitmessage
36
- .inputrc
37
- .npmrc
38
- .path
39
- .profile
40
- .tmux.conf
41
- .vimrc
42
- .wgetrc
43
- .yarnrc
44
- .zshenv
45
- .zshrc
46
- cacert.pem
47
- "
48
-
49
- for file in ${FILES}; do
50
- # shellcheck disable=SC2292
51
- if [ -e "${HOME}/${file}" ]; then
52
- echo "${BIRed}❭${NC} Backing up ${BIGreen}${file}${NC}..."
53
- cp -f "${HOME}"/"${file}" "${BACKUPDIR}"/"${file}"
54
- fi
55
- done
56
- }
57
-
58
- ## 🅲🅻🅴🅰🅽 - Clean up.
59
- clean() {
60
- echo "${BIRed}❭${NC} Cleaning up..."
61
- rm -rfi "${DOTFILESDIR}"
62
- rm -rfi "${BACKUPDIR}"
63
- rm -rfi "${DOWNLOADDIR}"/dotfiles*
64
- }
65
-
66
- ## 🅳🅾🆆🅽🅻🅾🅰🅳 - Download the dotfiles on your system.
67
- download() {
68
- echo "${BIRed}❭${NC} Downloading ${BIGreen}Dotfiles v${VERSION}${NC} on your system."
69
- # wget https://github.com/sebastienrousseau/dotfiles/archive/refs/tags/v"${VERSION}".zip -N -O "${DOWNLOADDIR}/v${VERSION}.zip"
70
- curl https://github.com/sebastienrousseau/dotfiles/archive/refs/tags/v"${VERSION}".zip -o "${DOWNLOADDIR}"/v"${VERSION}".zip
71
- }
72
-
73
- ## 🆄🅽🅿🅰🅲🅺 - Unpack the dotfiles on your system.
74
- unpack() {
75
- echo "${BIRed}❭${NC} Unpacking ${BIGreen}Dotfiles v${VERSION}${NC}."
76
- unzip -qq -u "${DOWNLOADDIR}"/v"${VERSION}".zip -d "${DOWNLOADDIR}"
77
- mv "${DOWNLOADDIR}/dotfiles-${VERSION}/shell/" "${DOTFILESDIR}"
78
- rm "${DOWNLOADDIR}/v${VERSION}.zip"
79
- }
80
-
81
- ## 🅿🆁🅴🅿🅰🆁🅴 - Prepare the dotfiles on your system.
82
- prepare() {
83
- echo "${BIRed}❭${NC} Preparing the dotfiles on your system."
84
- backup &&
85
- download &&
86
- unpack &&
87
- copy
88
- }
89
-
90
- ## 🅲🅾🅿🆈 - Copy the dotfiles on your system.
91
- copy() {
92
- # echo "${BIRed}❭${NC} Copying the Dotfiles on your system."
93
- # cd "${DOTFILESDIR}" &&
94
-
95
- echo "${BIRed}❭${NC} Copying the Dotfiles on your system."
96
- echo "${BIRed}❭${NC} Copying ${BIGreen}.bashrc${NC}"
97
- cp -f "${DOTFILESDIR}"/shell/configurations/bash/bashrc "${HOME}"/.bashrc &&
98
- echo "${BIRed}❭${NC} Copying ${BIGreen}cacert.pem${NC}"
99
- cp -f "${DOTFILESDIR}"/shell/configurations/curl/cacert.pem "${HOME}"/cacert.pem &&
100
- echo "${BIRed}❭${NC} Copying ${BIGreen}.curlrc${NC}"
101
- cp -f "${DOTFILESDIR}"/shell/configurations/curl/curlrc "${HOME}"/.curlrc &&
102
- echo "${BIRed}❭${NC} Copying ${BIGreen}.jshintrc${NC}"
103
- cp -f "${DOTFILESDIR}"/shell/configurations/jshint/jshintrc "${HOME}"/.jshintrc &&
104
- echo "${BIRed}❭${NC} Copying ${BIGreen}.profile${NC}"
105
- cp -f "${DOTFILESDIR}"/shell/configurations/profile/profile "${HOME}"/.profile &&
106
- echo "${BIRed}❭${NC} Copying ${BIGreen}.tmux.conf${NC}"
107
- cp -f "${DOTFILESDIR}"/shell/configurations/tmux/tmux "${HOME}"/.tmux.conf &&
108
- echo "${BIRed}❭${NC} Copying ${BIGreen}.vimrc${NC}"
109
- cp -f "${DOTFILESDIR}"/shell/configurations/vim/vimrc "${HOME}"/.vimrc &&
110
- echo "${BIRed}❭${NC} Copying ${BIGreen}.wgetrc${NC}"
111
- cp -f "${DOTFILESDIR}"/shell/configurations/wget/wgetrc "${HOME}"/.wgetrc &&
112
- echo "${BIRed}❭${NC} Copying ${BIGreen}.zshrc${NC}"
113
- cp -f "${DOTFILESDIR}"/shell/configurations/zsh/zshrc "${HOME}"/.zshrc
114
-
115
- echo "${BIRed}❭${NC} Cleaning up installation files."
116
- rm -Rf "${DOTFILESDIR}"/shell/configurations/bash &&
117
- rm -Rf "${DOTFILESDIR}"/shell/configurations/curl &&
118
- rm -Rf "${DOTFILESDIR}"/shell/configurations/jshint &&
119
- rm -Rf "${DOTFILESDIR}"/shell/configurations/profile &&
120
- rm -Rf "${DOTFILESDIR}"/shell/configurations/tmux &&
121
- rm -Rf "${DOTFILESDIR}"/shell/configurations/vim &&
122
- rm -Rf "${DOTFILESDIR}"/shell/configurations/wget &&
123
- rm -Rf "${DOTFILESDIR}"/shell/configurations/zsh &&
124
-
125
- echo "${BIRed}❭${NC} ${BIGreen}Dotfiles v${VERSION}${NC} has been installed on your system."
126
- }
127
-
128
- ## 🅷🅴🅻🅿 🅼🅴🅽🆄 - Display help menu.
129
- help() {
130
- clear
131
- cat <<EOF
132
-
133
- ┌───────────────────────────────────────────┐
134
- │ Dotfiles (v${VERSION}) │
135
- ├───────────────────────────────────────────┤
136
- │ Simply designed to fit your shell life. │
137
- └───────────────────────────────────────────┘
138
-
139
- USAGE:
140
-
141
- dotfiles [COMMAND]
142
-
143
- COMMANDS:
144
-
145
- backup - Backup existing dotfiles from the '${HOME}' directory
146
- clean - Removes any previous setup directories
147
- copy - Copy the new dotfiles files to your '${HOME}' directory
148
- download - Download the latest Dotfiles (v${VERSION})
149
- prepare - Run the full installation process
150
- unpack - Unpack the Dotfiles
151
- help - Show the help menu
152
-
153
- DOCUMENTATION:
154
- website - https://dotfiles.io
155
-
156
- LICENSE:
157
- This project is licensed under the MIT License.
158
-
159
- EOF
160
- }
161
-
162
- # shellcheck disable=SC2292
163
- if [ "$1" = "backup" ]; then
164
- echo "${BIRed}❭${NC} Backing up.${NC}"
165
- backup
166
- elif [ "$1" = "clean" ]; then
167
- echo "${BIRed}❭${NC} Removes any previous setup directories.${NC}"
168
- clean
169
- elif [ "$1" = "copy" ]; then
170
- echo "${BIRed}❭${NC} Copying dotfiles.${NC}"
171
- copy
172
- elif [ "$1" = "download" ]; then
173
- echo "${BIRed}❭${NC} Downloading ${BIGreen}Dotfiles v${VERSION}${NC}."
174
- download
175
- elif [ "$1" = "help" ]; then
176
- help
177
- elif [ "$1" = "prepare" ]; then
178
- echo "${BIRed}❭${NC} Installing ${BIGreen}Dotfiles v${VERSION}${NC}."
179
- prepare
180
- elif [ "$1" = "unpack" ]; then
181
- echo "${BIRed}❭${NC} Unpacking ${BIGreen}Dotfiles v${VERSION}${NC}."
182
- unpack
183
- else
184
- help
185
- fi
@@ -1,176 +0,0 @@
1
- ┌────────────────────────────────────────────────┬───────────┬────────────────┐
2
- │ File │ Size │ Size (gzipped) │
3
- ├────────────────────────────────────────────────┼───────────┼────────────────┤
4
- │ Makefile │ 1.64 kB │ 648 B │
5
- ├────────────────────────────────────────────────┼───────────┼────────────────┤
6
- │ filesizes.txt │ 0 B │ 20 B │
7
- ├────────────────────────────────────────────────┼───────────┼────────────────┤
8
- │ bin/compile.sh │ 402 B │ 260 B │
9
- ├────────────────────────────────────────────────┼───────────┼────────────────┤
10
- │ bin/copy.sh │ 491 B │ 272 B │
11
- ├────────────────────────────────────────────────┼───────────┼────────────────┤
12
- │ bin/dotfiles.sh │ 6.51 kB │ 1.79 kB │
13
- ├────────────────────────────────────────────────┼───────────┼────────────────┤
14
- │ shell/README.md │ 86 B │ 93 B │
15
- ├────────────────────────────────────────────────┼───────────┼────────────────┤
16
- │ shell/aliases.sh │ 349 B │ 288 B │
17
- ├────────────────────────────────────────────────┼───────────┼────────────────┤
18
- │ shell/configurations.sh │ 354 B │ 289 B │
19
- ├────────────────────────────────────────────────┼───────────┼────────────────┤
20
- │ shell/exit.sh │ 288 B │ 260 B │
21
- ├────────────────────────────────────────────────┼───────────┼────────────────┤
22
- │ shell/functions.sh │ 326 B │ 272 B │
23
- ├────────────────────────────────────────────────┼───────────┼────────────────┤
24
- │ shell/history.sh │ 6.2 kB │ 2.42 kB │
25
- ├────────────────────────────────────────────────┼───────────┼────────────────┤
26
- │ shell/index.d.ts │ 46 B │ 66 B │
27
- ├────────────────────────────────────────────────┼───────────┼────────────────┤
28
- │ shell/index.d.ts.map │ 109 B │ 109 B │
29
- ├────────────────────────────────────────────────┼───────────┼────────────────┤
30
- │ shell/index.js │ 98 B │ 103 B │
31
- ├────────────────────────────────────────────────┼───────────┼────────────────┤
32
- │ shell/index.js.map │ 255 B │ 179 B │
33
- ├────────────────────────────────────────────────┼───────────┼────────────────┤
34
- │ shell/paths.sh │ 333 B │ 283 B │
35
- ├────────────────────────────────────────────────┼───────────┼────────────────┤
36
- │ shell/aliases/default/default.aliases.sh │ 15.2 kB │ 4.39 kB │
37
- ├────────────────────────────────────────────────┼───────────┼────────────────┤
38
- │ shell/aliases/gcloud/gcloud.aliases.sh │ 8.32 kB │ 2.01 kB │
39
- ├────────────────────────────────────────────────┼───────────┼────────────────┤
40
- │ shell/aliases/heroku/heroku.aliases.sh │ 32.6 kB │ 7.05 kB │
41
- ├────────────────────────────────────────────────┼───────────┼────────────────┤
42
- │ shell/aliases/jekyll/jekyll.aliases.sh │ 1.95 kB │ 586 B │
43
- ├────────────────────────────────────────────────┼───────────┼────────────────┤
44
- │ shell/aliases/pnpm/pnpm.aliases.sh │ 1.21 kB │ 476 B │
45
- ├────────────────────────────────────────────────┼───────────┼────────────────┤
46
- │ shell/aliases/subversion/subversion.aliases.sh │ 3.83 kB │ 1.38 kB │
47
- ├────────────────────────────────────────────────┼───────────┼────────────────┤
48
- │ shell/aliases/tmux/tmux.aliases.sh │ 765 B │ 362 B │
49
- ├────────────────────────────────────────────────┼───────────┼────────────────┤
50
- │ shell/configurations/README.md │ 86 B │ 93 B │
51
- ├────────────────────────────────────────────────┼───────────┼────────────────┤
52
- │ shell/configurations/bash/bashrc │ 2.01 kB │ 786 B │
53
- ├────────────────────────────────────────────────┼───────────┼────────────────┤
54
- │ shell/configurations/curl/cacert.pem │ 222 kB │ 127 kB │
55
- ├────────────────────────────────────────────────┼───────────┼────────────────┤
56
- │ shell/configurations/curl/curlrc │ 1.79 kB │ 1.03 kB │
57
- ├────────────────────────────────────────────────┼───────────┼────────────────┤
58
- │ shell/configurations/default/color.sh │ 469 B │ 352 B │
59
- ├────────────────────────────────────────────────┼───────────┼────────────────┤
60
- │ shell/configurations/default/editor.sh │ 381 B │ 278 B │
61
- ├────────────────────────────────────────────────┼───────────┼────────────────┤
62
- │ shell/configurations/default/prompt.sh │ 1.12 kB │ 595 B │
63
- ├────────────────────────────────────────────────┼───────────┼────────────────┤
64
- │ shell/configurations/inputrc/inputrc │ 1.25 kB │ 573 B │
65
- ├────────────────────────────────────────────────┼───────────┼────────────────┤
66
- │ shell/configurations/jshint/jshintrc │ 642 B │ 263 B │
67
- ├────────────────────────────────────────────────┼───────────┼────────────────┤
68
- │ shell/configurations/profile/profile │ 1.11 kB │ 581 B │
69
- ├────────────────────────────────────────────────┼───────────┼────────────────┤
70
- │ shell/configurations/tmux/tmux │ 7.7 kB │ 2.09 kB │
71
- ├────────────────────────────────────────────────┼───────────┼────────────────┤
72
- │ shell/configurations/vim/vimrc │ 4.26 kB │ 1.14 kB │
73
- ├────────────────────────────────────────────────┼───────────┼────────────────┤
74
- │ shell/configurations/wget/wgetrc │ 1.31 kB │ 793 B │
75
- ├────────────────────────────────────────────────┼───────────┼────────────────┤
76
- │ shell/configurations/zsh/zshrc │ 2.2 kB │ 935 B │
77
- ├────────────────────────────────────────────────┼───────────┼────────────────┤
78
- │ shell/functions/README.md │ 86 B │ 93 B │
79
- ├────────────────────────────────────────────────┼───────────┼────────────────┤
80
- │ shell/functions/cdls.sh │ 520 B │ 393 B │
81
- ├────────────────────────────────────────────────┼───────────┼────────────────┤
82
- │ shell/functions/curlheader.sh │ 668 B │ 375 B │
83
- ├────────────────────────────────────────────────┼───────────┼────────────────┤
84
- │ shell/functions/curltime.sh │ 1.19 kB │ 525 B │
85
- ├────────────────────────────────────────────────┼───────────┼────────────────┤
86
- │ shell/functions/encode64.sh │ 584 B │ 336 B │
87
- ├────────────────────────────────────────────────┼───────────┼────────────────┤
88
- │ shell/functions/environment.sh │ 877 B │ 414 B │
89
- ├────────────────────────────────────────────────┼───────────┼────────────────┤
90
- │ shell/functions/extract.sh │ 796 B │ 462 B │
91
- ├────────────────────────────────────────────────┼───────────┼────────────────┤
92
- │ shell/functions/filehead.sh │ 139 B │ 127 B │
93
- ├────────────────────────────────────────────────┼───────────┼────────────────┤
94
- │ shell/functions/genpwd.sh │ 537 B │ 356 B │
95
- ├────────────────────────────────────────────────┼───────────┼────────────────┤
96
- │ shell/functions/goto.sh │ 342 B │ 287 B │
97
- ├────────────────────────────────────────────────┼───────────┼────────────────┤
98
- │ shell/functions/hidehiddenfiles.sh │ 400 B │ 295 B │
99
- ├────────────────────────────────────────────────┼───────────┼────────────────┤
100
- │ shell/functions/hostinfo.sh │ 551 B │ 378 B │
101
- ├────────────────────────────────────────────────┼───────────┼────────────────┤
102
- │ shell/functions/hstats.sh │ 410 B │ 331 B │
103
- ├────────────────────────────────────────────────┼───────────┼────────────────┤
104
- │ shell/functions/httpdebug.sh │ 439 B │ 316 B │
105
- ├────────────────────────────────────────────────┼───────────┼────────────────┤
106
- │ shell/functions/keygen.sh │ 553 B │ 378 B │
107
- ├────────────────────────────────────────────────┼───────────┼────────────────┤
108
- │ shell/functions/last.sh │ 254 B │ 232 B │
109
- ├────────────────────────────────────────────────┼───────────┼────────────────┤
110
- │ shell/functions/logout.sh │ 310 B │ 264 B │
111
- ├────────────────────────────────────────────────┼───────────┼────────────────┤
112
- │ shell/functions/lowercase.sh │ 860 B │ 491 B │
113
- ├────────────────────────────────────────────────┼───────────┼────────────────┤
114
- │ shell/functions/macos.sh │ 2.42 kB │ 1.2 kB │
115
- ├────────────────────────────────────────────────┼───────────┼────────────────┤
116
- │ shell/functions/matrix.sh │ 659 B │ 509 B │
117
- ├────────────────────────────────────────────────┼───────────┼────────────────┤
118
- │ shell/functions/mcd.sh │ 451 B │ 352 B │
119
- ├────────────────────────────────────────────────┼───────────┼────────────────┤
120
- │ shell/functions/mount_read_only.sh │ 318 B │ 265 B │
121
- ├────────────────────────────────────────────────┼───────────┼────────────────┤
122
- │ shell/functions/myproc.sh │ 298 B │ 263 B │
123
- ├────────────────────────────────────────────────┼───────────┼────────────────┤
124
- │ shell/functions/prependpath.sh │ 728 B │ 321 B │
125
- ├────────────────────────────────────────────────┼───────────┼────────────────┤
126
- │ shell/functions/ql.sh │ 263 B │ 247 B │
127
- ├────────────────────────────────────────────────┼───────────┼────────────────┤
128
- │ shell/functions/rd.sh │ 429 B │ 348 B │
129
- ├────────────────────────────────────────────────┼───────────┼────────────────┤
130
- │ shell/functions/remove_disk.sh │ 245 B │ 224 B │
131
- ├────────────────────────────────────────────────┼───────────┼────────────────┤
132
- │ shell/functions/ren.sh │ 277 B │ 246 B │
133
- ├────────────────────────────────────────────────┼───────────┼────────────────┤
134
- │ shell/functions/showhiddenfiles.sh │ 401 B │ 295 B │
135
- ├────────────────────────────────────────────────┼───────────┼────────────────┤
136
- │ shell/functions/size.sh │ 366 B │ 308 B │
137
- ├────────────────────────────────────────────────┼───────────┼────────────────┤
138
- │ shell/functions/stopwatch.sh │ 350 B │ 286 B │
139
- ├────────────────────────────────────────────────┼───────────┼────────────────┤
140
- │ shell/functions/uppercase.sh │ 848 B │ 480 B │
141
- ├────────────────────────────────────────────────┼───────────┼────────────────┤
142
- │ shell/functions/view-source.sh │ 352 B │ 296 B │
143
- ├────────────────────────────────────────────────┼───────────┼────────────────┤
144
- │ shell/functions/vscode.sh │ 653 B │ 405 B │
145
- ├────────────────────────────────────────────────┼───────────┼────────────────┤
146
- │ shell/functions/whoisport.sh │ 368 B │ 298 B │
147
- ├────────────────────────────────────────────────┼───────────┼────────────────┤
148
- │ shell/functions/zipf.sh │ 409 B │ 324 B │
149
- ├────────────────────────────────────────────────┼───────────┼────────────────┤
150
- │ shell/paths/ant/ant.paths.sh │ 461 B │ 333 B │
151
- ├────────────────────────────────────────────────┼───────────┼────────────────┤
152
- │ shell/paths/default/default.paths.sh │ 867 B │ 328 B │
153
- ├────────────────────────────────────────────────┼───────────┼────────────────┤
154
- │ shell/paths/homebrew/homebrew.paths.sh │ 879 B │ 523 B │
155
- ├────────────────────────────────────────────────┼───────────┼────────────────┤
156
- │ shell/paths/java/java.paths.sh │ 661 B │ 453 B │
157
- ├────────────────────────────────────────────────┼───────────┼────────────────┤
158
- │ shell/paths/maven/maven.paths.sh │ 556 B │ 371 B │
159
- ├────────────────────────────────────────────────┼───────────┼────────────────┤
160
- │ shell/paths/node/node.paths.sh │ 448 B │ 335 B │
161
- ├────────────────────────────────────────────────┼───────────┼────────────────┤
162
- │ shell/paths/nvm/nvm.paths.sh │ 863 B │ 400 B │
163
- ├────────────────────────────────────────────────┼───────────┼────────────────┤
164
- │ shell/paths/pnpm/pnpm.paths.sh │ 439 B │ 316 B │
165
- ├────────────────────────────────────────────────┼───────────┼────────────────┤
166
- │ shell/paths/python/python.paths.sh │ 811 B │ 456 B │
167
- ├────────────────────────────────────────────────┼───────────┼────────────────┤
168
- │ shell/paths/ruby/ruby.paths.sh │ 664 B │ 396 B │
169
- ├────────────────────────────────────────────────┼───────────┼────────────────┤
170
- │ shell/paths/tmux/tmux.paths.sh │ 451 B │ 326 B │
171
- ├────────────────────────────────────────────────┼───────────┼────────────────┤
172
- ├────────────────────────────────────────────────┼───────────┼────────────────┤
173
- │ Total files: 84 │ 355 kB │ 177 kB │
174
- └────────────────────────────────────────────────┴───────────┴────────────────┘
175
-
176
-
@@ -1,3 +0,0 @@
1
- # Dotfiles aliases
2
-
3
- ![Banner representing the Dotfiles Library](/assets/dotfiles.svg)