@sebastienrousseau/dotfiles 0.2.462 β†’ 0.2.464

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 (142) hide show
  1. package/README.md +5 -5
  2. package/dist/Makefile +2 -2
  3. package/dist/bin/constants.d.ts +2 -2
  4. package/dist/bin/constants.js +1 -1
  5. package/dist/filesizes.txt +109 -87
  6. package/dist/lib/aliases/archives/README.md +84 -0
  7. package/dist/lib/aliases/archives/archives.aliases.sh +63 -19
  8. package/dist/lib/aliases/cd/README.md +46 -0
  9. package/dist/lib/aliases/cd/cd.aliases.sh +42 -0
  10. package/dist/lib/aliases/chmod/README.md +70 -0
  11. package/dist/lib/aliases/chmod/chmod.aliases.sh +73 -0
  12. package/dist/lib/aliases/clear/README.md +38 -0
  13. package/dist/lib/aliases/clear/clear.aliases.sh +36 -19
  14. package/dist/lib/aliases/configuration/README.md +46 -0
  15. package/dist/lib/aliases/configuration/configuration.aliases.sh +39 -8
  16. package/dist/lib/aliases/default/README.md +62 -0
  17. package/dist/lib/aliases/default/default.aliases.sh +59 -35
  18. package/dist/lib/aliases/dig/README.md +50 -0
  19. package/dist/lib/aliases/dig/dig.aliases.sh +37 -10
  20. package/dist/lib/aliases/du/README.md +35 -0
  21. package/dist/lib/aliases/du/du.aliases.sh +37 -0
  22. package/dist/lib/aliases/editor/README.md +47 -0
  23. package/dist/lib/aliases/editor/editor.aliases.sh +36 -3
  24. package/dist/lib/aliases/find/README.md +29 -0
  25. package/dist/lib/aliases/find/find.aliases.sh +29 -19
  26. package/dist/lib/aliases/gcloud/README.md +148 -0
  27. package/dist/lib/aliases/gcloud/gcloud.aliases.sh +142 -120
  28. package/dist/lib/aliases/git/git.aliases.sh +128 -522
  29. package/dist/lib/aliases/gnu/gnucoreutils-aliases.sh +116 -0
  30. package/dist/lib/aliases/heroku/heroku.aliases.sh +288 -1028
  31. package/dist/lib/aliases/interactive/interactive.aliases.sh +2 -2
  32. package/dist/lib/aliases/jekyll/jekyll.aliases.sh +9 -47
  33. package/dist/lib/aliases/list/list.aliases.sh +30 -28
  34. package/dist/lib/aliases/make/make.aliases.sh +2 -2
  35. package/dist/lib/aliases/mkdir/mkdir.aliases.sh +2 -2
  36. package/dist/lib/aliases/npm/npm.aliases.sh +2 -2
  37. package/dist/lib/aliases/pnpm/pnpm.aliases.sh +3 -3
  38. package/dist/lib/aliases/ps/ps.aliases.sh +3 -3
  39. package/dist/lib/aliases/rsync/rsync.aliases.sh +6 -4
  40. package/dist/lib/aliases/rust/rust.aliases.sh +4 -4
  41. package/dist/lib/aliases/subversion/subversion.aliases.sh +3 -3
  42. package/dist/lib/aliases/sudo/sudo.aliases.sh +2 -2
  43. package/dist/lib/aliases/tmux/tmux.aliases.sh +3 -3
  44. package/dist/lib/aliases/update/update.aliases.sh +7 -7
  45. package/dist/lib/aliases/uuid/uuid.aliases.sh +3 -3
  46. package/dist/lib/aliases/wget/wget.aliases.sh +3 -3
  47. package/dist/lib/aliases.sh +6 -3
  48. package/dist/lib/configurations/bash/bashrc +4 -3
  49. package/dist/lib/configurations/curl/curlrc +2 -2
  50. package/dist/lib/configurations/default/color.sh +2 -2
  51. package/dist/lib/configurations/default/constants.sh +3 -3
  52. package/dist/lib/configurations/default/editor.sh +2 -2
  53. package/dist/lib/configurations/default/prompt.sh +2 -2
  54. package/dist/lib/configurations/input/inputrc +2 -2
  55. package/dist/lib/configurations/nano/nanorc +2 -2
  56. package/dist/lib/configurations/profile/profile +2 -2
  57. package/dist/lib/configurations/tmux/default +2 -2
  58. package/dist/lib/configurations/tmux/display +2 -2
  59. package/dist/lib/configurations/tmux/linux +2 -2
  60. package/dist/lib/configurations/tmux/navigation +2 -2
  61. package/dist/lib/configurations/tmux/panes +2 -2
  62. package/dist/lib/configurations/tmux/theme +3 -3
  63. package/dist/lib/configurations/tmux/tmux +2 -2
  64. package/dist/lib/configurations/tmux/vi +5 -2
  65. package/dist/lib/configurations/vim/vimrc +1 -1
  66. package/dist/lib/configurations/wget/wgetrc +2 -2
  67. package/dist/lib/configurations/zsh/zshrc +4 -3
  68. package/dist/lib/configurations.sh +6 -3
  69. package/dist/lib/functions/cdls.sh +2 -2
  70. package/dist/lib/functions/changediskpwd.tmp +3 -3
  71. package/dist/lib/functions/code.tmp +3 -3
  72. package/dist/lib/functions/countdown.tmp +2 -2
  73. package/dist/lib/functions/curlheader.sh +2 -2
  74. package/dist/lib/functions/curltime.sh +3 -3
  75. package/dist/lib/functions/encode64.sh +2 -2
  76. package/dist/lib/functions/environment.sh +2 -2
  77. package/dist/lib/functions/extract.sh +2 -2
  78. package/dist/lib/functions/genpwd.sh +2 -2
  79. package/dist/lib/functions/goto.sh +2 -2
  80. package/dist/lib/functions/hidehiddenfiles.sh +2 -2
  81. package/dist/lib/functions/history-all.tmp +2 -2
  82. package/dist/lib/functions/hostinfo.sh +2 -2
  83. package/dist/lib/functions/hstats.sh +2 -2
  84. package/dist/lib/functions/httpdebug.sh +2 -2
  85. package/dist/lib/functions/keygen.sh +2 -2
  86. package/dist/lib/functions/last.sh +2 -2
  87. package/dist/lib/functions/logout.sh +2 -2
  88. package/dist/lib/functions/lowercase.sh +2 -2
  89. package/dist/lib/functions/macos.sh +2 -2
  90. package/dist/lib/functions/matrix.sh +30 -5
  91. package/dist/lib/functions/mcd.tmp +2 -2
  92. package/dist/lib/functions/mount_read_only.sh +2 -2
  93. package/dist/lib/functions/myproc.sh +2 -2
  94. package/dist/lib/functions/prependpath.sh +2 -2
  95. package/dist/lib/functions/print.tmp +2 -2
  96. package/dist/lib/functions/ql.sh +2 -2
  97. package/dist/lib/functions/rd.sh +2 -2
  98. package/dist/lib/functions/remove_disk.sh +2 -2
  99. package/dist/lib/functions/ren.sh +2 -2
  100. package/dist/lib/functions/rm.tmp +2 -2
  101. package/dist/lib/functions/rps.tmp +2 -2
  102. package/dist/lib/functions/showhiddenfiles.sh +2 -2
  103. package/dist/lib/functions/size.sh +2 -2
  104. package/dist/lib/functions/stopwatch.sh +2 -2
  105. package/dist/lib/functions/trash.tmp +2 -2
  106. package/dist/lib/functions/tree.tmp +2 -2
  107. package/dist/lib/functions/uppercase.sh +2 -2
  108. package/dist/lib/functions/uuidgen.tmp +1 -1
  109. package/dist/lib/functions/view-source.sh +2 -2
  110. package/dist/lib/functions/vscode.sh +2 -2
  111. package/dist/lib/functions/whoisport.sh +2 -2
  112. package/dist/lib/functions/zipf.sh +2 -2
  113. package/dist/lib/functions.sh +6 -3
  114. package/dist/lib/history.sh +30 -33
  115. package/dist/lib/paths/ant/ant.paths.sh +8 -10
  116. package/dist/lib/paths/default/default.paths.sh +2 -2
  117. package/dist/lib/paths/homebrew/homebrew.paths.sh +2 -2
  118. package/dist/lib/paths/java/java.paths.sh +5 -4
  119. package/dist/lib/paths/maven/maven.paths.sh +11 -12
  120. package/dist/lib/paths/node/node.paths.sh +2 -2
  121. package/dist/lib/paths/nvm/nvm.paths.sh +2 -2
  122. package/dist/lib/paths/pnpm/pnpm.paths.sh +2 -2
  123. package/dist/lib/paths/python/python.paths.sh +21 -16
  124. package/dist/lib/paths/ruby/ruby.paths.sh +2 -2
  125. package/dist/lib/paths/tmux/tmux.paths.sh +2 -7
  126. package/dist/lib/paths.sh +6 -3
  127. package/dist/scripts/backup.sh +2 -2
  128. package/dist/scripts/banner.sh +2 -2
  129. package/dist/scripts/build.sh +2 -2
  130. package/dist/scripts/clean.sh +2 -2
  131. package/dist/scripts/compile.sh +2 -2
  132. package/dist/scripts/copy.sh +2 -2
  133. package/dist/scripts/dotfiles.sh +2 -2
  134. package/dist/scripts/download.sh +2 -2
  135. package/dist/scripts/help.sh +2 -2
  136. package/dist/scripts/ssh.sh +2 -2
  137. package/dist/scripts/unpack.sh +2 -2
  138. package/package.json +7 -7
  139. package/dist/lib/aliases/diskusage/diskusage.aliases.sh +0 -16
  140. package/dist/lib/aliases/gnu/gnucoreutls-aliases.sh +0 -111
  141. package/dist/lib/aliases/navigation/navigation.aliases.sh +0 -23
  142. package/dist/lib/aliases/permission/permission.aliases.sh +0 -28
@@ -1,53 +1,50 @@
1
1
  #!/usr/bin/env bash
2
- # πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.462) - https://dotfiles.io
3
- # Made with β™₯ in London, UK by @sebastienrousseau
4
- # Copyright (c) 2015-2022. All rights reserved
2
+ # πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚
3
+ # Author: Sebastien Rousseau
4
+ # Copyright (c) 2015-2023. All rights reserved
5
+ # Description: Sets history options for the current shell.
5
6
  # License: MIT
7
+ # Script: history.sh
8
+ # Version: 0.2.464
9
+ # Website: https://dotfiles.io
6
10
 
7
- ## History wrapper
11
+ # History wrapper
8
12
  function dotfiles_history {
9
- local clear list
10
- zparseopts -E c=clear l=list
13
+ local clear_flag list_flag
14
+ zparseopts -E c=clear_flag l=list_flag
11
15
 
12
- if [[ -n "${clear}" ]]; then
13
- # if -c provided, clobber the history file
14
- echo -n >|"${HISTFILE}"
15
- echo >&2 History file deleted. Reload the session to see its effects.
16
- elif [[ -n "${list}" ]]; then
17
- # if -l provided, run as if calling `fc' directly
18
- builtin fc "$@"
16
+ if [[ -n ${clear_flag} ]]; then
17
+ # If -c flag is provided, clobber the history file and remove duplicates
18
+ fc -W
19
+ fc -R
20
+ echo "%F{magenta}History file deleted and duplicates removed. Reload the session to see its effects.%f" >&2
21
+ elif [[ -n ${list_flag} ]] || [[ $# -ne 0 ]]; then
22
+ # If -l flag is provided or arguments are passed, run as if calling `fc` directly
23
+ fc_output=$(builtin fc "$@")
24
+ printf '%s\n' "$(tput setaf 5)$(tput sgr0)$(tput setaf 2)$(echo "${fc_output//$'\e'/$(tput setaf 2)}" | sed -E "s/^([[:space:]]*[0-9]+)/$(tput setaf 2)\1$(tput sgr0)/")" || true
19
25
  else
20
- # unless a number is provided, show all history events (starting from 1)
21
- if [[ "${1:-}" =~ ^[0-9]+$ ]]; then
22
- builtin fc "$@"
23
- else
24
- builtin fc -l 1
25
- fi
26
+ # Otherwise, ensure the history file has no duplicates and show all history events starting from 1
27
+ fc -W # Remove duplicates from the history file
28
+ fc_output=$(builtin fc -li 1)
29
+ printf '%s\n' "$(tput setaf 5)$(tput sgr0)$(tput setaf 2)$(echo "${fc_output//$'\e'/$(tput setaf 2)}" | sed -E "s/^([[:space:]]*[0-9]+)/$(tput setaf 2)\1$(tput sgr0)/")" || true
26
30
  fi
27
31
  }
28
32
 
29
33
  # Timestamp format
30
- case ${HIST_STAMPS-} in
34
+ case "${HIST_STAMPS:-}" in
31
35
  "mm/dd/yyyy") alias history='dotfiles_history -f' ;;
32
36
  "dd.mm.yyyy") alias history='dotfiles_history -E' ;;
33
37
  "yyyy-mm-dd") alias history='dotfiles_history -i' ;;
34
38
  "") alias history='dotfiles_history' ;;
35
- *) alias history='dotfiles_history -t $HIST_STAMPS' ;;
39
+ *) alias history='dotfiles_history -t ${HIST_STAMPS}' ;;
36
40
  esac
37
41
 
38
- # Command history configuration
39
- export HISTFILE=${HOME}/.zsh_history
42
+ export HISTFILE="${HOME}/.zsh_history" # History file
43
+ export HISTCONTROL="ignoreboth" # Ignore duplicate commands and commands that start with a space
44
+ export HISTSIZE="10000" # Number of commands to save in memory
45
+ export SAVEHIST="1000" # Number of commands to save on disk
40
46
 
41
- # Don't put duplicate lines or lines starting with space in the history.
42
- export HISTCONTROL=ignoreboth
43
-
44
- # Number of histories saved in memory
45
- export HISTSIZE=10000
46
-
47
- # Number of histories saved in history file
48
- export SAVEHIST=1000
49
-
50
- if [[ -n "${ZSH_VERSION}" ]]; then
47
+ if [[ -n "${ZSH_VERSION:-}" ]]; then
51
48
  # echo "Running shell is zsh"
52
49
  # Specifying some history options
53
50
  setopt always_to_end # Move cursor to the end of a completed word.
@@ -1,16 +1,14 @@
1
1
  #!/usr/bin/env bash
2
- # πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.462) - https://dotfiles.io
2
+ # πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.464) - https://dotfiles.io
3
3
  # Made with β™₯ in London, UK by @sebastienrousseau
4
- # Copyright (c) 2015-2022. All rights reserved
4
+ # Copyright (c) 2015-2023. All rights reserved
5
5
  # License: MIT
6
6
 
7
7
  ## πŸ…°πŸ…½πŸ†ƒ πŸ…·πŸ…ΎπŸ…ΌπŸ…΄
8
- if [[ -z "${ANT_HOME}" ]]; then
9
- if [[ "${OSTYPE}" == "darwin"* ]]; then
10
- ANT_HOME="/opt/homebrew/Cellar/ant/1.10.12/"
11
- elif [[ "${OSTYPE}" == "linux-gnu"* ]]; then
12
- ANT_HOME="/usr/share/ant/"
13
- fi
14
- export ANT_HOME
15
- export PATH="${ANT_HOME}:${PATH}"
8
+ if [[ "${OSTYPE}" == "darwin"* ]]; then
9
+ ANT_HOME="/opt/homebrew/Cellar/ant/"
10
+ elif [[ "${OSTYPE}" == "linux-gnu"* ]]; then
11
+ ANT_HOME="/usr/share/ant/"
16
12
  fi
13
+ export ANT_HOME
14
+ export PATH="${ANT_HOME}/bin:${PATH}"
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env bash
2
- # πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.462) - https://dotfiles.io
2
+ # πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.464) - https://dotfiles.io
3
3
  # Made with β™₯ in London, UK by @sebastienrousseau
4
- # Copyright (c) 2015-2022. All rights reserved
4
+ # Copyright (c) 2015-2023. All rights reserved
5
5
  # License: MIT
6
6
 
7
7
  ## πŸ…ΏπŸ…°πŸ†ƒπŸ…·πŸ†‚
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env bash
2
- # πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.462) - https://dotfiles.io
2
+ # πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.464) - https://dotfiles.io
3
3
  # Made with β™₯ in London, UK by @sebastienrousseau
4
- # Copyright (c) 2015-2022. All rights reserved
4
+ # Copyright (c) 2015-2023. All rights reserved
5
5
  # License: MIT
6
6
 
7
7
  ## πŸ…·πŸ…ΎπŸ…ΌπŸ…΄πŸ…±πŸ†πŸ…΄πŸ†† πŸ…ΏπŸ…°πŸ†ƒπŸ…·πŸ†‚
@@ -1,17 +1,18 @@
1
1
  #!/usr/bin/env bash
2
- # πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.462) - https://dotfiles.io
2
+ # πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.464) - https://dotfiles.io
3
3
  # Made with β™₯ in London, UK by @sebastienrousseau
4
- # Copyright (c) 2015-2022. All rights reserved
4
+ # Copyright (c) 2015-2023. All rights reserved
5
5
  # License: MIT
6
6
 
7
7
  ## πŸ…ΉπŸ…°πŸ†…πŸ…°_πŸ…·πŸ…ΎπŸ…ΌπŸ…΄
8
8
  # Set JAVA_HOME
9
9
  if [[ "${OSTYPE}" == "darwin"* ]]; then
10
10
  export CPPFLAGS="-I/opt/homebrew/opt/openjdk/include"
11
- export PATH=/opt/homebrew/opt/openjdk/bin:"${PATH}" # Java binaries
12
- JAVA_HOME="/opt/homebrew/Cellar/openjdk/19/libexec/openjdk.jdk/Contents/Home"
11
+ export JAVA_HOME="/opt/homebrew/Cellar/openjdk@11/11.0.18/libexec/openjdk.jdk/Contents/Home"
12
+ export PATH="/opt/homebrew/opt/openjdk@11/bin:$PATH"
13
13
  elif [[ "${OSTYPE}" == "linux-gnu"* ]]; then
14
14
  JAVA_HOME="/usr/lib/jvm/java-11-openjdk-arm64/"
15
+
15
16
  fi
16
17
  export JAVA_HOME
17
18
  export JRE_HOME="${JAVA_HOME}"/jre
@@ -1,18 +1,17 @@
1
1
  #!/usr/bin/env bash
2
- # πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.462) - https://dotfiles.io
2
+ # πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.464) - https://dotfiles.io
3
3
  # Made with β™₯ in London, UK by @sebastienrousseau
4
- # Copyright (c) 2015-2022. All rights reserved
4
+ # Copyright (c) 2015-2023. All rights reserved
5
5
  # License: MIT
6
6
 
7
7
  ## πŸ…ΌπŸ…°πŸ†…πŸ…΄πŸ…½ πŸ…·πŸ…ΎπŸ…ΌπŸ…΄
8
- if [[ -z "${MAVEN_HOME}" ]]; then
9
- if [[ "${OSTYPE}" == "darwin"* ]]; then
10
- MAVEN_HOME=/opt/homebrew/Cellar/maven/3.8.6/libexec
11
- elif [[ "${OSTYPE}" == "linux-gnu"* ]]; then
12
- MAVEN_HOME="/usr/share/maven/"
13
- fi
14
- M2_HOME="${MAVEN_HOME}"
15
- export MAVEN_HOME M2_HOME
16
- export PATH="${MAVEN_HOME}:${PATH}"
17
- export MAVEN_OPTS="-Xms1g -Xmx1g"
8
+ if [[ "${OSTYPE}" == "darwin"* ]]; then
9
+ export M2_HOME=/opt/homebrew/Cellar/maven/3.9.0/libexec
10
+ export PATH=${PATH}:${M2_HOME}/bin
11
+ MAVEN_HOME=/opt/homebrew/Cellar/maven/3.9.0/libexec
12
+ elif [[ "${OSTYPE}" == "linux-gnu"* ]]; then
13
+ MAVEN_HOME="/usr/share/maven/"
18
14
  fi
15
+ export MAVEN_HOME
16
+ export PATH="${MAVEN_HOME}:${PATH}"
17
+ export MAVEN_OPTS="-Xms1g -Xmx1g"
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env bash
2
- # πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.462) - https://dotfiles.io
2
+ # πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.464) - https://dotfiles.io
3
3
  # Made with β™₯ in London, UK by @sebastienrousseau
4
- # Copyright (c) 2015-2022. All rights reserved
4
+ # Copyright (c) 2015-2023. All rights reserved
5
5
  # License: MIT
6
6
 
7
7
  ## πŸ…½πŸ…ΎπŸ…³πŸ…΄ πŸ…ΏπŸ…°πŸ†ƒπŸ…·
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env bash
2
- # πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.462) - https://dotfiles.io
2
+ # πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.464) - https://dotfiles.io
3
3
  # Made with β™₯ in London, UK by @sebastienrousseau
4
- # Copyright (c) 2015-2022. All rights reserved
4
+ # Copyright (c) 2015-2023. All rights reserved
5
5
  # License: MIT
6
6
 
7
7
  ## πŸ…½πŸ†…πŸ…Ό πŸ…ΏπŸ…°πŸ†ƒπŸ…·
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env bash
2
- # πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.462) - https://dotfiles.io
2
+ # πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.464) - https://dotfiles.io
3
3
  # Made with β™₯ in London, UK by @sebastienrousseau
4
- # Copyright (c) 2015-2022. All rights reserved
4
+ # Copyright (c) 2015-2023. All rights reserved
5
5
  # License: MIT
6
6
 
7
7
  ## πŸ…ΏπŸ…½πŸ…ΏπŸ…Ό πŸ…ΏπŸ…°πŸ†ƒπŸ…·πŸ†‚
@@ -1,18 +1,20 @@
1
1
  #!/usr/bin/env bash
2
- # πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.462) - https://dotfiles.io
2
+ # πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.464) - https://dotfiles.io
3
3
  # Made with β™₯ in London, UK by @sebastienrousseau
4
- # Copyright (c) 2015-2022. All rights reserved
4
+ # Copyright (c) 2015-2023. All rights reserved
5
5
  # License: MIT
6
6
 
7
- ## πŸ…ΏπŸ†ˆπŸ†ƒπŸ…·πŸ…ΎπŸ…½ πŸ…ΏπŸ…°πŸ†ƒπŸ…·
7
+ # πŸ…ΏπŸ†ˆπŸ†ƒπŸ…·πŸ…ΎπŸ…½ πŸ…ΏπŸ…°πŸ†ƒπŸ…·
8
8
  if [[ "${OSTYPE}" == "darwin"* ]]; then
9
- if [[ -d "/opt/homebrew/opt/python/bin" ]]; then
10
- PYTHONHOME="/opt/homebrew/opt/python/bin"
11
- fi
9
+ if [[ -d "/Library/Frameworks/Python.framework/Versions/3.11/bin" ]]; then
10
+ export PATH="/Library/Frameworks/Python.framework/Versions/3.11/bin:${PATH}"
11
+ export PYTHONHOME="/Library/Frameworks/Python.framework/Versions/3.11"
12
+ fi
12
13
  elif [[ "${OSTYPE}" == "linux-gnu"* ]]; then
13
- if [[ -d "/usr/bin/python3.9" ]]; then
14
- PYTHONHOME="/usr/lib/python3.9"
15
- fi
14
+ if [[ -d "/usr/bin/python3.11" ]]; then
15
+ export PATH="/usr/bin:${PATH}"
16
+ export PYTHONHOME="/usr"
17
+ fi
16
18
  fi
17
19
 
18
20
  # Encoding[:errors] used for stdin/stdout/stderr.
@@ -21,10 +23,13 @@ export PYTHONIOENCODING='UTF-8'
21
23
  # If set to 1, enables the UTF-8 mode.
22
24
  export PYTHONUTF8=1
23
25
 
24
- # Export PYTHONHOME variable
25
- export PYTHONHOME
26
- export PATH="${PYTHONHOME}:${PATH}"
27
-
28
- # Export PYTHONPATH variable
29
- export PYTHONPATH="${PYTHONHOME}"
30
- export PATH="${PYTHONPATH}:${PATH}"
26
+ # πŸ…ΏπŸ†ˆπŸ†ƒπŸ…·πŸ…ΎπŸ…½ πŸ…°πŸ…»πŸ…ΈπŸ…°πŸ†‚πŸ…΄πŸ†‚ - Python aliases
27
+ if command -v 'python3' >/dev/null; then
28
+ alias python=python3 # Default python version
29
+ alias python3=python3.11 # Default python3 version
30
+ alias pip=pip3 # Use pip3 as default pip version
31
+ alias py=python # Shorthand for 'python' command
32
+ alias ipy=ipython # Shorthand for 'ipython' command
33
+ alias pep8=autopep8 # Use autopep8 as a tool for formatting Python code
34
+ alias pydoc='python -m pydoc' # Shorthand for 'python -m pydoc' command
35
+ fi
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env bash
2
- # πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.462) - https://dotfiles.io
2
+ # πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.464) - https://dotfiles.io
3
3
  # Made with β™₯ in London, UK by @sebastienrousseau
4
- # Copyright (c) 2015-2022. All rights reserved
4
+ # Copyright (c) 2015-2023. All rights reserved
5
5
  # License: MIT
6
6
 
7
7
  ## πŸ†πŸ†„πŸ…±πŸ†ˆ πŸ…·πŸ…ΎπŸ…ΌπŸ…΄
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env bash
2
- # πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.462) - https://dotfiles.io
2
+ # πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.464) - https://dotfiles.io
3
3
  # Made with β™₯ in London, UK by @sebastienrousseau
4
- # Copyright (c) 2015-2022. All rights reserved
4
+ # Copyright (c) 2015-2023. All rights reserved
5
5
  # License: MIT
6
6
 
7
7
  ## πŸ†ƒπŸ…ΌπŸ†„πŸ†‡ πŸ…ΏπŸ…°πŸ†ƒπŸ…·πŸ†‚
@@ -9,8 +9,3 @@ if command -v 'tmux' >/dev/null; then
9
9
  TMUX_PATH=$(command -v tmux)
10
10
  export TMUX_PATH
11
11
  fi
12
-
13
- if [[ -z "${TMUX}" ]] && [[ ${UID} != 0 ]]; then
14
- tmux kill-session -t 2>/dev/null
15
- tmux
16
- fi
package/dist/lib/paths.sh CHANGED
@@ -1,8 +1,11 @@
1
1
  #!/usr/bin/env bash
2
- # πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.462) - https://dotfiles.io
3
- # Made with β™₯ in London, UK by @sebastienrousseau
4
- # Copyright (c) 2015-2022. All rights reserved
2
+ # Author: Sebastien Rousseau
3
+ # Copyright (c) 2015-2023. All rights reserved
4
+ # Description: Sets paths for the current shell.
5
5
  # License: MIT
6
+ # Script: paths.sh
7
+ # Version: 0.2.464
8
+ # Website: https://dotfiles.io
6
9
 
7
10
  ## πŸ…ΏπŸ…°πŸ†ƒπŸ…·πŸ†‚
8
11
 
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env bash
2
- # πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.462) - https://dotfiles.io
2
+ # πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.464) - https://dotfiles.io
3
3
  # Made with β™₯ in London, UK by @sebastienrousseau
4
- # Copyright (c) 2015-2022. All rights reserved
4
+ # Copyright (c) 2015-2023. All rights reserved
5
5
  # License: MIT
6
6
 
7
7
  ## πŸ†…πŸ…°πŸ†πŸ…ΈπŸ…°πŸ…±πŸ…»πŸ…΄πŸ†‚ - Set Dotfiles variable.
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env bash
2
- # πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.462) - https://dotfiles.io
2
+ # πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.464) - https://dotfiles.io
3
3
  # Made with β™₯ in London, UK by @sebastienrousseau
4
- # Copyright (c) 2015-2022. All rights reserved
4
+ # Copyright (c) 2015-2023. All rights reserved
5
5
  # License: MIT
6
6
 
7
7
  ## πŸ…±πŸ…°πŸ…½πŸ…½πŸ…΄πŸ† - Display banner.
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env bash
2
- # πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.462) - https://dotfiles.io
2
+ # πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.464) - https://dotfiles.io
3
3
  # Made with β™₯ in London, UK by @sebastienrousseau
4
- # Copyright (c) 2015-2022. All rights reserved
4
+ # Copyright (c) 2015-2023. All rights reserved
5
5
  # License: MIT
6
6
 
7
7
  # shellcheck disable=SC1091
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env bash
2
- # πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.462) - https://dotfiles.io
2
+ # πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.464) - https://dotfiles.io
3
3
  # Made with β™₯ in London, UK by @sebastienrousseau
4
- # Copyright (c) 2015-2022. All rights reserved
4
+ # Copyright (c) 2015-2023. All rights reserved
5
5
  # License: MIT
6
6
 
7
7
  ## πŸ…²πŸ…»πŸ…΄πŸ…°πŸ…½ - Clean up.
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env bash
2
- # πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.462) - https://dotfiles.io
2
+ # πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.464) - https://dotfiles.io
3
3
  # Made with β™₯ in London, UK by @sebastienrousseau
4
- # Copyright (c) 2015-2022. All rights reserved
4
+ # Copyright (c) 2015-2023. All rights reserved
5
5
  # License: MIT
6
6
 
7
7
  ## πŸ…²πŸ…ΎπŸ…ΌπŸ…ΏπŸ…ΈπŸ…»πŸ…΄ πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ - Compile dotfiles.
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env bash
2
- # πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.462) - https://dotfiles.io
2
+ # πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.464) - https://dotfiles.io
3
3
  # Made with β™₯ in London, UK by @sebastienrousseau
4
- # Copyright (c) 2015-2022. All rights reserved
4
+ # Copyright (c) 2015-2023. All rights reserved
5
5
  # License: MIT
6
6
 
7
7
  ## πŸ…²πŸ…ΎπŸ…ΏπŸ†ˆ - Copy the dotfiles on your system.
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env bash
2
- # πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.462) - https://dotfiles.io
2
+ # πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.464) - https://dotfiles.io
3
3
  # Made with β™₯ in London, UK by @sebastienrousseau
4
- # Copyright (c) 2015-2022. All rights reserved
4
+ # Copyright (c) 2015-2023. All rights reserved
5
5
  # License: MIT
6
6
 
7
7
  ## πŸ…ΈπŸ…ΌπŸ…ΏπŸ…ΎπŸ†πŸ†ƒπŸ†‚ - Importing constants and functions.
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env bash
2
- # πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.462) - https://dotfiles.io
2
+ # πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.464) - https://dotfiles.io
3
3
  # Made with β™₯ in London, UK by @sebastienrousseau
4
- # Copyright (c) 2015-2022. All rights reserved
4
+ # Copyright (c) 2015-2023. All rights reserved
5
5
  # License: MIT
6
6
 
7
7
  ## πŸ†…πŸ…°πŸ†πŸ…ΈπŸ…°πŸ…±πŸ…»πŸ…΄πŸ†‚ - Set Dotfiles variable.
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env bash
2
- # πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.462) - https://dotfiles.io
2
+ # πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.464) - https://dotfiles.io
3
3
  # Made with β™₯ in London, UK by @sebastienrousseau
4
- # Copyright (c) 2015-2022. All rights reserved
4
+ # Copyright (c) 2015-2023. All rights reserved
5
5
  # License: MIT
6
6
 
7
7
  ## πŸ†…πŸ…°πŸ†πŸ…ΈπŸ…°πŸ…±πŸ…»πŸ…΄πŸ†‚ - Set Dotfiles variable.
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env bash
2
- # πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.462) - https://dotfiles.io
2
+ # πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.464) - https://dotfiles.io
3
3
  # Made with β™₯ in London, UK by @sebastienrousseau
4
- # Copyright (c) 2015-2022. All rights reserved
4
+ # Copyright (c) 2015-2023. All rights reserved
5
5
  # License: MIT
6
6
 
7
7
  ## πŸ†‚πŸ†‚πŸ…· - Generate a new SSH key and add it to the ssh-agent
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env bash
2
- # πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.462) - https://dotfiles.io
2
+ # πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.464) - https://dotfiles.io
3
3
  # Made with β™₯ in London, UK by @sebastienrousseau
4
- # Copyright (c) 2015-2022. All rights reserved
4
+ # Copyright (c) 2015-2023. All rights reserved
5
5
  # License: MIT
6
6
 
7
7
  ## πŸ†…πŸ…°πŸ†πŸ…ΈπŸ…°πŸ…±πŸ…»πŸ…΄πŸ†‚ - Set Dotfiles variable.
package/package.json CHANGED
@@ -26,14 +26,14 @@
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
- "@types/node": "^16.11.68",
30
- "compressing": "^1.6.2",
29
+ "@types/node": "^18.15.0",
30
+ "compressing": "^1.8.0",
31
31
  "filesizes": "^0.1.2",
32
- "fs-extra": "10.1.0",
33
- "husky": "^8.0.1",
32
+ "fs-extra": "11.1.0",
33
+ "husky": "^8.0.3",
34
34
  "jsmin": "^1.0.1",
35
- "rimraf": "^3.0.2",
36
- "typescript": "^4.8.4"
35
+ "rimraf": "^4.4.0",
36
+ "typescript": "^4.9.5"
37
37
  },
38
38
  "directories": {
39
39
  "bin": "./bin",
@@ -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.462",
74
+ "version": "0.2.464",
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",
@@ -1,16 +0,0 @@
1
- #!/usr/bin/env bash
2
- # πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.462) - https://dotfiles.io
3
- # Made with β™₯ in London, UK by @sebastienrousseau
4
- # Copyright (c) 2015-2022. All rights reserved
5
- # License: MIT
6
-
7
- # πŸ…³πŸ…ΈπŸ†‚πŸ…Ί πŸ†„πŸ†‚πŸ…°πŸ…ΆπŸ…΄ πŸ…°πŸ…»πŸ…ΈπŸ…°πŸ†‚πŸ…΄πŸ†‚
8
- if command -v du &>/dev/null; then
9
- alias du="du -h" # du: Display the disk usage of the current directory.
10
- alias du1='du -hxd 1 | sort -h' # du1: File size of files and directories in current directory.
11
- alias ducks="du -cks * .*| sort -rn | head -n 10" # ducks: Top 10 largest files and directories in current directory.
12
- alias duh='du' # duh: File size of files and directories.
13
- alias dus='du -hs *' # dus: File size human readable output sorted by size.
14
- alias dusym="du * -hsLc" # dusym: File size of files and directories in current directory including symlinks.
15
- alias dut='dus' # dut: Total file size of current directory.
16
- fi
@@ -1,111 +0,0 @@
1
- #!/usr/bin/env bash
2
- # πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.462)' - https://dotfiles.io
3
- # Made with β™₯ in London, UK by @sebastienrousseau
4
- # Copyright (c)' 2015-2022. All rights reserved
5
- # License: MIT
6
-
7
- # πŸ…ΆπŸ…½πŸ†„ πŸ…²πŸ…ΎπŸ†πŸ…΄πŸ†„πŸ†ƒπŸ…ΈπŸ…»πŸ†‚ πŸ…°πŸ…»πŸ…ΈπŸ…°πŸ†‚πŸ…΄πŸ†‚
8
- alias awk=awk
9
- alias b2sum=b2sum
10
- alias base32=base32
11
- alias base64=base64
12
- alias basename=basename
13
- alias basenc=basenc
14
- alias cat=cat
15
- alias chcon=chcon
16
- alias chown=chown
17
- alias chroot=chroot
18
- alias cksum=cksum
19
- alias comm=comm
20
- alias cp=cp
21
- alias csplit=csplit
22
- alias cut=cut
23
- alias date=date
24
- alias dd=dd
25
- alias df=df
26
- alias dir=dir
27
- alias dircolors=dircolors
28
- alias dirname=dirname
29
- alias diff=diff
30
- alias du=du
31
- alias echo=echo
32
- alias env=env
33
- alias expand=expand
34
- alias expr=expr
35
- alias factor=factor
36
- alias false=false
37
- alias fmt=fmt
38
- alias fold=fold
39
- alias head=head
40
- alias hostid=hostid
41
- alias id=id
42
- alias install=install
43
- alias join=join
44
- alias link=link
45
- alias ln=ln
46
- alias loname=loname
47
- alias ls=ls
48
- alias make=make
49
- alias md5sum=md5sum
50
- alias mkdir=mkdir
51
- alias mkfifo=mkfifo
52
- alias mknod=mknod
53
- alias mktemp=mktemp
54
- alias mv=mv
55
- alias nice=nice
56
- alias nl=nl
57
- alias nohup=nohup
58
- alias nproc=nproc
59
- alias numfmt=numfmt
60
- alias od=od
61
- alias paste=paste
62
- alias patch=patch
63
- alias pathchk=pathchk
64
- alias pinky=pinky
65
- alias pr=pr
66
- alias printenv=printenv
67
- alias printf=printf
68
- alias ptx=ptx
69
- alias pwd=pwd
70
- alias readlink=readlink
71
- alias realpath=realpath
72
- alias rm=rm
73
- alias rmdir=rmdir
74
- alias runcon=runcon
75
- alias seq=seq
76
- alias sha1sum=sha1sum
77
- alias sha224sum=sha224sum
78
- alias sha256sum=sha256sum
79
- alias sha384sum=sha384sum
80
- alias sha512sum=sha512sum
81
- alias shred=shred
82
- alias shuf=shuf
83
- alias sleep=sleep
84
- alias sort=sort
85
- alias split=split
86
- alias stat=stat
87
- alias stdbuf=stdbuf
88
- alias stty=stty
89
- alias sum=sum
90
- alias sync=sync
91
- alias tac=tac
92
- alias tail=tail
93
- alias tar=nutar
94
- alias tee=tee
95
- alias test=test
96
- alias timeout=timeout
97
- alias touch=touch
98
- alias tr=tr
99
- alias true=true
100
- alias truncate=truncate
101
- alias tsort=tsort
102
- alias tty=tty
103
- alias unexpand=unexpand
104
- alias uniq=uniq
105
- alias unlink=unlink
106
- alias users=users
107
- alias vdir=vdir
108
- alias wc=wc
109
- alias who=who
110
- alias whoami=whoami
111
- alias yes=yes
@@ -1,23 +0,0 @@
1
- #!/usr/bin/env bash
2
- # πŸ…³πŸ…ΎπŸ†ƒπŸ…΅πŸ…ΈπŸ…»πŸ…΄πŸ†‚ (v0.2.462) - https://dotfiles.io
3
- # Made with β™₯ in London, UK by @sebastienrousseau
4
- # Copyright (c) 2015-2022. All rights reserved
5
- # License: MIT
6
-
7
- # πŸ…½πŸ…°πŸ†…πŸ…ΈπŸ…ΆπŸ…°πŸ†ƒπŸ…ΈπŸ…ΎπŸ…½ πŸ…°πŸ…»πŸ…ΈπŸ…°πŸ†‚πŸ…΄πŸ†‚
8
- alias -- -='cd -' # -: Shortcut to go to previous directory.
9
- alias .....='cd ../../../..' # .....: Shortcut to go to great-great-grandparent directory.
10
- alias ....='cd ../../..' # ....: Shortcut to go to great-grandparent directory.
11
- alias ...='cd ../..' # ...: Shortcut to go to grandparent directory.
12
- alias ..='cd ..' # ..: Shortcut to go to parent directory.
13
- alias '~'='cd ~' # ~: Shortcut to go to home directory.
14
- alias app='cd ${HOME}/Applications; ls' # app: Shortcut to go to the Applications directory.
15
- alias cod='cd ${HOME}/Code; ls' # cod: Shortcut to go to the Code directory and list its contents.
16
- alias des='cd ${HOME}/Desktop; ls' # des Shortcut to go to the Desktop directory and list its contents.
17
- alias doc='cd ${HOME}/Documents; ls' # doc: Shortcut to go to the Documents directory and list its contents.
18
- alias dot='cd ${HOME}/.dotfiles; ls' # dot: Shortcut to go to the dotfiles directory.
19
- alias dow='cd ${HOME}/Downloads; ls' # dow: Shortcut to go to the Downloads directory and list its contents.
20
- alias hom='cd ${HOME}/; ls' # hom: Shortcut to go to home directory and list its contents.
21
- alias mus='cd ${HOME}/Music; ls' # mus: Shortcut to go to the Music directory and list its contents.
22
- alias pic='cd ${HOME}/Pictures; ls' # pic: Shortcut to go to the Pictures directory and list its contents.
23
- alias vid='cd ${HOME}/Videos; ls' # vid: Shortcut to go to the Videos directory and list its contents.