@sebastienrousseau/dotfiles 0.2.452 → 0.2.454

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 (111) hide show
  1. package/README.md +268 -189
  2. package/{Makefile → dist/Makefile} +7 -8
  3. package/dist/bin/compile.sh +16 -0
  4. package/dist/bin/copy.sh +21 -0
  5. package/{bin → dist/bin}/dotfiles.sh +67 -32
  6. package/dist/filesizes.txt +176 -0
  7. package/{shell → dist/shell}/README.md +0 -0
  8. package/{shell → dist/shell}/aliases/default/default.aliases.sh +1 -1
  9. package/{shell → dist/shell}/aliases/gcloud/gcloud.aliases.sh +1 -1
  10. package/{shell → dist/shell}/aliases/heroku/heroku.aliases.sh +1 -1
  11. package/{shell → dist/shell}/aliases/jekyll/jekyll.aliases.sh +1 -1
  12. package/{shell → dist/shell}/aliases/pnpm/pnpm.aliases.sh +1 -1
  13. package/{shell → dist/shell}/aliases/subversion/subversion.aliases.sh +1 -1
  14. package/{shell → dist/shell}/aliases/tmux/tmux.aliases.sh +1 -1
  15. package/{shell → dist/shell}/aliases.sh +1 -1
  16. package/{shell/aliases/pnpm → dist/shell/configurations}/README.md +0 -0
  17. package/{shell → dist/shell}/configurations/bash/bashrc +2 -2
  18. package/{shell → dist/shell}/configurations/curl/cacert.pem +0 -0
  19. package/{shell → dist/shell}/configurations/curl/curlrc +1 -1
  20. package/{shell → dist/shell}/configurations/default/color.sh +1 -1
  21. package/{shell → dist/shell}/configurations/default/editor.sh +1 -1
  22. package/{shell → dist/shell}/configurations/default/prompt.sh +6 -6
  23. package/{shell → dist/shell}/configurations/inputrc/inputrc +2 -2
  24. package/{shell → dist/shell}/configurations/jshint/jshintrc +0 -0
  25. package/{shell → dist/shell}/configurations/profile/profile +1 -1
  26. package/{shell → dist/shell}/configurations/tmux/tmux +2 -2
  27. package/{shell → dist/shell}/configurations/vim/vimrc +1 -1
  28. package/{shell → dist/shell}/configurations/wget/wgetrc +1 -1
  29. package/{shell → dist/shell}/configurations/zsh/zshrc +12 -2
  30. package/{shell → dist/shell}/configurations.sh +1 -1
  31. package/{shell → dist/shell}/exit.sh +1 -1
  32. package/{shell/configurations → dist/shell/functions}/README.md +0 -0
  33. package/{shell → dist/shell}/functions/cdls.sh +1 -1
  34. package/{shell → dist/shell}/functions/curlheader.sh +1 -1
  35. package/{shell → dist/shell}/functions/curltime.sh +1 -1
  36. package/{shell → dist/shell}/functions/encode64.sh +1 -1
  37. package/{shell → dist/shell}/functions/environment.sh +8 -8
  38. package/{shell → dist/shell}/functions/extract.sh +2 -2
  39. package/{shell → dist/shell}/functions/filehead.sh +0 -0
  40. package/{shell → dist/shell}/functions/genpwd.sh +1 -1
  41. package/{shell → dist/shell}/functions/goto.sh +2 -2
  42. package/{shell → dist/shell}/functions/hidehiddenfiles.sh +1 -1
  43. package/{shell → dist/shell}/functions/hostinfo.sh +1 -1
  44. package/{shell → dist/shell}/functions/hstats.sh +1 -1
  45. package/{shell → dist/shell}/functions/httpdebug.sh +1 -1
  46. package/{shell → dist/shell}/functions/keygen.sh +4 -4
  47. package/{shell → dist/shell}/functions/last.sh +1 -1
  48. package/{shell → dist/shell}/functions/logout.sh +1 -1
  49. package/{shell → dist/shell}/functions/lowercase.sh +1 -1
  50. package/{shell → dist/shell}/functions/macos.sh +1 -1
  51. package/{shell → dist/shell}/functions/matrix.sh +1 -1
  52. package/{shell → dist/shell}/functions/mcd.sh +1 -1
  53. package/{shell → dist/shell}/functions/mount_read_only.sh +1 -1
  54. package/{shell → dist/shell}/functions/myproc.sh +2 -2
  55. package/{shell → dist/shell}/functions/prependpath.sh +1 -1
  56. package/{shell → dist/shell}/functions/ql.sh +1 -1
  57. package/{shell → dist/shell}/functions/rd.sh +1 -1
  58. package/{shell → dist/shell}/functions/remove_disk.sh +1 -1
  59. package/{shell → dist/shell}/functions/ren.sh +2 -2
  60. package/{shell → dist/shell}/functions/showhiddenfiles.sh +1 -1
  61. package/{shell → dist/shell}/functions/size.sh +1 -1
  62. package/{shell → dist/shell}/functions/stopwatch.sh +1 -1
  63. package/{shell → dist/shell}/functions/uppercase.sh +2 -2
  64. package/{shell → dist/shell}/functions/view-source.sh +1 -1
  65. package/{shell → dist/shell}/functions/vscode.sh +1 -1
  66. package/{shell → dist/shell}/functions/whoisport.sh +1 -1
  67. package/{shell → dist/shell}/functions/zipf.sh +1 -1
  68. package/{shell → dist/shell}/functions.sh +1 -1
  69. package/{shell → dist/shell}/history.sh +3 -6
  70. package/dist/shell/index.d.ts +2 -0
  71. package/dist/shell/index.d.ts.map +1 -0
  72. package/dist/shell/index.js +2 -0
  73. package/dist/shell/index.js.map +1 -0
  74. package/{shell → dist/shell}/paths/ant/ant.paths.sh +1 -1
  75. package/{shell → dist/shell}/paths/default/default.paths.sh +1 -1
  76. package/{shell → dist/shell}/paths/homebrew/homebrew.paths.sh +4 -1
  77. package/{shell → dist/shell}/paths/java/java.paths.sh +1 -1
  78. package/{shell → dist/shell}/paths/maven/maven.paths.sh +3 -2
  79. package/{shell → dist/shell}/paths/node/node.paths.sh +2 -2
  80. package/{shell → dist/shell}/paths/nvm/nvm.paths.sh +1 -1
  81. package/{shell → dist/shell}/paths/pnpm/pnpm.paths.sh +2 -2
  82. package/dist/shell/paths/python/python.paths.sh +29 -0
  83. package/{shell → dist/shell}/paths/ruby/ruby.paths.sh +1 -1
  84. package/{shell → dist/shell}/paths/tmux/tmux.paths.sh +3 -3
  85. package/{shell → dist/shell}/paths.sh +1 -1
  86. package/package.json +33 -27
  87. package/COPYRIGHT +0 -5
  88. package/index.js +0 -24
  89. package/pnpm-lock.yaml +0 -178
  90. package/pnpm-workspace.yaml +0 -2
  91. package/shell/aliases/README.md +0 -327
  92. package/shell/aliases/default/README.md +0 -0
  93. package/shell/aliases/gcloud/README.md +0 -117
  94. package/shell/aliases/git/README.md +0 -279
  95. package/shell/aliases/git/git.aliases.wip +0 -586
  96. package/shell/aliases/heroku/README.md +0 -457
  97. package/shell/aliases/jekyll/README.md +0 -32
  98. package/shell/aliases/subversion/README.md +0 -54
  99. package/shell/aliases/tmux/README.md +0 -0
  100. package/shell/functions/README.md +0 -3
  101. package/shell/functions/changediskpwd.sh +0 -19
  102. package/shell/functions/code.sh +0 -18
  103. package/shell/functions/countdown.sh +0 -33
  104. package/shell/functions/headers.sh +0 -4
  105. package/shell/functions/history-all.sh +0 -7
  106. package/shell/functions/print.sh +0 -13
  107. package/shell/functions/rm.sh +0 -13
  108. package/shell/functions/rps.sh +0 -103
  109. package/shell/functions/trash.sh +0 -13
  110. package/shell/functions/tree.sh +0 -13
  111. package/shell/functions/uuidgen.sh +0 -27
@@ -1,4 +0,0 @@
1
- #!/usr/bin/env bash
2
-
3
- # headers: Function to retrieve the headers of the request.
4
- #headers() { /usr/bin/curl -X GET -I -L -k -A 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2987.133 Safari/537.36' $@ }
@@ -1,7 +0,0 @@
1
- #!/usr/bin/env bash
2
- # 🅳🅾🆃🅵🅸🅻🅴🆂 (v0.2.452) - https://dotfiles.io
3
- # Copyright (c) Sebastien Rousseau 2022. All rights reserved
4
- # License: MIT
5
-
6
- # history-all: Function to display the full view of the history command
7
- #function history-all { history -E 1 }
@@ -1,13 +0,0 @@
1
- #!/usr/bin/env bash
2
- # 🅳🅾🆃🅵🅸🅻🅴🆂 (v0.2.452) - https://dotfiles.io
3
- # Copyright (c) Sebastien Rousseau 2022. All rights reserved
4
- # License: MIT
5
-
6
- # print: Function to display the argument given
7
- print() {
8
- if [[ "$#" != 1 ]]; then
9
- echo "[ERROR] Please add one argument" >&2
10
- return 1
11
- fi
12
- echo "--- $1"
13
- }
@@ -1,13 +0,0 @@
1
- #!/usr/bin/env bash
2
- # 🅳🅾🆃🅵🅸🅻🅴🆂 (v0.2.452) - https://dotfiles.io
3
- # Copyright (c) Sebastien Rousseau 2022. All rights reserved
4
- # License: MIT
5
-
6
- # rm: Function to make 'rm' move files to the trash
7
- # function rm() {
8
- # if [[ "$#" != 1 ]]; then
9
- # echo "[ERROR] Please add one argument" >&2
10
- # return 1
11
- # fi
12
- # rm "$1"
13
- # }
@@ -1,103 +0,0 @@
1
- #!/usr/bin/env bash
2
- # 🅳🅾🆃🅵🅸🅻🅴🆂 (v0.2.452) - https://dotfiles.io
3
- # Copyright (c) Sebastien Rousseau 2022. All rights reserved
4
- # License: MIT
5
-
6
- # Adapted from https://github.com/Ananta-Gupta/Rock-Paper-Scissors
7
-
8
- # rps: Function to play Rock Paper Scissors
9
-
10
- # check() {
11
- # if [ "$1" == "$2" ]; then
12
- # echo "Draw!"
13
- # elif [ "$1" = 1 ] && [ "$2" = 2 ]; then
14
- # echo "You Lose! Paper beats Rock!"
15
- # elif [ "$1" = 2 ] && [ "$2" = 3 ]; then
16
- # echo "You Lose! Scissor beats Paper!"
17
- # elif [ "$1" = 3 ] && [ "$2" = 1 ]; then
18
- # echo "You Lose! Rock beats Scissor!"
19
- # elif [ "$1" != 1 ] && [ "$1" != 2 ] && [ "$1" != 3 ]; then
20
- # echo "Invalid input! You have not entered a valid number"
21
- # else
22
- # echo " ❭ You Win! 👏🏻"
23
- # fi
24
- # }
25
-
26
- # print() {
27
- # echo ""
28
- # echo "┌──────────────────────────────────────┐"
29
- # echo "│ │"
30
- # echo "│ Rock, Paper, Scissors │"
31
- # echo "│ │"
32
- # echo "└──────────────────────────────────────┘"
33
- # echo ""
34
- # echo "Enter a choice :"
35
- # echo "1 for Rock"
36
- # echo "2 for Paper"
37
- # echo "3 for Scissor"
38
- # echo ""
39
- # }
40
-
41
- # rps() {
42
-
43
- # clr=0
44
- # i=0
45
- # while [ $i != 1 ]; do
46
- # if [ $clr = 0 ]; then
47
- # clr=0
48
- # clear
49
- # print 1
50
- # fi
51
- # read -r ch1
52
- # echo ""
53
-
54
- # case $ch1 in
55
- # 1)
56
- # echo "You chose rock"
57
- # ;;
58
- # 2)
59
- # echo "You chose paper"
60
- # ;;
61
- # 3)
62
- # echo "You chose scissor"
63
- # ;;
64
- # esac
65
-
66
- # if [ "$ch1" = 0 ] && [ "$ch1" = 3 ]; then
67
- # echo "please choose from 1, 2 or 3."
68
- # clr=1
69
- # continue
70
- # fi
71
-
72
- # ch2=$(echo "$RANDOM%3+1" | bc)
73
-
74
- # case $ch2 in
75
- # 1)
76
- # echo "The computer chose rock"
77
- # ;;
78
- # 2)
79
- # echo "The computer chose paper"
80
- # ;;
81
- # 3)
82
- # echo "The computer chose scissor"
83
- # ;;
84
- # esac
85
-
86
- # check "${ch1}" "${ch2}"
87
- # echo "To exit press 0"
88
- # echo "To play again press p : "
89
- # read -r ch3
90
- # if [ "$ch3" = p ]; then
91
- # rep=6
92
- # while [ $rep != 0 ]; do
93
- # clear
94
- # print 1
95
- # echo "Starting in $($rep - 1) seconds!!!"
96
- # rep=$($rep - 1)
97
- # done
98
- # continue
99
- # else
100
- # exit
101
- # fi
102
- # done
103
- # }
@@ -1,13 +0,0 @@
1
- #!/usr/bin/env bash
2
- # 🅳🅾🆃🅵🅸🅻🅴🆂 (v0.2.452) - https://dotfiles.io
3
- # Copyright (c) Sebastien Rousseau 2022. All rights reserved
4
- # License: MIT
5
-
6
- # trash: Function to moves a file to the MacOS trash
7
- #trash(){
8
- # if [ "$#" != 1 ]; then
9
- # echo "[ERROR] Please add one argument" >&2
10
- # return 1
11
- # fi
12
- # rm "$1"
13
- #}
@@ -1,13 +0,0 @@
1
- #!/usr/bin/env bash
2
- # 🅳🅾🆃🅵🅸🅻🅴🆂 (v0.2.452) - https://dotfiles.io
3
- # Copyright (c) Sebastien Rousseau 2022. All rights reserved
4
- # License: MIT
5
-
6
- # tree: Function to generates a tree view from the current directory
7
- #if [ ! -e /usr/local/bin/tree ]; then
8
- # tree(){
9
- # pwd
10
- # ls -R | grep ":$" | \
11
- # sed -e 's/:$//' -e 's/[^-][^\/]*\//--/g' -e 's/^/ /' -e 's/-/|/'
12
- # }
13
- #fi
@@ -1,27 +0,0 @@
1
- #!/usr/bin/env bash
2
- # 🅳🅾🆃🅵🅸🅻🅴🆂 (v0.2.452) - https://dotfiles.io
3
- # Copyright (c) Sebastien Rousseau 2022. All rights reserved
4
- # License: MIT
5
-
6
- # uuid: Function to generate a UUID (Universally Unique IDentifier)
7
- uuidgen() {
8
- local N B C='89ab' # 89ab is the hexadecimal value of 10, 11, 12, 13, 14, 15 in decimal
9
- for ((N = 0; N < 16; ++N)); do
10
- B=$(("$RANDOM" % 256))
11
- case $N in
12
- 6)
13
- printf '4%x' $((B % 16))
14
- ;;
15
- 8)
16
- printf '%c%x' ${C:$RANDOM%${#C}:1} ${B % 16}
17
- ;;
18
- 3 | 5 | 7 | 9)
19
- printf '%02x-' "${B}"
20
- ;;
21
- *)
22
- printf '%02x' "${B}"
23
- ;;
24
- esac
25
- done
26
- echo
27
- }