@sebastienrousseau/dotfiles 0.2.459 β†’ 0.2.460

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 (108) hide show
  1. package/README.md +5 -5
  2. package/dist/Makefile +13 -13
  3. package/dist/bin/backup.js.map +1 -1
  4. package/dist/bin/constants.d.ts +2 -2
  5. package/dist/bin/constants.js +1 -1
  6. package/dist/bin/download.js.map +1 -1
  7. package/dist/bin/transfer.js.map +1 -1
  8. package/dist/bin/unpack.js.map +1 -1
  9. package/dist/filesizes.txt +63 -63
  10. package/dist/lib/aliases/default/default.aliases.sh +1 -1
  11. package/dist/lib/aliases/gcloud/gcloud.aliases.sh +116 -117
  12. package/dist/lib/aliases/git/git.aliases.sh +2 -43
  13. package/dist/lib/aliases/heroku/heroku.aliases.sh +673 -673
  14. package/dist/lib/aliases/jekyll/jekyll.aliases.sh +26 -26
  15. package/dist/lib/aliases/pnpm/pnpm.aliases.sh +36 -36
  16. package/dist/lib/aliases/subversion/subversion.aliases.sh +80 -80
  17. package/dist/lib/aliases/tmux/tmux.aliases.sh +1 -1
  18. package/dist/lib/aliases.sh +1 -1
  19. package/dist/lib/configurations/bash/bashrc +2 -2
  20. package/dist/lib/configurations/curl/curlrc +1 -1
  21. package/dist/lib/configurations/default/color.sh +1 -1
  22. package/dist/lib/configurations/default/constants.sh +6 -4
  23. package/dist/lib/configurations/default/editor.sh +1 -1
  24. package/dist/lib/configurations/default/prompt.sh +1 -1
  25. package/dist/lib/configurations/input/inputrc +1 -1
  26. package/dist/lib/configurations/nano/nanorc +1 -1
  27. package/dist/lib/configurations/profile/profile +1 -1
  28. package/dist/lib/configurations/tmux/default +1 -1
  29. package/dist/lib/configurations/tmux/display +1 -1
  30. package/dist/lib/configurations/tmux/linux +1 -1
  31. package/dist/lib/configurations/tmux/navigation +1 -1
  32. package/dist/lib/configurations/tmux/panes +1 -1
  33. package/dist/lib/configurations/tmux/theme +2 -2
  34. package/dist/lib/configurations/tmux/tmux +1 -1
  35. package/dist/lib/configurations/tmux/vi +1 -1
  36. package/dist/lib/configurations/vim/vimrc +1 -1
  37. package/dist/lib/configurations/wget/wgetrc +1 -1
  38. package/dist/lib/configurations/zsh/zshrc +2 -2
  39. package/dist/lib/configurations.sh +1 -1
  40. package/dist/lib/exit.sh +1 -1
  41. package/dist/lib/functions/cdls.sh +1 -1
  42. package/dist/lib/functions/changediskpwd.tmp +1 -3
  43. package/dist/lib/functions/code.tmp +1 -3
  44. package/dist/lib/functions/countdown.tmp +1 -1
  45. package/dist/lib/functions/curlheader.sh +2 -2
  46. package/dist/lib/functions/curltime.sh +3 -4
  47. package/dist/lib/functions/encode64.sh +1 -1
  48. package/dist/lib/functions/environment.sh +2 -3
  49. package/dist/lib/functions/extract.sh +1 -1
  50. package/dist/lib/functions/genpwd.sh +6 -6
  51. package/dist/lib/functions/goto.sh +1 -1
  52. package/dist/lib/functions/hidehiddenfiles.sh +1 -1
  53. package/dist/lib/functions/history-all.tmp +1 -1
  54. package/dist/lib/functions/hostinfo.sh +1 -1
  55. package/dist/lib/functions/hstats.sh +2 -2
  56. package/dist/lib/functions/httpdebug.sh +1 -1
  57. package/dist/lib/functions/keygen.sh +1 -1
  58. package/dist/lib/functions/last.sh +1 -1
  59. package/dist/lib/functions/logout.sh +1 -1
  60. package/dist/lib/functions/lowercase.sh +16 -17
  61. package/dist/lib/functions/macos.sh +14 -15
  62. package/dist/lib/functions/matrix.sh +1 -1
  63. package/dist/lib/functions/mcd.sh +1 -1
  64. package/dist/lib/functions/mount_read_only.sh +1 -1
  65. package/dist/lib/functions/myproc.sh +1 -1
  66. package/dist/lib/functions/prependpath.sh +2 -2
  67. package/dist/lib/functions/print.tmp +1 -1
  68. package/dist/lib/functions/ql.sh +1 -1
  69. package/dist/lib/functions/rd.sh +3 -3
  70. package/dist/lib/functions/remove_disk.sh +2 -2
  71. package/dist/lib/functions/ren.sh +1 -1
  72. package/dist/lib/functions/rm.tmp +1 -1
  73. package/dist/lib/functions/rps.tmp +1 -1
  74. package/dist/lib/functions/showhiddenfiles.sh +1 -1
  75. package/dist/lib/functions/size.sh +1 -1
  76. package/dist/lib/functions/stopwatch.sh +1 -1
  77. package/dist/lib/functions/trash.tmp +1 -1
  78. package/dist/lib/functions/tree.tmp +1 -1
  79. package/dist/lib/functions/uppercase.sh +16 -17
  80. package/dist/lib/functions/view-source.sh +2 -3
  81. package/dist/lib/functions/vscode.sh +1 -2
  82. package/dist/lib/functions/whoisport.sh +1 -1
  83. package/dist/lib/functions/zipf.sh +2 -2
  84. package/dist/lib/functions.sh +1 -1
  85. package/dist/lib/history.sh +22 -22
  86. package/dist/lib/paths/ant/ant.paths.sh +1 -1
  87. package/dist/lib/paths/default/default.paths.sh +10 -10
  88. package/dist/lib/paths/homebrew/homebrew.paths.sh +1 -1
  89. package/dist/lib/paths/java/java.paths.sh +1 -1
  90. package/dist/lib/paths/maven/maven.paths.sh +1 -1
  91. package/dist/lib/paths/node/node.paths.sh +1 -1
  92. package/dist/lib/paths/nvm/nvm.paths.sh +1 -1
  93. package/dist/lib/paths/pnpm/pnpm.paths.sh +1 -1
  94. package/dist/lib/paths/python/python.paths.sh +3 -3
  95. package/dist/lib/paths/ruby/ruby.paths.sh +1 -1
  96. package/dist/lib/paths/tmux/tmux.paths.sh +1 -1
  97. package/dist/lib/paths.sh +1 -1
  98. package/dist/scripts/backup.sh +8 -3
  99. package/dist/scripts/banner.sh +1 -1
  100. package/dist/scripts/{assemble.sh β†’ build.sh} +10 -3
  101. package/dist/scripts/clean.sh +1 -1
  102. package/dist/scripts/compile.sh +1 -1
  103. package/dist/scripts/copy.sh +2 -2
  104. package/dist/scripts/dotfiles.sh +1 -1
  105. package/dist/scripts/download.sh +14 -4
  106. package/dist/scripts/help.sh +3 -3
  107. package/dist/scripts/unpack.sh +1 -1
  108. package/package.json +1 -1
@@ -1,17 +1,17 @@
1
1
  #!/usr/bin/env bash
2
- # πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.459) - https://dotfiles.io
2
+ # πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.460) - https://dotfiles.io
3
3
  # Copyright (c) Sebastien Rousseau 2022. All rights reserved
4
4
  # License: MIT
5
5
 
6
6
  ## πŸ…ΏπŸ…°πŸ†ƒπŸ…·πŸ†‚
7
7
 
8
8
  ### Add 'PATH' entries.
9
- export PATH=/usr/local/bin:"${PATH}" # Add /usr/local/bin to the path
10
- export PATH=/usr/local/sbin:"${PATH}" # Add /usr/local/sbin to the path
11
- export PATH=/usr/bin:"${PATH}" # Add /usr/bin to the path
12
- export PATH=/bin:"${PATH}" # Add /bin to the path
13
- export PATH=/usr/sbin:"${PATH}" # Add /usr/sbin to the path
14
- export PATH=/sbin:"${PATH}" # Add /sbin to the path
15
- export PATH="${HOME}"/.cargo/bin:"${PATH}" # Add ~/.cargo/bin to the path
16
- export PATH="${HOME}"/.yarn/bin:"${PATH}" # Add ~/.yarn/bin to the path
17
- export PATH="${HOME}"/go/bin:"${PATH}" # Add ~/go/bin to the path
9
+ export PATH=/usr/local/bin:"${PATH}" # Add /usr/local/bin to the path
10
+ export PATH=/usr/local/sbin:"${PATH}" # Add /usr/local/sbin to the path
11
+ export PATH=/usr/bin:"${PATH}" # Add /usr/bin to the path
12
+ export PATH=/bin:"${PATH}" # Add /bin to the path
13
+ export PATH=/usr/sbin:"${PATH}" # Add /usr/sbin to the path
14
+ export PATH=/sbin:"${PATH}" # Add /sbin to the path
15
+ export PATH="${HOME}"/.cargo/bin:"${PATH}" # Add ~/.cargo/bin to the path
16
+ export PATH="${HOME}"/.yarn/bin:"${PATH}" # Add ~/.yarn/bin to the path
17
+ export PATH="${HOME}"/go/bin:"${PATH}" # Add ~/go/bin to the path
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env bash
2
- # πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.459) - https://dotfiles.io
2
+ # πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.460) - https://dotfiles.io
3
3
  # Copyright (c) Sebastien Rousseau 2022. All rights reserved
4
4
  # License: MIT
5
5
 
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env bash
2
- # πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.459) - https://dotfiles.io
2
+ # πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.460) - https://dotfiles.io
3
3
  # Copyright (c) Sebastien Rousseau 2022. All rights reserved
4
4
  # License: MIT
5
5
 
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env bash
2
- # πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.459) - https://dotfiles.io
2
+ # πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.460) - https://dotfiles.io
3
3
  # Copyright (c) Sebastien Rousseau 2022. All rights reserved
4
4
  # License: MIT
5
5
 
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env bash
2
- # πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.459) - https://dotfiles.io
2
+ # πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.460) - https://dotfiles.io
3
3
  # Copyright (c) Sebastien Rousseau 2022. All rights reserved
4
4
  # License: MIT
5
5
 
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env bash
2
- # πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.459) - https://dotfiles.io
2
+ # πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.460) - https://dotfiles.io
3
3
  # Copyright (c) Sebastien Rousseau 2022. All rights reserved
4
4
  # License: MIT
5
5
 
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env bash
2
- # πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.459) - https://dotfiles.io
2
+ # πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.460) - https://dotfiles.io
3
3
  # Copyright (c) Sebastien Rousseau 2022. All rights reserved
4
4
  # License: MIT
5
5
 
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env bash
2
- # πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.459) - https://dotfiles.io
2
+ # πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.460) - https://dotfiles.io
3
3
  # Copyright (c) Sebastien Rousseau 2022. All rights reserved
4
4
  # License: MIT
5
5
 
@@ -15,10 +15,10 @@ elif [[ "${OSTYPE}" == "linux-gnu"* ]]; then
15
15
  fi
16
16
 
17
17
  # Encoding[:errors] used for stdin/stdout/stderr.
18
- export PYTHONIOENCODING='UTF-8';
18
+ export PYTHONIOENCODING='UTF-8'
19
19
 
20
20
  # If set to 1, enables the UTF-8 mode.
21
- export PYTHONUTF8=1;
21
+ export PYTHONUTF8=1
22
22
 
23
23
  # Export PYTHONHOME variable
24
24
  export PYTHONHOME
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env bash
2
- # πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.459) - https://dotfiles.io
2
+ # πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.460) - https://dotfiles.io
3
3
  # Copyright (c) Sebastien Rousseau 2022. All rights reserved
4
4
  # License: MIT
5
5
 
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env bash
2
- # πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.459) - https://dotfiles.io
2
+ # πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.460) - https://dotfiles.io
3
3
  # Copyright (c) Sebastien Rousseau 2022. All rights reserved
4
4
  # License: MIT
5
5
 
package/dist/lib/paths.sh CHANGED
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env bash
2
- # πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.459) - https://dotfiles.io
2
+ # πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.460) - https://dotfiles.io
3
3
  # Copyright (c) Sebastien Rousseau 2022. All rights reserved
4
4
  # License: MIT
5
5
 
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env bash
2
- # πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.459) - https://dotfiles.io
2
+ # πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.460) - https://dotfiles.io
3
3
  # Copyright (c) Sebastien Rousseau 2022. All rights reserved
4
4
  # License: MIT
5
5
 
@@ -30,9 +30,14 @@ backup() {
30
30
 
31
31
  # Backup existing Dotfiles directory.
32
32
  if [[ -d "${HOME}"/.dotfiles ]]; then
33
- echo "${GREEN} βœ”${NC} Backing up previous Dotfiles installation to '${GREEN}${DF_BACKUPDIR}/${DF_TIMESTAMP}/${NC}'..."
33
+ echo "${GREEN} βœ”${NC} Backing up previous Dotfiles installation to '${GREEN}${DF_BACKUPDIR}${DF_TIMESTAMP}/${NC}'..."
34
34
  # shellcheck disable=SC2154
35
- mv -f "${DF_DOTFILESDIR}" "${HOME}"/dotfiles_backup/"${DF_TIMESTAMP}"/
35
+ if [[ -d "${DF_BACKUPDIR}${DF_TIMESTAMP}/${DF}" ]]; then
36
+ mv -f "${DF_DOTFILESDIR}" "${DF_BACKUPDIR}${DF_TIMESTAMP}/${DF}"
37
+ else
38
+ mkdir -p "${DF_BACKUPDIR}${DF_TIMESTAMP}/${DF}"
39
+ mv -f "${DF_DOTFILESDIR}" "${DF_BACKUPDIR}${DF_TIMESTAMP}/${DF}"
40
+ fi
36
41
  fi
37
42
 
38
43
  # File list (use trailing slash for directories)
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env bash
2
- # πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.459) - https://dotfiles.io
2
+ # πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.460) - https://dotfiles.io
3
3
  # Copyright (c) Sebastien Rousseau 2022. All rights reserved
4
4
  # License: MIT
5
5
 
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env bash
2
- # πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.459) - https://dotfiles.io
2
+ # πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.460) - https://dotfiles.io
3
3
  # Copyright (c) Sebastien Rousseau 2022. All rights reserved
4
4
  # License: MIT
5
5
 
@@ -18,8 +18,8 @@
18
18
  # shellcheck disable=SC1091
19
19
  . "./scripts/copy.sh"
20
20
 
21
- ## πŸ…°πŸ†‚πŸ†‚πŸ…΄πŸ…ΌπŸ…±πŸ…»πŸ…΄ - Assemble the dotfiles on your system.
22
- assemble() {
21
+ ## πŸ…±πŸ†„πŸ…ΈπŸ…»πŸ…³ - Build the dotfiles on your system.
22
+ build() {
23
23
 
24
24
  # shellcheck disable=SC2154
25
25
  echo "${RED}❭${NC} Preparing the dotfiles on your system."
@@ -30,3 +30,10 @@ assemble() {
30
30
  copy
31
31
 
32
32
  }
33
+
34
+ args=$* # Arguments passed to script.
35
+ export args="${args}" # Exporting arguments.
36
+ if [[ ${args} = "build" ]]; then
37
+ echo "$*"
38
+ build
39
+ fi
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env bash
2
- # πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.459) - https://dotfiles.io
2
+ # πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.460) - https://dotfiles.io
3
3
  # Copyright (c) Sebastien Rousseau 2022. All rights reserved
4
4
  # License: MIT
5
5
 
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env bash
2
- # πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.459) - https://dotfiles.io
2
+ # πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.460) - https://dotfiles.io
3
3
  # Copyright (c) Sebastien Rousseau 2022. All rights reserved
4
4
  # License: MIT
5
5
 
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env bash
2
- # πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.459) - https://dotfiles.io
2
+ # πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.460) - https://dotfiles.io
3
3
  # Copyright (c) Sebastien Rousseau 2022. All rights reserved
4
4
  # License: MIT
5
5
 
@@ -62,7 +62,7 @@ copy() {
62
62
  echo "${GREEN} βœ”${NC} Copying '${YELLOW}.gemrc${NC}'" &&
63
63
 
64
64
  # inputrc -- Copying .inputrc file.
65
- cp -f "${PWD}"/lib/configurations/inputrc/inputrc "${HOME}"/.inputrc &&
65
+ cp -f "${PWD}"/lib/configurations/input/inputrc "${HOME}"/.inputrc &&
66
66
  echo "${GREEN} βœ”${NC} Copying '${YELLOW}.inputrc${NC}'" &&
67
67
 
68
68
  # jshintrc -- Copying .jshintrc file.
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env bash
2
- # πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.459) - https://dotfiles.io
2
+ # πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.460) - https://dotfiles.io
3
3
  # Copyright (c) Sebastien Rousseau 2022. All rights reserved
4
4
  # License: MIT
5
5
 
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env bash
2
- # πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.459) - https://dotfiles.io
2
+ # πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.460) - https://dotfiles.io
3
3
  # Copyright (c) Sebastien Rousseau 2022. All rights reserved
4
4
  # License: MIT
5
5
 
@@ -13,11 +13,21 @@ export DF_DOTFILESDIR # Exporting Location of dotfiles.
13
13
  ## πŸ…³πŸ…ΎπŸ††πŸ…½πŸ…»πŸ…ΎπŸ…°πŸ…³ - Download the dotfiles on your system.
14
14
  download() {
15
15
  # shellcheck disable=SC2154
16
- echo "${RED}❭${NC} Downloading ${GREEN}Dotfiles v${DF_VERSION}${NC} on your system."
16
+ echo "${RED}❭${NC} Downloading ${GREEN}Dotfiles v${DF_VERSION}${NC} on your system at ${GREEN}${DF_DOWNLOADDIR}${NC}..."
17
17
 
18
+ # Download the dotfiles with curl.
18
19
  # shellcheck disable=SC2154
19
- # wget https://github.com/sebastienrousseau/dotfiles/archive/refs/tags/v"${DF_VERSION}".zip -N -O "${DF_DOWNLOADDIR}/v${DF_VERSION}.zip"
20
+ # curl -0 https://github.com/sebastienrousseau/dotfiles/archive/refs/tags/v"${DF_VERSION}".tar.gz -o "${DF_DOWNLOADDIR}"/dotfiles-"${DF_VERSION}".tar.gz
20
21
 
22
+ # Download the dotfiles with wget.
21
23
  # shellcheck disable=SC2154
22
- curl https://github.com/sebastienrousseau/dotfiles/archive/refs/tags/v"${DF_VERSION}".zip -o "${DF_DOWNLOADDIR}"/v"${DF_VERSION}".zip
24
+ wget --no-check-certificate --content-disposition https://github.com/sebastienrousseau/dotfiles/archive/refs/tags/v"${DF_VERSION}".zip -O "${DF_DOWNLOADDIR}/v${DF_VERSION}.zip"
25
+
23
26
  }
27
+
28
+ args=$* # Arguments passed to script.
29
+ export args="${args}" # Exporting arguments.
30
+ if [[ ${args} = "download" ]]; then
31
+ echo "$*"
32
+ download
33
+ fi
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env bash
2
- # πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.459) - https://dotfiles.io
2
+ # πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.460) - https://dotfiles.io
3
3
  # Copyright (c) Sebastien Rousseau 2022. All rights reserved
4
4
  # License: MIT
5
5
 
@@ -29,10 +29,10 @@ USAGE:
29
29
  COMMANDS:
30
30
 
31
31
  $(echo -e "\033[1;96mbackup\033[0m\n") - Backup your current dotfiles.
32
- $(echo -e "\033[1;96mclean\033[0m\n") - Removes any previous setup directories.
32
+ $(echo -e "\033[1;96mclean\033[0m\n") - Removes any previous setup.
33
33
  $(echo -e "\033[1;96mcopy\033[0m\n") - Copy the dotfiles on your system.
34
34
  $(echo -e "\033[1;96mdownload\033[0m\n") - Download the dotfiles on your system.
35
- $(echo -e "\033[1;96massemble\033[0m\n") - Run the full installation process.
35
+ $(echo -e "\033[1;96mbuild\033[0m\n") - Run the full installation process.
36
36
  $(echo -e "\033[1;96munpack\033[0m\n") - Extract the dotfiles to your system.
37
37
  $(echo -e "\033[1;96mhelp\033[0m\n") - Display the help menu.
38
38
 
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env bash
2
- # πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.459) - https://dotfiles.io
2
+ # πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.460) - https://dotfiles.io
3
3
  # Copyright (c) Sebastien Rousseau 2022. All rights reserved
4
4
  # License: MIT
5
5
 
package/package.json CHANGED
@@ -71,7 +71,7 @@
71
71
  "url": "git@github.com:sebastienrousseau/dotfiles.git"
72
72
  },
73
73
  "types": "./dist/bin/index.d.ts",
74
- "version": "0.2.459",
74
+ "version": "0.2.460",
75
75
  "scripts": {
76
76
  "build": "pnpm run backup && pnpm run copy && pnpm run assemble",
77
77
  "backup": "chmod 755 \"./scripts/backup.sh\" && sh ./scripts/backup.sh backup",