@sebastienrousseau/dotfiles 0.2.465 → 0.2.468

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 (167) hide show
  1. package/LICENSE +20 -17
  2. package/README.md +150 -155
  3. package/dist/Makefile +2 -2
  4. package/dist/bin/backup.js.map +1 -1
  5. package/dist/bin/constants.d.ts +2 -2
  6. package/dist/bin/constants.js +1 -1
  7. package/dist/bin/dotfiles.d.ts +2 -2
  8. package/dist/bin/dotfiles.d.ts.map +1 -1
  9. package/dist/bin/dotfiles.js +1 -2
  10. package/dist/bin/dotfiles.js.map +1 -1
  11. package/dist/bin/download.d.ts +2 -2
  12. package/dist/bin/download.d.ts.map +1 -1
  13. package/dist/bin/download.js +1 -2
  14. package/dist/bin/download.js.map +1 -1
  15. package/dist/bin/index.js +1 -1
  16. package/dist/bin/index.js.map +1 -1
  17. package/dist/filesizes.txt +92 -94
  18. package/dist/lib/README.md +9 -5
  19. package/dist/lib/aliases/README.md +16 -8
  20. package/dist/lib/aliases/archives/README.md +29 -26
  21. package/dist/lib/aliases/archives/archives.aliases.sh +148 -145
  22. package/dist/lib/aliases/cd/README.md +46 -44
  23. package/dist/lib/aliases/cd/cd.aliases.sh +63 -29
  24. package/dist/lib/aliases/chmod/README.md +8 -4
  25. package/dist/lib/aliases/chmod/chmod.aliases.sh +60 -42
  26. package/dist/lib/aliases/clear/README.md +8 -4
  27. package/dist/lib/aliases/clear/clear.aliases.sh +57 -28
  28. package/dist/lib/aliases/configuration/README.md +8 -4
  29. package/dist/lib/aliases/configuration/configuration.aliases.sh +56 -30
  30. package/dist/lib/aliases/default/README.md +8 -4
  31. package/dist/lib/aliases/default/default.aliases.sh +99 -86
  32. package/dist/lib/aliases/dig/README.md +8 -4
  33. package/dist/lib/aliases/dig/dig.aliases.sh +3 -3
  34. package/dist/lib/aliases/disk-usage/README.md +8 -4
  35. package/dist/lib/aliases/disk-usage/du.aliases.sh +2 -2
  36. package/dist/lib/aliases/editor/README.md +8 -4
  37. package/dist/lib/aliases/editor/editor.aliases.sh +3 -3
  38. package/dist/lib/aliases/find/README.md +8 -4
  39. package/dist/lib/aliases/find/find.aliases.sh +3 -3
  40. package/dist/lib/aliases/gcloud/README.md +8 -4
  41. package/dist/lib/aliases/gcloud/gcloud.aliases.sh +3 -3
  42. package/dist/lib/aliases/git/README.md +8 -4
  43. package/dist/lib/aliases/git/git.aliases.sh +2 -2
  44. package/dist/lib/aliases/gnu/README.md +8 -4
  45. package/dist/lib/aliases/gnu/gnucoreutils-aliases.sh +1 -1
  46. package/dist/lib/aliases/heroku/README.md +8 -4
  47. package/dist/lib/aliases/heroku/heroku.aliases.sh +2 -2
  48. package/dist/lib/aliases/interactive/README.md +29 -17
  49. package/dist/lib/aliases/interactive/interactive.aliases.sh +14 -17
  50. package/dist/lib/aliases/jekyll/README.md +8 -4
  51. package/dist/lib/aliases/jekyll/jekyll.aliases.sh +3 -3
  52. package/dist/lib/aliases/list/README.md +8 -4
  53. package/dist/lib/aliases/list/list.aliases.sh +2 -2
  54. package/dist/lib/aliases/{macos → macOS}/README.md +8 -4
  55. package/dist/lib/aliases/{macos → macOS}/macos.aliases.sh +2 -2
  56. package/dist/lib/aliases/make/README.md +8 -4
  57. package/dist/lib/aliases/make/make.aliases.sh +2 -2
  58. package/dist/lib/aliases/mkdir/README.md +8 -4
  59. package/dist/lib/aliases/mkdir/mkdir.aliases.sh +2 -2
  60. package/dist/lib/aliases/npm/README.md +8 -4
  61. package/dist/lib/aliases/npm/npm.aliases.sh +2 -2
  62. package/dist/lib/aliases/permission/README.md +8 -4
  63. package/dist/lib/aliases/permission/permission.aliases.sh +2 -2
  64. package/dist/lib/aliases/pnpm/README.md +8 -4
  65. package/dist/lib/aliases/pnpm/pnpm.aliases.sh +2 -2
  66. package/dist/lib/aliases/ps/README.md +8 -4
  67. package/dist/lib/aliases/ps/ps.aliases.sh +2 -2
  68. package/dist/lib/aliases/rsync/README.md +8 -4
  69. package/dist/lib/aliases/rsync/rsync.aliases.sh +2 -2
  70. package/dist/lib/aliases/rust/README.md +8 -4
  71. package/dist/lib/aliases/rust/rust.aliases.sh +23 -23
  72. package/dist/lib/aliases/subversion/README.md +8 -4
  73. package/dist/lib/aliases/subversion/subversion.aliases.sh +2 -2
  74. package/dist/lib/aliases/sudo/README.md +8 -4
  75. package/dist/lib/aliases/sudo/sudo.aliases.sh +2 -2
  76. package/dist/lib/aliases/tmux/README.md +8 -4
  77. package/dist/lib/aliases/tmux/tmux.aliases.sh +2 -2
  78. package/dist/lib/aliases/update/README.md +8 -4
  79. package/dist/lib/aliases/update/update.aliases.sh +2 -2
  80. package/dist/lib/aliases/uuid/README.md +8 -4
  81. package/dist/lib/aliases/uuid/uuid.aliases.sh +2 -2
  82. package/dist/lib/aliases/wget/README.md +8 -4
  83. package/dist/lib/aliases/wget/wget.aliases.sh +2 -2
  84. package/dist/lib/aliases.sh +42 -12
  85. package/dist/lib/configurations/README.md +8 -4
  86. package/dist/lib/configurations/bash/bashrc +3 -3
  87. package/dist/lib/configurations/curl/curlrc +2 -2
  88. package/dist/lib/configurations/default/color.sh +2 -2
  89. package/dist/lib/configurations/default/constants.sh +3 -3
  90. package/dist/lib/configurations/default/editor.sh +2 -2
  91. package/dist/lib/configurations/default/prompt.sh +2 -2
  92. package/dist/lib/configurations/input/inputrc +2 -2
  93. package/dist/lib/configurations/nano/nanorc +2 -2
  94. package/dist/lib/configurations/profile/profile +2 -2
  95. package/dist/lib/configurations/tmux/default +2 -2
  96. package/dist/lib/configurations/tmux/display +2 -2
  97. package/dist/lib/configurations/tmux/linux +2 -2
  98. package/dist/lib/configurations/tmux/navigation +2 -2
  99. package/dist/lib/configurations/tmux/panes +2 -2
  100. package/dist/lib/configurations/tmux/theme +3 -3
  101. package/dist/lib/configurations/tmux/tmux +2 -2
  102. package/dist/lib/configurations/vim/vimrc +1 -1
  103. package/dist/lib/configurations/wget/wgetrc +2 -2
  104. package/dist/lib/configurations/zsh/zshrc +11 -11
  105. package/dist/lib/configurations.sh +27 -9
  106. package/dist/lib/functions/README.md +12 -4
  107. package/dist/lib/functions/cdls.sh +2 -2
  108. package/dist/lib/functions/curlheader.sh +2 -2
  109. package/dist/lib/functions/curlstatus.sh +2 -2
  110. package/dist/lib/functions/curltime.sh +3 -3
  111. package/dist/lib/functions/encode64.sh +2 -2
  112. package/dist/lib/functions/environment.sh +2 -2
  113. package/dist/lib/functions/extract.sh +2 -2
  114. package/dist/lib/functions/freespace.sh +2 -2
  115. package/dist/lib/functions/genpwd.sh +4 -4
  116. package/dist/lib/functions/goto.sh +2 -2
  117. package/dist/lib/functions/hidehiddenfiles.sh +2 -2
  118. package/dist/lib/functions/hostinfo.sh +2 -2
  119. package/dist/lib/functions/hstats.sh +2 -2
  120. package/dist/lib/functions/httpdebug.sh +2 -2
  121. package/dist/lib/functions/keygen.sh +2 -2
  122. package/dist/lib/functions/last.sh +2 -2
  123. package/dist/lib/functions/logout.sh +2 -2
  124. package/dist/lib/functions/lowercase.sh +2 -2
  125. package/dist/lib/functions/matrix.sh +2 -2
  126. package/dist/lib/functions/mount_read_only.sh +2 -2
  127. package/dist/lib/functions/myproc.sh +2 -2
  128. package/dist/lib/functions/prependpath.sh +2 -2
  129. package/dist/lib/functions/ql.sh +2 -2
  130. package/dist/lib/functions/rd.sh +2 -2
  131. package/dist/lib/functions/remove_disk.sh +2 -2
  132. package/dist/lib/functions/ren.sh +2 -2
  133. package/dist/lib/functions/showhiddenfiles.sh +2 -2
  134. package/dist/lib/functions/size.sh +2 -2
  135. package/dist/lib/functions/stopwatch.sh +2 -2
  136. package/dist/lib/functions/uppercase.sh +2 -2
  137. package/dist/lib/functions/view-source.sh +2 -2
  138. package/dist/lib/functions/vscode.sh +2 -2
  139. package/dist/lib/functions/whoisport.sh +2 -2
  140. package/dist/lib/functions/zipf.sh +2 -2
  141. package/dist/lib/functions.sh +27 -10
  142. package/dist/lib/history.sh +58 -21
  143. package/dist/lib/paths/ant/ant.paths.sh +2 -2
  144. package/dist/lib/paths/default/default.paths.sh +2 -2
  145. package/dist/lib/paths/homebrew/homebrew.paths.sh +2 -2
  146. package/dist/lib/paths/java/java.paths.sh +2 -2
  147. package/dist/lib/paths/maven/maven.paths.sh +2 -2
  148. package/dist/lib/paths/node/node.paths.sh +2 -2
  149. package/dist/lib/paths/nvm/nvm.paths.sh +2 -2
  150. package/dist/lib/paths/pnpm/pnpm.paths.sh +2 -2
  151. package/dist/lib/paths/python/python.paths.sh +2 -2
  152. package/dist/lib/paths/ruby/ruby.paths.sh +2 -2
  153. package/dist/lib/paths/tmux/tmux.paths.sh +2 -2
  154. package/dist/lib/paths.sh +28 -12
  155. package/dist/scripts/backup.sh +2 -2
  156. package/dist/scripts/banner.sh +2 -2
  157. package/dist/scripts/build.sh +2 -2
  158. package/dist/scripts/clean.sh +2 -2
  159. package/dist/scripts/compile.sh +2 -2
  160. package/dist/scripts/copy.sh +2 -2
  161. package/dist/scripts/dotfiles.sh +2 -2
  162. package/dist/scripts/download.sh +2 -2
  163. package/dist/scripts/help.sh +2 -2
  164. package/dist/scripts/ssh.sh +2 -2
  165. package/dist/scripts/unpack.sh +2 -2
  166. package/package.json +6 -5
  167. package/dist/lib/configurations/tmux/vi +0 -9
@@ -1,6 +1,6 @@
1
- # 🅳🅾🆃🅵🅸🅻🅴🆂 (v0.2.465) - <https://dotfiles.io>
1
+ # 🅳🅾🆃🅵🅸🅻🅴🆂 (v0.2.468) - <https://dotfiles.io>
2
2
  # Made with ♥ in London, UK by @wwdseb
3
- # Copyright (c) 2015-2023. All rights reserved
3
+ # Copyright (c) 2015-2024. All rights reserved
4
4
  # License: MIT
5
5
 
6
6
  ## 🆃🅷🅴🅼🅴
@@ -22,7 +22,7 @@ set -g status-justify centre # Status bar justification (left, right, centre, ab
22
22
  set -g status-left-length 50 # Status bar left length
23
23
  set -g status-right-length 50 # Status bar right length
24
24
  set -g status-right "#[fg=#FFFFFF] #[bg=#14222A] ⬛ #I #[bg=#007ACC] #H #[bg=#EB0000] %_d %B %I:%M%p "
25
- set -g window-status-current-format "#[bg=#2D1681]Dotfiles (v0.2.465)" # Current window status format
25
+ set -g window-status-current-format "#[bg=#2D1681]Dotfiles (v0.2.468)" # Current window status format
26
26
  set -g window-status-current-style "bg=#EB0000" # Current window status style
27
27
  set -g window-status-separator "" # Window status separator
28
28
  set-window-option -g clock-mode-colour "#FFFFFF" # Clock mode color
@@ -1,6 +1,6 @@
1
- # 🅳🅾🆃🅵🅸🅻🅴🆂 (v0.2.465) - <https://dotfiles.io>
1
+ # 🅳🅾🆃🅵🅸🅻🅴🆂 (v0.2.468) - <https://dotfiles.io>
2
2
  # Made with ♥ in London, UK by @wwdseb
3
- # Copyright (c) 2015-2023. All rights reserved
3
+ # Copyright (c) 2015-2024. All rights reserved
4
4
  # License: MIT
5
5
 
6
6
  bind r source-file ~/.tmux.conf \; display ".tmux.conf reloaded" \; \
@@ -1,4 +1,4 @@
1
- " 🅳🅾🆃🅵🅸🅻🅴🆂 (v0.2.465) - <https://dotfiles.io>
1
+ " 🅳🅾🆃🅵🅸🅻🅴🆂 (v0.2.468) - <https://dotfiles.io>
2
2
  " Copyright (c) Sebastien Rousseau 2022. All rights reserved
3
3
  " License: MIT
4
4
 
@@ -1,6 +1,6 @@
1
- # 🅳🅾🆃🅵🅸🅻🅴🆂 (v0.2.465) - <https://dotfiles.io>
1
+ # 🅳🅾🆃🅵🅸🅻🅴🆂 (v0.2.468) - <https://dotfiles.io>
2
2
  # Made with ♥ in London, UK by @wwdseb
3
- # Copyright (c) 2015-2023. All rights reserved
3
+ # Copyright (c) 2015-2024. All rights reserved
4
4
  # License: MIT
5
5
 
6
6
  # WGET default options
@@ -1,22 +1,22 @@
1
1
  #!/usr/bin/env bash
2
- # 🅳🅾🆃🅵🅸🅻🅴🆂 (v0.2.465) - <https://dotfiles.io>
2
+ # 🅳🅾🆃🅵🅸🅻🅴🆂 (v0.2.468) - <https://dotfiles.io>
3
3
  # Made with ♥ in London, UK by @sebastienrousseau
4
- # Copyright (c) 2015-2023. All rights reserved
4
+ # Copyright (c) 2015-2024. All rights reserved
5
5
  # License: MIT
6
6
 
7
7
  ## 🆅🅰🆁🅸🅰🅱🅻🅴🆂 - Set Dotfiles variable.
8
- HOSTNAME=$(hostname -f) # hostname of the machine.
9
- INPUTRC=${HOME}/.inputrc # set INPUTRC (so that .inputrc is respected)
10
- OS_ARCH=$(uname -m) # machine hardware name.
11
- OS_NAME=$(uname) # operating system name.
12
- OS_VERSION=$(uname -r) # operating system version number.
13
- SSL_CERT_FILE=${HOME}/cacert.pem # set the SSL_CERT_FILE environment variable.
14
- USER_LANGUAGE="en_GB.UTF-8" # default language.
15
- # USER=$(whoami) # current user name.
8
+ HOSTNAME=$(hostname -f) # hostname of the machine.
9
+ INPUTRC=${HOME}/.inputrc # set INPUTRC (so that .inputrc is respected)
10
+ OS_ARCH=$(uname -m) # machine hardware name.
11
+ OS_NAME=$(uname) # operating system name.
12
+ OS_VERSION=$(uname -r) # operating system version number.
13
+ SSL_CERT_FILE=${HOME}/cacert.pem # set the SSL_CERT_FILE environment variable.
14
+ USER_LANGUAGE="en_GB.UTF-8" # default language.
15
+ # USER=$(whoami) # current user name.
16
16
 
17
17
  ## 🅴🆇🅿🅾🆁🆃🆂 - Export the variables.
18
18
  export ARCHFLAGS="-arch ${OS_ARCH}" # archflags for the current machine.
19
- export DOTFILES_VERSION='0.2.465' # version of the dotfiles.
19
+ export DOTFILES_VERSION='0.2.468' # version of the dotfiles.
20
20
  export DOTFILES="${HOME}"/.dotfiles/lib # path to the cross plaform dotfiles.
21
21
  export HOSTNAME=${HOSTNAME} # hostname of the machine.
22
22
  export INPUTRC=${INPUTRC} # set INPUTRC (so that .inputrc is respected)
@@ -1,15 +1,33 @@
1
1
  #!/usr/bin/env bash
2
2
 
3
- # 🅳🅾🆃🅵🅸🅻🅴🆂 (v0.2.465) - <https://dotfiles.io>
4
- # Made with ♥ in London, UK by @wwdseb
5
- # Copyright (c) 2015-2023. All rights reserved
6
- # License: MIT
3
+ ################################################################################
4
+ # 🅳🅾🆃🅵🅸🅻🅴🆂
7
5
  # Script: configurations.sh
8
- # Version: 0.2.465
6
+ # Version: 0.2.468
7
+ # Author: @wwdseb
8
+ # Copyright (c) 2015-2024. All rights reserved
9
+ # Description: Script to manage shell configurations
9
10
  # Website: https://dotfiles.io
11
+ # License: MIT
12
+ ################################################################################
10
13
 
11
14
  ## 🅲🅾🅽🅵🅸🅶🆄🆁🅰🆃🅸🅾🅽🆂
12
- for config in "${HOME}"/.dotfiles/lib/configurations/[!.#]*/*.sh; do
13
- # shellcheck source=/dev/null
14
- source "${config}"
15
- done
15
+ # Function: load_custom_configurations
16
+ #
17
+ # Description:
18
+ # Loads custom shell configurations from the specified directory.
19
+ #
20
+ # Arguments:
21
+ # None
22
+ #
23
+ # Further Reading:
24
+ # ShellCheck Documentation: https://github.com/koalaman/shellcheck
25
+
26
+ load_custom_configurations() {
27
+ for config in "${HOME}"/.dotfiles/lib/configurations/[!.#]*/*.sh; do
28
+ # shellcheck source=/dev/null
29
+ source "${config}"
30
+ done
31
+ }
32
+
33
+ load_custom_configurations
@@ -1,11 +1,15 @@
1
- <!-- markdownlint-disable MD033 MD041 -->
1
+ <!-- markdownlint-disable MD033 MD041 MD043 -->
2
2
 
3
- <img src="https://kura.pro/dotfiles/v2/images/logos/dotfiles.svg"
4
- alt="dotfiles logo" width="261" align="right" />
3
+ <img
4
+ src="https://kura.pro/dotfiles/v2/images/logos/dotfiles.svg"
5
+ alt="dotfiles logo"
6
+ width="261"
7
+ align="right"
8
+ />
5
9
 
6
10
  <!-- markdownlint-enable MD033 MD041 -->
7
11
 
8
- # Dotfiles (v0.2.465)
12
+ # Dotfiles (v0.2.468)
9
13
 
10
14
  Simply designed to fit your shell life 🐚
11
15
 
@@ -18,6 +22,8 @@ The functions are organized by category and are listed below.
18
22
 
19
23
  ## 🅵🆄🅽🅲🆃🅸🅾🅽🆂 🅻🅸🆂🆃
20
24
 
25
+ <!-- markdownlint-disable MD013-->
26
+
21
27
  ### Navigation elements
22
28
 
23
29
  | Function | Description | Usage |
@@ -67,4 +73,6 @@ The functions are organized by category and are listed below.
67
73
  | `vsc` | Function to open a file or folder in Visual Studio Code. | `vsc <file>` |
68
74
  | `zipf` | Function to zip a file. | `zipf <file>` |
69
75
 
76
+ <!-- markdownlint-enable MD013-->
77
+
70
78
  [banner]: https://kura.pro/dotfiles/v2/images/titles/title-dotfiles.svg
@@ -1,8 +1,8 @@
1
1
  #!/usr/bin/env bash
2
2
 
3
- # 🅳🅾🆃🅵🅸🅻🅴🆂 (v0.2.465) - <https://dotfiles.io>
3
+ # 🅳🅾🆃🅵🅸🅻🅴🆂 (v0.2.468) - <https://dotfiles.io>
4
4
  # Made with ♥ in London, UK by @wwdseb
5
- # Copyright (c) 2015-2023. All rights reserved
5
+ # Copyright (c) 2015-2024. All rights reserved
6
6
  # License: MIT
7
7
 
8
8
  # Function to combine cd and ls.
@@ -1,8 +1,8 @@
1
1
  #!/usr/bin/env bash
2
2
 
3
- # 🅳🅾🆃🅵🅸🅻🅴🆂 (v0.2.465) - <https://dotfiles.io>
3
+ # 🅳🅾🆃🅵🅸🅻🅴🆂 (v0.2.468) - <https://dotfiles.io>
4
4
  # Made with ♥ in London, UK by @wwdseb
5
- # Copyright (c) 2015-2023. All rights reserved
5
+ # Copyright (c) 2015-2024. All rights reserved
6
6
  # License: MIT
7
7
 
8
8
  ## curlheader: Function to return only a specific response header or all response headers for a given URL.
@@ -1,8 +1,8 @@
1
1
  #!/usr/bin/env bash
2
2
 
3
- # 🅳🅾🆃🅵🅸🅻🅴🆂 (v0.2.465) - <https://dotfiles.io>
3
+ # 🅳🅾🆃🅵🅸🅻🅴🆂 (v0.2.468) - <https://dotfiles.io>
4
4
  # Made with ♥ in London, UK by @wwdseb
5
- # Copyright (c) 2015-2023. All rights reserved
5
+ # Copyright (c) 2015-2024. All rights reserved
6
6
  # License: MIT
7
7
 
8
8
  ## curlstatus: Function to return only the HTTP status code for a given URL.
@@ -1,8 +1,8 @@
1
1
  #!/usr/bin/env bash
2
2
 
3
- # 🅳🅾🆃🅵🅸🅻🅴🆂 (v0.2.465) - <https://dotfiles.io>
3
+ # 🅳🅾🆃🅵🅸🅻🅴🆂 (v0.2.468) - <https://dotfiles.io>
4
4
  # Made with ♥ in London, UK by @wwdseb
5
- # Copyright (c) 2015-2023. All rights reserved
5
+ # Copyright (c) 2015-2024. All rights reserved
6
6
  # License: MIT
7
7
 
8
8
  # https://dotfiles.io
@@ -10,7 +10,7 @@
10
10
  # Description: Mac OS X Dotfiles - Simply designed to fit your shell life.
11
11
  #
12
12
  # Made with ♥ in London, UK by @wwdseb
13
- # Copyright (c) 2015-2023. All rights reserved
13
+ # Copyright (c) 2015-2024. All rights reserved
14
14
  # Licensed under the MIT license
15
15
  #
16
16
 
@@ -1,8 +1,8 @@
1
1
  #!/usr/bin/env bash
2
2
 
3
- # 🅳🅾🆃🅵🅸🅻🅴🆂 (v0.2.465) - <https://dotfiles.io>
3
+ # 🅳🅾🆃🅵🅸🅻🅴🆂 (v0.2.468) - <https://dotfiles.io>
4
4
  # Made with ♥ in London, UK by @wwdseb
5
- # Copyright (c) 2015-2023. All rights reserved
5
+ # Copyright (c) 2015-2024. All rights reserved
6
6
  # License: MIT
7
7
 
8
8
  # encode64: Function to encode a string to base64.
@@ -1,8 +1,8 @@
1
1
  #!/usr/bin/env bash
2
2
 
3
- # 🅳🅾🆃🅵🅸🅻🅴🆂 (v0.2.465) - <https://dotfiles.io>
3
+ # 🅳🅾🆃🅵🅸🅻🅴🆂 (v0.2.468) - <https://dotfiles.io>
4
4
  # Made with ♥ in London, UK by @wwdseb
5
- # Copyright (c) 2015-2023. All rights reserved
5
+ # Copyright (c) 2015-2024. All rights reserved
6
6
  # License: MIT
7
7
 
8
8
  # environment: Function to detect the current environment
@@ -1,8 +1,8 @@
1
1
  #!/usr/bin/env bash
2
2
 
3
- # 🅳🅾🆃🅵🅸🅻🅴🆂 (v0.2.465) - <https://dotfiles.io>
3
+ # 🅳🅾🆃🅵🅸🅻🅴🆂 (v0.2.468) - <https://dotfiles.io>
4
4
  # Made with ♥ in London, UK by @wwdseb
5
- # Copyright (c) 2015-2023. All rights reserved
5
+ # Copyright (c) 2015-2024. All rights reserved
6
6
  # License: MIT
7
7
 
8
8
  # extract: Function to extract most know archives with one command
@@ -1,8 +1,8 @@
1
1
  #!/usr/bin/env bash
2
2
 
3
- # 🅳🅾🆃🅵🅸🅻🅴🆂 (v0.2.465) - <https://dotfiles.io>
3
+ # 🅳🅾🆃🅵🅸🅻🅴🆂 (v0.2.468) - <https://dotfiles.io>
4
4
  # Made with ♥ in London, UK by @wwdseb
5
- # Copyright (c) 2015-2023. All rights reserved
5
+ # Copyright (c) 2015-2024. All rights reserved
6
6
  # License: MIT
7
7
 
8
8
  # Erases purgeable disk space with 0s on the selected disk
@@ -1,15 +1,15 @@
1
1
  #!/usr/bin/env bash
2
2
 
3
- # 🅳🅾🆃🅵🅸🅻🅴🆂 (v0.2.465) - <https://dotfiles.io>
3
+ # 🅳🅾🆃🅵🅸🅻🅴🆂 (v0.2.468) - <https://dotfiles.io>
4
4
  # Made with ♥ in London, UK by @wwdseb
5
- # Copyright (c) 2015-2023. All rights reserved
5
+ # Copyright (c) 2015-2024. All rights reserved
6
6
  # License: MIT
7
7
 
8
8
  # Function to generates a strong random password of 27 characters
9
9
  #!/usr/bin/env bash
10
- # 🅳🅾🆃🅵🅸🅻🅴🆂 (v0.2.465) - https://dotfiles.io
10
+ # 🅳🅾🆃🅵🅸🅻🅴🆂 (v0.2.468) - https://dotfiles.io
11
11
  # Made with ♥ in London, UK by @sebastienrousseau
12
- # Copyright (c) 2015-2023. All rights reserved
12
+ # Copyright (c) 2015-2024. All rights reserved
13
13
  # License: MIT
14
14
 
15
15
  # genpwd: Function to generates a strong random password of 20 characters (similar to Apple)
@@ -1,8 +1,8 @@
1
1
  #!/usr/bin/env bash
2
2
 
3
- # 🅳🅾🆃🅵🅸🅻🅴🆂 (v0.2.465) - <https://dotfiles.io>
3
+ # 🅳🅾🆃🅵🅸🅻🅴🆂 (v0.2.468) - <https://dotfiles.io>
4
4
  # Made with ♥ in London, UK by @wwdseb
5
- # Copyright (c) 2015-2023. All rights reserved
5
+ # Copyright (c) 2015-2024. All rights reserved
6
6
  # License: MIT
7
7
 
8
8
  # goto: Function to change to the directory inputed
@@ -1,8 +1,8 @@
1
1
  #!/usr/bin/env bash
2
2
 
3
- # 🅳🅾🆃🅵🅸🅻🅴🆂 (v0.2.465) - <https://dotfiles.io>
3
+ # 🅳🅾🆃🅵🅸🅻🅴🆂 (v0.2.468) - <https://dotfiles.io>
4
4
  # Made with ♥ in London, UK by @wwdseb
5
- # Copyright (c) 2015-2023. All rights reserved
5
+ # Copyright (c) 2015-2024. All rights reserved
6
6
  # License: MIT
7
7
 
8
8
  # Hide hidden system and dotfile files
@@ -1,8 +1,8 @@
1
1
  #!/usr/bin/env bash
2
2
 
3
- # 🅳🅾🆃🅵🅸🅻🅴🆂 (v0.2.465) - <https://dotfiles.io>
3
+ # 🅳🅾🆃🅵🅸🅻🅴🆂 (v0.2.468) - <https://dotfiles.io>
4
4
  # Made with ♥ in London, UK by @wwdseb
5
- # Copyright (c) 2015-2023. All rights reserved
5
+ # Copyright (c) 2015-2024. All rights reserved
6
6
  # License: MIT
7
7
 
8
8
  # hostinfo: Function to display useful host related informaton
@@ -1,8 +1,8 @@
1
1
  #!/usr/bin/env bash
2
2
 
3
- # 🅳🅾🆃🅵🅸🅻🅴🆂 (v0.2.465) - <https://dotfiles.io>
3
+ # 🅳🅾🆃🅵🅸🅻🅴🆂 (v0.2.468) - <https://dotfiles.io>
4
4
  # Made with ♥ in London, UK by @wwdseb
5
- # Copyright (c) 2015-2023. All rights reserved
5
+ # Copyright (c) 2015-2024. All rights reserved
6
6
  # License: MIT
7
7
 
8
8
  # hstats: Function to display Ze Shell history stats informaton
@@ -1,8 +1,8 @@
1
1
  #!/usr/bin/env bash
2
2
 
3
- # 🅳🅾🆃🅵🅸🅻🅴🆂 (v0.2.465) - <https://dotfiles.io>
3
+ # 🅳🅾🆃🅵🅸🅻🅴🆂 (v0.2.468) - <https://dotfiles.io>
4
4
  # Made with ♥ in London, UK by @wwdseb
5
- # Copyright (c) 2015-2023. All rights reserved
5
+ # Copyright (c) 2015-2024. All rights reserved
6
6
  # License: MIT
7
7
 
8
8
  # httpdebug: Function to download a web page and show info on what took time
@@ -1,8 +1,8 @@
1
1
  #!/usr/bin/env bash
2
2
 
3
- # 🅳🅾🆃🅵🅸🅻🅴🆂 (v0.2.465) - <https://dotfiles.io>
3
+ # 🅳🅾🆃🅵🅸🅻🅴🆂 (v0.2.468) - <https://dotfiles.io>
4
4
  # Made with ♥ in London, UK by @wwdseb
5
- # Copyright (c) 2015-2023. All rights reserved
5
+ # Copyright (c) 2015-2024. All rights reserved
6
6
  # License: MIT
7
7
 
8
8
  # keygen: Function to generates SSH key
@@ -1,8 +1,8 @@
1
1
  #!/usr/bin/env bash
2
2
 
3
- # 🅳🅾🆃🅵🅸🅻🅴🆂 (v0.2.465) - <https://dotfiles.io>
3
+ # 🅳🅾🆃🅵🅸🅻🅴🆂 (v0.2.468) - <https://dotfiles.io>
4
4
  # Made with ♥ in London, UK by @wwdseb
5
- # Copyright (c) 2015-2023. All rights reserved
5
+ # Copyright (c) 2015-2024. All rights reserved
6
6
  # License: MIT
7
7
 
8
8
  # last: List the modified files within 60 minutes.
@@ -1,8 +1,8 @@
1
1
  #!/usr/bin/env bash
2
2
 
3
- # 🅳🅾🆃🅵🅸🅻🅴🆂 (v0.2.465) - <https://dotfiles.io>
3
+ # 🅳🅾🆃🅵🅸🅻🅴🆂 (v0.2.468) - <https://dotfiles.io>
4
4
  # Made with ♥ in London, UK by @wwdseb
5
- # Copyright (c) 2015-2023. All rights reserved
5
+ # Copyright (c) 2015-2024. All rights reserved
6
6
  # License: MIT
7
7
 
8
8
  # logout: Function to logout from OS X via the Terminal
@@ -1,8 +1,8 @@
1
1
  #!/usr/bin/env bash
2
2
 
3
- # 🅳🅾🆃🅵🅸🅻🅴🆂 (v0.2.465) - <https://dotfiles.io>
3
+ # 🅳🅾🆃🅵🅸🅻🅴🆂 (v0.2.468) - <https://dotfiles.io>
4
4
  # Made with ♥ in London, UK by @wwdseb
5
- # Copyright (c) 2015-2023. All rights reserved
5
+ # Copyright (c) 2015-2024. All rights reserved
6
6
  # License: MIT
7
7
 
8
8
  # lowercase: Function to move filenames or directory names to lowercase
@@ -1,8 +1,8 @@
1
1
  #!/usr/bin/env bash
2
2
 
3
- # 🅳🅾🆃🅵🅸🅻🅴🆂 (v0.2.465) - <https://dotfiles.io>
3
+ # 🅳🅾🆃🅵🅸🅻🅴🆂 (v0.2.468) - <https://dotfiles.io>
4
4
  # Made with ♥ in London, UK by @wwdseb
5
- # Copyright (c) 2015-2023. All rights reserved
5
+ # Copyright (c) 2015-2024. All rights reserved
6
6
  # License: MIT
7
7
 
8
8
  # matrix: Function to Enable Matrix Effect in the terminal
@@ -1,8 +1,8 @@
1
1
  #!/usr/bin/env bash
2
2
 
3
- # 🅳🅾🆃🅵🅸🅻🅴🆂 (v0.2.465) - <https://dotfiles.io>
3
+ # 🅳🅾🆃🅵🅸🅻🅴🆂 (v0.2.468) - <https://dotfiles.io>
4
4
  # Made with ♥ in London, UK by @wwdseb
5
- # Copyright (c) 2015-2023. All rights reserved
5
+ # Copyright (c) 2015-2024. All rights reserved
6
6
  # License: MIT
7
7
 
8
8
  # mount_read_only: Function to mount a read-only disk image as read-write
@@ -1,8 +1,8 @@
1
1
  #!/usr/bin/env bash
2
2
 
3
- # 🅳🅾🆃🅵🅸🅻🅴🆂 (v0.2.465) - <https://dotfiles.io>
3
+ # 🅳🅾🆃🅵🅸🅻🅴🆂 (v0.2.468) - <https://dotfiles.io>
4
4
  # Made with ♥ in London, UK by @wwdseb
5
- # Copyright (c) 2015-2023. All rights reserved
5
+ # Copyright (c) 2015-2024. All rights reserved
6
6
  # License: MIT
7
7
 
8
8
  # myproc: Function to list processes owned by an user
@@ -1,8 +1,8 @@
1
1
  #!/usr/bin/env bash
2
2
 
3
- # 🅳🅾🆃🅵🅸🅻🅴🆂 (v0.2.465) - <https://dotfiles.io>
3
+ # 🅳🅾🆃🅵🅸🅻🅴🆂 (v0.2.468) - <https://dotfiles.io>
4
4
  # Made with ♥ in London, UK by @wwdseb
5
- # Copyright (c) 2015-2023. All rights reserved
5
+ # Copyright (c) 2015-2024. All rights reserved
6
6
  # License: MIT
7
7
 
8
8
  # ----------------------------------------------------------------------------
@@ -1,8 +1,8 @@
1
1
  #!/usr/bin/env bash
2
2
 
3
- # 🅳🅾🆃🅵🅸🅻🅴🆂 (v0.2.465) - <https://dotfiles.io>
3
+ # 🅳🅾🆃🅵🅸🅻🅴🆂 (v0.2.468) - <https://dotfiles.io>
4
4
  # Made with ♥ in London, UK by @wwdseb
5
- # Copyright (c) 2015-2023. All rights reserved
5
+ # Copyright (c) 2015-2024. All rights reserved
6
6
  # License: MIT
7
7
 
8
8
  # ql: Function to open any file in MacOS Quicklook Preview
@@ -1,8 +1,8 @@
1
1
  #!/usr/bin/env bash
2
2
 
3
- # 🅳🅾🆃🅵🅸🅻🅴🆂 (v0.2.465) - <https://dotfiles.io>
3
+ # 🅳🅾🆃🅵🅸🅻🅴🆂 (v0.2.468) - <https://dotfiles.io>
4
4
  # Made with ♥ in London, UK by @wwdseb
5
- # Copyright (c) 2015-2023. All rights reserved
5
+ # Copyright (c) 2015-2024. All rights reserved
6
6
  # License: MIT
7
7
 
8
8
  # rd: Function to remove a directory and its files
@@ -1,8 +1,8 @@
1
1
  #!/usr/bin/env bash
2
2
 
3
- # 🅳🅾🆃🅵🅸🅻🅴🆂 (v0.2.465) - <https://dotfiles.io>
3
+ # 🅳🅾🆃🅵🅸🅻🅴🆂 (v0.2.468) - <https://dotfiles.io>
4
4
  # Made with ♥ in London, UK by @wwdseb
5
- # Copyright (c) 2015-2023. All rights reserved
5
+ # Copyright (c) 2015-2024. All rights reserved
6
6
  # License: MIT
7
7
 
8
8
  # remove_disk: spin down unneeded disk
@@ -1,8 +1,8 @@
1
1
  #!/usr/bin/env bash
2
2
 
3
- # 🅳🅾🆃🅵🅸🅻🅴🆂 (v0.2.465) - <https://dotfiles.io>
3
+ # 🅳🅾🆃🅵🅸🅻🅴🆂 (v0.2.468) - <https://dotfiles.io>
4
4
  # Made with ♥ in London, UK by @wwdseb
5
- # Copyright (c) 2015-2023. All rights reserved
5
+ # Copyright (c) 2015-2024. All rights reserved
6
6
  # License: MIT
7
7
 
8
8
  # ren: Function to rename files extension.
@@ -1,8 +1,8 @@
1
1
  #!/usr/bin/env bash
2
2
 
3
- # 🅳🅾🆃🅵🅸🅻🅴🆂 (v0.2.465) - <https://dotfiles.io>
3
+ # 🅳🅾🆃🅵🅸🅻🅴🆂 (v0.2.468) - <https://dotfiles.io>
4
4
  # Made with ♥ in London, UK by @wwdseb
5
- # Copyright (c) 2015-2023. All rights reserved
5
+ # Copyright (c) 2015-2024. All rights reserved
6
6
  # License: MIT
7
7
 
8
8
  # Show hidden system and dotfile files
@@ -1,8 +1,8 @@
1
1
  #!/usr/bin/env bash
2
2
 
3
- # 🅳🅾🆃🅵🅸🅻🅴🆂 (v0.2.465) - <https://dotfiles.io>
3
+ # 🅳🅾🆃🅵🅸🅻🅴🆂 (v0.2.468) - <https://dotfiles.io>
4
4
  # Made with ♥ in London, UK by @wwdseb
5
- # Copyright (c) 2015-2023. All rights reserved
5
+ # Copyright (c) 2015-2024. All rights reserved
6
6
  # License: MIT
7
7
 
8
8
  # size: Function to check a file size
@@ -1,8 +1,8 @@
1
1
  #!/usr/bin/env bash
2
2
 
3
- # 🅳🅾🆃🅵🅸🅻🅴🆂 (v0.2.465) - <https://dotfiles.io>
3
+ # 🅳🅾🆃🅵🅸🅻🅴🆂 (v0.2.468) - <https://dotfiles.io>
4
4
  # Made with ♥ in London, UK by @wwdseb
5
- # Copyright (c) 2015-2023. All rights reserved
5
+ # Copyright (c) 2015-2024. All rights reserved
6
6
  # License: MIT
7
7
 
8
8
  # stopwatch: Function for a stopwatch
@@ -1,8 +1,8 @@
1
1
  #!/usr/bin/env bash
2
2
 
3
- # 🅳🅾🆃🅵🅸🅻🅴🆂 (v0.2.465) - <https://dotfiles.io>
3
+ # 🅳🅾🆃🅵🅸🅻🅴🆂 (v0.2.468) - <https://dotfiles.io>
4
4
  # Made with ♥ in London, UK by @wwdseb
5
- # Copyright (c) 2015-2023. All rights reserved
5
+ # Copyright (c) 2015-2024. All rights reserved
6
6
  # License: MIT
7
7
 
8
8
  # uppercase: Function to move filenames or directory names to uppercase
@@ -1,8 +1,8 @@
1
1
  #!/usr/bin/env bash
2
2
 
3
- # 🅳🅾🆃🅵🅸🅻🅴🆂 (v0.2.465) - <https://dotfiles.io>
3
+ # 🅳🅾🆃🅵🅸🅻🅴🆂 (v0.2.468) - <https://dotfiles.io>
4
4
  # Made with ♥ in London, UK by @wwdseb
5
- # Copyright (c) 2015-2023. All rights reserved
5
+ # Copyright (c) 2015-2024. All rights reserved
6
6
  # License: MIT
7
7
 
8
8
  # view-source: Function to view the source of a website.
@@ -1,8 +1,8 @@
1
1
  #!/usr/bin/env bash
2
2
 
3
- # 🅳🅾🆃🅵🅸🅻🅴🆂 (v0.2.465) - <https://dotfiles.io>
3
+ # 🅳🅾🆃🅵🅸🅻🅴🆂 (v0.2.468) - <https://dotfiles.io>
4
4
  # Made with ♥ in London, UK by @wwdseb
5
- # Copyright (c) 2015-2023. All rights reserved
5
+ # Copyright (c) 2015-2024. All rights reserved
6
6
  # License: MIT
7
7
 
8
8
  # vsc: Function to open a file in Visual Studio Code.
@@ -1,8 +1,8 @@
1
1
  #!/usr/bin/env bash
2
2
 
3
- # 🅳🅾🆃🅵🅸🅻🅴🆂 (v0.2.465) - <https://dotfiles.io>
3
+ # 🅳🅾🆃🅵🅸🅻🅴🆂 (v0.2.468) - <https://dotfiles.io>
4
4
  # Made with ♥ in London, UK by @wwdseb
5
- # Copyright (c) 2015-2023. All rights reserved
5
+ # Copyright (c) 2015-2024. All rights reserved
6
6
  # License: MIT
7
7
 
8
8
  # whoisport: Function to find what is currently using a port.
@@ -1,8 +1,8 @@
1
1
  #!/usr/bin/env bash
2
2
 
3
- # 🅳🅾🆃🅵🅸🅻🅴🆂 (v0.2.465) - <https://dotfiles.io>
3
+ # 🅳🅾🆃🅵🅸🅻🅴🆂 (v0.2.468) - <https://dotfiles.io>
4
4
  # Made with ♥ in London, UK by @wwdseb
5
- # Copyright (c) 2015-2023. All rights reserved
5
+ # Copyright (c) 2015-2024. All rights reserved
6
6
  # License: MIT
7
7
 
8
8
  # zipf: Function to create a ZIP archive of a folder
@@ -1,15 +1,32 @@
1
1
  #!/usr/bin/env bash
2
2
 
3
- # 🅳🅾🆃🅵🅸🅻🅴🆂 (v0.2.465) - <https://dotfiles.io>
4
- # Made with ♥ in London, UK by @wwdseb
5
- # Copyright (c) 2015-2023. All rights reserved
6
- # License: MIT
3
+ ################################################################################
4
+ # 🅳🅾🆃🅵🅸🅻🅴🆂
7
5
  # Script: functions.sh
8
- # Version: 0.2.465
6
+ # Version: 0.2.468
7
+ # Author: @wwdseb
8
+ # Copyright (c) 2015-2024. All rights reserved
9
+ # Description: Script to load custom executable functions
9
10
  # Website: https://dotfiles.io
11
+ # License: MIT
12
+ ################################################################################
13
+
14
+ # Function: load_custom_functions
15
+ #
16
+ # Description:
17
+ # Loads custom executable functions from the specified directory.
18
+ #
19
+ # Arguments:
20
+ # None
21
+ #
22
+ # Further Reading:
23
+ # ShellCheck Documentation: https://github.com/koalaman/shellcheck
24
+
25
+ load_custom_functions() {
26
+ for function in "${HOME}"/.dotfiles/lib/functions/[!.#]*.sh; do
27
+ # shellcheck source=/dev/null
28
+ source "${function}"
29
+ done
30
+ }
10
31
 
11
- # Load custom executable functions
12
- for function in "${HOME}"/.dotfiles/lib/functions/[!.#]*.sh; do
13
- # shellcheck source=/dev/null
14
- source "${function}"
15
- done
32
+ load_custom_functions