@sebastienrousseau/dotfiles 0.2.455 β 0.2.457
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.
- package/README.md +21 -7
- package/dist/Makefile +78 -0
- package/dist/bin/backup.d.ts +3 -0
- package/dist/bin/backup.d.ts.map +1 -0
- package/dist/bin/backup.js +3 -0
- package/dist/bin/backup.js.map +1 -0
- package/dist/bin/compile.sh +16 -0
- package/dist/bin/constants.d.ts +5 -0
- package/dist/bin/constants.d.ts.map +1 -0
- package/dist/bin/constants.js +2 -0
- package/dist/bin/constants.js.map +1 -0
- package/dist/bin/copy.d.ts +3 -0
- package/dist/bin/copy.d.ts.map +1 -0
- package/dist/bin/copy.js +2 -0
- package/dist/bin/copy.js.map +1 -0
- package/dist/bin/copy.sh +21 -0
- package/dist/bin/dotfiles.d.ts +3 -0
- package/dist/bin/dotfiles.d.ts.map +1 -0
- package/dist/bin/dotfiles.js +4 -0
- package/dist/bin/dotfiles.js.map +1 -0
- package/dist/bin/dotfiles.sh +185 -0
- package/dist/bin/download.d.ts +3 -0
- package/dist/bin/download.d.ts.map +1 -0
- package/dist/bin/download.js +2 -0
- package/dist/bin/download.js.map +1 -0
- package/dist/bin/index.d.ts +2 -0
- package/dist/bin/index.d.ts.map +1 -0
- package/dist/bin/index.js +1 -0
- package/dist/bin/index.js.map +1 -0
- package/dist/bin/transfer.d.ts +3 -0
- package/dist/bin/transfer.d.ts.map +1 -0
- package/dist/bin/transfer.js +4 -0
- package/dist/bin/transfer.js.map +1 -0
- package/dist/bin/unpack.d.ts +3 -0
- package/dist/bin/unpack.d.ts.map +1 -0
- package/dist/bin/unpack.js +3 -0
- package/dist/bin/unpack.js.map +1 -0
- package/dist/filesizes.txt +232 -0
- package/dist/shell/README.md +3 -0
- package/dist/shell/aliases/default/default.aliases.sh +199 -0
- package/dist/shell/aliases/gcloud/gcloud.aliases.sh +121 -0
- package/dist/shell/aliases/heroku/heroku.aliases.sh +1031 -0
- package/dist/shell/aliases/jekyll/jekyll.aliases.sh +50 -0
- package/dist/shell/aliases/pnpm/pnpm.aliases.sh +42 -0
- package/dist/shell/aliases/subversion/subversion.aliases.sh +123 -0
- package/dist/shell/aliases/tmux/tmux.aliases.sh +14 -0
- package/dist/shell/aliases.sh +12 -0
- package/dist/shell/configurations/README.md +3 -0
- package/dist/shell/configurations/bash/bashrc +36 -0
- package/dist/shell/configurations/curl/cacert.pem +3460 -0
- package/dist/shell/configurations/curl/curlrc +55 -0
- package/dist/shell/configurations/default/color.sh +22 -0
- package/dist/shell/configurations/default/editor.sh +16 -0
- package/dist/shell/configurations/default/prompt.sh +37 -0
- package/dist/shell/configurations/input/inputrc +22 -0
- package/dist/shell/configurations/jshint/jshintrc +37 -0
- package/dist/shell/configurations/profile/profile +36 -0
- package/dist/shell/configurations/tmux/tmux +95 -0
- package/dist/shell/configurations/vim/vimrc +73 -0
- package/dist/shell/configurations/wget/wgetrc +39 -0
- package/dist/shell/configurations/zsh/zshrc +50 -0
- package/dist/shell/configurations.sh +10 -0
- package/dist/shell/exit.sh +9 -0
- package/dist/shell/functions/README.md +3 -0
- package/dist/shell/functions/cdls.sh +19 -0
- package/dist/shell/functions/curlheader.sh +20 -0
- package/dist/shell/functions/curltime.sh +31 -0
- package/dist/shell/functions/encode64.sh +25 -0
- package/dist/shell/functions/environment.sh +37 -0
- package/dist/shell/functions/extract.sh +32 -0
- package/dist/shell/functions/filehead.sh +4 -0
- package/dist/shell/functions/genpwd.sh +14 -0
- package/dist/shell/functions/goto.sh +14 -0
- package/dist/shell/functions/hidehiddenfiles.sh +12 -0
- package/dist/shell/functions/hostinfo.sh +25 -0
- package/dist/shell/functions/hstats.sh +9 -0
- package/dist/shell/functions/httpdebug.sh +7 -0
- package/dist/shell/functions/keygen.sh +23 -0
- package/dist/shell/functions/last.sh +9 -0
- package/dist/shell/functions/logout.sh +10 -0
- package/dist/shell/functions/lowercase.sh +28 -0
- package/dist/shell/functions/macos.sh +47 -0
- package/dist/shell/functions/matrix.sh +9 -0
- package/dist/shell/functions/mcd.sh +18 -0
- package/dist/shell/functions/mount_read_only.sh +9 -0
- package/dist/shell/functions/myproc.sh +7 -0
- package/dist/shell/functions/prependpath.sh +19 -0
- package/dist/shell/functions/ql.sh +7 -0
- package/dist/shell/functions/rd.sh +15 -0
- package/dist/shell/functions/remove_disk.sh +9 -0
- package/dist/shell/functions/ren.sh +11 -0
- package/dist/shell/functions/showhiddenfiles.sh +12 -0
- package/dist/shell/functions/size.sh +13 -0
- package/dist/shell/functions/stopwatch.sh +13 -0
- package/dist/shell/functions/uppercase.sh +28 -0
- package/dist/shell/functions/view-source.sh +8 -0
- package/dist/shell/functions/vscode.sh +31 -0
- package/dist/shell/functions/whoisport.sh +12 -0
- package/dist/shell/functions/zipf.sh +14 -0
- package/dist/shell/functions.sh +10 -0
- package/dist/shell/history.sh +107 -0
- package/dist/shell/paths/ant/ant.paths.sh +15 -0
- package/dist/shell/paths/default/default.paths.sh +17 -0
- package/dist/shell/paths/homebrew/homebrew.paths.sh +25 -0
- package/dist/shell/paths/java/java.paths.sh +16 -0
- package/dist/shell/paths/maven/maven.paths.sh +17 -0
- package/dist/shell/paths/node/node.paths.sh +13 -0
- package/dist/shell/paths/nvm/nvm.paths.sh +21 -0
- package/dist/shell/paths/pnpm/pnpm.paths.sh +13 -0
- package/dist/shell/paths/python/python.paths.sh +29 -0
- package/dist/shell/paths/ruby/ruby.paths.sh +23 -0
- package/dist/shell/paths/tmux/tmux.paths.sh +15 -0
- package/dist/shell/paths.sh +12 -0
- package/package.json +27 -30
|
@@ -0,0 +1,232 @@
|
|
|
1
|
+
ββββββββββββββββββββββββββββββββββββββββββββββββββ¬ββββββββββββ¬βββββββββββββββββ
|
|
2
|
+
β File β Size β Size (gzipped) β
|
|
3
|
+
ββββββββββββββββββββββββββββββββββββββββββββββββββΌββββββββββββΌβββββββββββββββββ€
|
|
4
|
+
β Makefile β 1.65 kB β 656 B β
|
|
5
|
+
ββββββββββββββββββββββββββββββββββββββββββββββββββΌββββββββββββΌβββββββββββββββββ€
|
|
6
|
+
β filesizes.txt β 0 B β 20 B β
|
|
7
|
+
ββββββββββββββββββββββββββββββββββββββββββββββββββΌββββββββββββΌβββββββββββββββββ€
|
|
8
|
+
β bin/backup.d.ts β 114 B β 121 B β
|
|
9
|
+
ββββββββββββββββββββββββββββββββββββββββββββββββββΌββββββββββββΌβββββββββββββββββ€
|
|
10
|
+
β bin/backup.d.ts.map β 120 B β 119 B β
|
|
11
|
+
ββββββββββββββββββββββββββββββββββββββββββββββββββΌββββββββββββΌβββββββββββββββββ€
|
|
12
|
+
β bin/backup.js β 360 B β 231 B β
|
|
13
|
+
ββββββββββββββββββββββββββββββββββββββββββββββββββΌββββββββββββΌβββββββββββββββββ€
|
|
14
|
+
β bin/backup.js.map β 783 B β 295 B β
|
|
15
|
+
ββββββββββββββββββββββββββββββββββββββββββββββββββΌββββββββββββΌβββββββββββββββββ€
|
|
16
|
+
β bin/compile.sh β 402 B β 260 B β
|
|
17
|
+
ββββββββββββββββββββββββββββββββββββββββββββββββββΌββββββββββββΌβββββββββββββββββ€
|
|
18
|
+
β bin/constants.d.ts β 251 B β 172 B β
|
|
19
|
+
ββββββββββββββββββββββββββββββββββββββββββββββββββΌββββββββββββΌβββββββββββββββββ€
|
|
20
|
+
β bin/constants.d.ts.map β 162 B β 147 B β
|
|
21
|
+
ββββββββββββββββββββββββββββββββββββββββββββββββββΌββββββββββββΌβββββββββββββββββ€
|
|
22
|
+
β bin/constants.js β 678 B β 293 B β
|
|
23
|
+
ββββββββββββββββββββββββββββββββββββββββββββββββββΌββββββββββββΌβββββββββββββββββ€
|
|
24
|
+
β bin/constants.js.map β 564 B β 271 B β
|
|
25
|
+
ββββββββββββββββββββββββββββββββββββββββββββββββββΌββββββββββββΌβββββββββββββββββ€
|
|
26
|
+
β bin/copy.d.ts β 108 B β 119 B β
|
|
27
|
+
ββββββββββββββββββββββββββββββββββββββββββββββββββΌββββββββββββΌβββββββββββββββββ€
|
|
28
|
+
β bin/copy.d.ts.map β 116 B β 117 B β
|
|
29
|
+
ββββββββββββββββββββββββββββββββββββββββββββββββββΌββββββββββββΌβββββββββββββββββ€
|
|
30
|
+
β bin/copy.js β 270 B β 186 B β
|
|
31
|
+
ββββββββββββββββββββββββββββββββββββββββββββββββββΌββββββββββββΌβββββββββββββββββ€
|
|
32
|
+
β bin/copy.js.map β 615 B β 250 B β
|
|
33
|
+
ββββββββββββββββββββββββββββββββββββββββββββββββββΌββββββββββββΌβββββββββββββββββ€
|
|
34
|
+
β bin/copy.sh β 491 B β 272 B β
|
|
35
|
+
ββββββββββββββββββββββββββββββββββββββββββββββββββΌββββββββββββΌβββββββββββββββββ€
|
|
36
|
+
β bin/dotfiles.d.ts β 101 B β 110 B β
|
|
37
|
+
ββββββββββββββββββββββββββββββββββββββββββββββββββΌββββββββββββΌβββββββββββββββββ€
|
|
38
|
+
β bin/dotfiles.d.ts.map β 127 B β 122 B β
|
|
39
|
+
ββββββββββββββββββββββββββββββββββββββββββββββββββΌββββββββββββΌβββββββββββββββββ€
|
|
40
|
+
β bin/dotfiles.js β 753 B β 371 B β
|
|
41
|
+
ββββββββββββββββββββββββββββββββββββββββββββββββββΌββββββββββββΌβββββββββββββββββ€
|
|
42
|
+
β bin/dotfiles.js.map β 1.58 kB β 474 B β
|
|
43
|
+
ββββββββββββββββββββββββββββββββββββββββββββββββββΌββββββββββββΌβββββββββββββββββ€
|
|
44
|
+
β bin/dotfiles.sh β 6.52 kB β 1.8 kB β
|
|
45
|
+
ββββββββββββββββββββββββββββββββββββββββββββββββββΌββββββββββββΌβββββββββββββββββ€
|
|
46
|
+
β bin/download.d.ts β 101 B β 108 B β
|
|
47
|
+
ββββββββββββββββββββββββββββββββββββββββββββββββββΌββββββββββββΌβββββββββββββββββ€
|
|
48
|
+
β bin/download.d.ts.map β 125 B β 122 B β
|
|
49
|
+
ββββββββββββββββββββββββββββββββββββββββββββββββββΌββββββββββββΌβββββββββββββββββ€
|
|
50
|
+
β bin/download.js β 654 B β 380 B β
|
|
51
|
+
ββββββββββββββββββββββββββββββββββββββββββββββββββΌββββββββββββΌβββββββββββββββββ€
|
|
52
|
+
β bin/download.js.map β 1.19 kB β 411 B β
|
|
53
|
+
ββββββββββββββββββββββββββββββββββββββββββββββββββΌββββββββββββΌβββββββββββββββββ€
|
|
54
|
+
β bin/index.d.ts β 46 B β 66 B β
|
|
55
|
+
ββββββββββββββββββββββββββββββββββββββββββββββββββΌββββββββββββΌβββββββββββββββββ€
|
|
56
|
+
β bin/index.d.ts.map β 107 B β 106 B β
|
|
57
|
+
ββββββββββββββββββββββββββββββββββββββββββββββββββΌββββββββββββΌβββββββββββββββββ€
|
|
58
|
+
β bin/index.js β 62 B β 69 B β
|
|
59
|
+
ββββββββββββββββββββββββββββββββββββββββββββββββββΌββββββββββββΌβββββββββββββββββ€
|
|
60
|
+
β bin/index.js.map β 185 B β 150 B β
|
|
61
|
+
ββββββββββββββββββββββββββββββββββββββββββββββββββΌββββββββββββΌβββββββββββββββββ€
|
|
62
|
+
β bin/transfer.d.ts β 110 B β 116 B β
|
|
63
|
+
ββββββββββββββββββββββββββββββββββββββββββββββββββΌββββββββββββΌβββββββββββββββββ€
|
|
64
|
+
β bin/transfer.d.ts.map β 125 B β 122 B β
|
|
65
|
+
ββββββββββββββββββββββββββββββββββββββββββββββββββΌββββββββββββΌβββββββββββββββββ€
|
|
66
|
+
β bin/transfer.js β 651 B β 279 B β
|
|
67
|
+
ββββββββββββββββββββββββββββββββββββββββββββββββββΌββββββββββββΌβββββββββββββββββ€
|
|
68
|
+
β bin/transfer.js.map β 1.16 kB β 373 B β
|
|
69
|
+
ββββββββββββββββββββββββββββββββββββββββββββββββββΌββββββββββββΌβββββββββββββββββ€
|
|
70
|
+
β bin/unpack.d.ts β 95 B β 106 B β
|
|
71
|
+
ββββββββββββββββββββββββββββββββββββββββββββββββββΌββββββββββββΌβββββββββββββββββ€
|
|
72
|
+
β bin/unpack.d.ts.map β 120 B β 119 B β
|
|
73
|
+
ββββββββββββββββββββββββββββββββββββββββββββββββββΌββββββββββββΌβββββββββββββββββ€
|
|
74
|
+
β bin/unpack.js β 309 B β 207 B β
|
|
75
|
+
ββββββββββββββββββββββββββββββββββββββββββββββββββΌββββββββββββΌβββββββββββββββββ€
|
|
76
|
+
β bin/unpack.js.map β 556 B β 260 B β
|
|
77
|
+
ββββββββββββββββββββββββββββββββββββββββββββββββββΌββββββββββββΌβββββββββββββββββ€
|
|
78
|
+
β shell/README.md β 86 B β 93 B β
|
|
79
|
+
ββββββββββββββββββββββββββββββββββββββββββββββββββΌββββββββββββΌβββββββββββββββββ€
|
|
80
|
+
β shell/aliases.sh β 349 B β 288 B β
|
|
81
|
+
ββββββββββββββββββββββββββββββββββββββββββββββββββΌββββββββββββΌβββββββββββββββββ€
|
|
82
|
+
β shell/configurations.sh β 354 B β 289 B β
|
|
83
|
+
ββββββββββββββββββββββββββββββββββββββββββββββββββΌββββββββββββΌβββββββββββββββββ€
|
|
84
|
+
β shell/exit.sh β 288 B β 260 B β
|
|
85
|
+
ββββββββββββββββββββββββββββββββββββββββββββββββββΌββββββββββββΌβββββββββββββββββ€
|
|
86
|
+
β shell/functions.sh β 326 B β 272 B β
|
|
87
|
+
ββββββββββββββββββββββββββββββββββββββββββββββββββΌββββββββββββΌβββββββββββββββββ€
|
|
88
|
+
β shell/history.sh β 6.2 kB β 2.42 kB β
|
|
89
|
+
ββββββββββββββββββββββββββββββββββββββββββββββββββΌββββββββββββΌβββββββββββββββββ€
|
|
90
|
+
β shell/paths.sh β 333 B β 284 B β
|
|
91
|
+
ββββββββββββββββββββββββββββββββββββββββββββββββββΌββββββββββββΌβββββββββββββββββ€
|
|
92
|
+
β shell/aliases/default/default.aliases.sh β 15.2 kB β 4.39 kB β
|
|
93
|
+
ββββββββββββββββββββββββββββββββββββββββββββββββββΌββββββββββββΌβββββββββββββββββ€
|
|
94
|
+
β shell/aliases/gcloud/gcloud.aliases.sh β 8.32 kB β 2.01 kB β
|
|
95
|
+
ββββββββββββββββββββββββββββββββββββββββββββββββββΌββββββββββββΌβββββββββββββββββ€
|
|
96
|
+
β shell/aliases/heroku/heroku.aliases.sh β 32.6 kB β 7.05 kB β
|
|
97
|
+
ββββββββββββββββββββββββββββββββββββββββββββββββββΌββββββββββββΌβββββββββββββββββ€
|
|
98
|
+
β shell/aliases/jekyll/jekyll.aliases.sh β 1.95 kB β 587 B β
|
|
99
|
+
ββββββββββββββββββββββββββββββββββββββββββββββββββΌββββββββββββΌβββββββββββββββββ€
|
|
100
|
+
β shell/aliases/pnpm/pnpm.aliases.sh β 1.21 kB β 477 B β
|
|
101
|
+
ββββββββββββββββββββββββββββββββββββββββββββββββββΌββββββββββββΌβββββββββββββββββ€
|
|
102
|
+
β shell/aliases/subversion/subversion.aliases.sh β 3.83 kB β 1.39 kB β
|
|
103
|
+
ββββββββββββββββββββββββββββββββββββββββββββββββββΌββββββββββββΌβββββββββββββββββ€
|
|
104
|
+
β shell/aliases/tmux/tmux.aliases.sh β 765 B β 363 B β
|
|
105
|
+
ββββββββββββββββββββββββββββββββββββββββββββββββββΌββββββββββββΌβββββββββββββββββ€
|
|
106
|
+
β shell/configurations/README.md β 86 B β 93 B β
|
|
107
|
+
ββββββββββββββββββββββββββββββββββββββββββββββββββΌββββββββββββΌβββββββββββββββββ€
|
|
108
|
+
β shell/configurations/bash/bashrc β 2.01 kB β 787 B β
|
|
109
|
+
ββββββββββββββββββββββββββββββββββββββββββββββββββΌββββββββββββΌβββββββββββββββββ€
|
|
110
|
+
β shell/configurations/curl/cacert.pem β 222 kB β 127 kB β
|
|
111
|
+
ββββββββββββββββββββββββββββββββββββββββββββββββββΌββββββββββββΌβββββββββββββββββ€
|
|
112
|
+
β shell/configurations/curl/curlrc β 1.79 kB β 1.03 kB β
|
|
113
|
+
ββββββββββββββββββββββββββββββββββββββββββββββββββΌββββββββββββΌβββββββββββββββββ€
|
|
114
|
+
β shell/configurations/default/color.sh β 659 B β 473 B β
|
|
115
|
+
ββββββββββββββββββββββββββββββββββββββββββββββββββΌββββββββββββΌβββββββββββββββββ€
|
|
116
|
+
β shell/configurations/default/editor.sh β 381 B β 278 B β
|
|
117
|
+
ββββββββββββββββββββββββββββββββββββββββββββββββββΌββββββββββββΌβββββββββββββββββ€
|
|
118
|
+
β shell/configurations/default/prompt.sh β 1.12 kB β 595 B β
|
|
119
|
+
ββββββββββββββββββββββββββββββββββββββββββββββββββΌββββββββββββΌβββββββββββββββββ€
|
|
120
|
+
β shell/configurations/input/inputrc β 1.25 kB β 574 B β
|
|
121
|
+
ββββββββββββββββββββββββββββββββββββββββββββββββββΌββββββββββββΌβββββββββββββββββ€
|
|
122
|
+
β shell/configurations/jshint/jshintrc β 642 B β 263 B β
|
|
123
|
+
ββββββββββββββββββββββββββββββββββββββββββββββββββΌββββββββββββΌβββββββββββββββββ€
|
|
124
|
+
β shell/configurations/profile/profile β 1.11 kB β 581 B β
|
|
125
|
+
ββββββββββββββββββββββββββββββββββββββββββββββββββΌββββββββββββΌβββββββββββββββββ€
|
|
126
|
+
β shell/configurations/tmux/tmux β 7.7 kB β 2.09 kB β
|
|
127
|
+
ββββββββββββββββββββββββββββββββββββββββββββββββββΌββββββββββββΌβββββββββββββββββ€
|
|
128
|
+
β shell/configurations/vim/vimrc β 4.26 kB β 1.14 kB β
|
|
129
|
+
ββββββββββββββββββββββββββββββββββββββββββββββββββΌββββββββββββΌβββββββββββββββββ€
|
|
130
|
+
β shell/configurations/wget/wgetrc β 1.31 kB β 793 B β
|
|
131
|
+
ββββββββββββββββββββββββββββββββββββββββββββββββββΌββββββββββββΌβββββββββββββββββ€
|
|
132
|
+
β shell/configurations/zsh/zshrc β 2.2 kB β 935 B β
|
|
133
|
+
ββββββββββββββββββββββββββββββββββββββββββββββββββΌββββββββββββΌβββββββββββββββββ€
|
|
134
|
+
β shell/functions/README.md β 86 B β 93 B β
|
|
135
|
+
ββββββββββββββββββββββββββββββββββββββββββββββββββΌββββββββββββΌβββββββββββββββββ€
|
|
136
|
+
β shell/functions/cdls.sh β 520 B β 394 B β
|
|
137
|
+
ββββββββββββββββββββββββββββββββββββββββββββββββββΌββββββββββββΌβββββββββββββββββ€
|
|
138
|
+
β shell/functions/curlheader.sh β 668 B β 375 B β
|
|
139
|
+
ββββββββββββββββββββββββββββββββββββββββββββββββββΌββββββββββββΌβββββββββββββββββ€
|
|
140
|
+
β shell/functions/curltime.sh β 1.19 kB β 525 B β
|
|
141
|
+
ββββββββββββββββββββββββββββββββββββββββββββββββββΌββββββββββββΌβββββββββββββββββ€
|
|
142
|
+
β shell/functions/encode64.sh β 584 B β 336 B β
|
|
143
|
+
ββββββββββββββββββββββββββββββββββββββββββββββββββΌββββββββββββΌβββββββββββββββββ€
|
|
144
|
+
β shell/functions/environment.sh β 877 B β 413 B β
|
|
145
|
+
ββββββββββββββββββββββββββββββββββββββββββββββββββΌββββββββββββΌβββββββββββββββββ€
|
|
146
|
+
β shell/functions/extract.sh β 796 B β 463 B β
|
|
147
|
+
ββββββββββββββββββββββββββββββββββββββββββββββββββΌββββββββββββΌβββββββββββββββββ€
|
|
148
|
+
β shell/functions/filehead.sh β 139 B β 127 B β
|
|
149
|
+
ββββββββββββββββββββββββββββββββββββββββββββββββββΌββββββββββββΌβββββββββββββββββ€
|
|
150
|
+
β shell/functions/genpwd.sh β 537 B β 356 B β
|
|
151
|
+
ββββββββββββββββββββββββββββββββββββββββββββββββββΌββββββββββββΌβββββββββββββββββ€
|
|
152
|
+
β shell/functions/goto.sh β 342 B β 288 B β
|
|
153
|
+
ββββββββββββββββββββββββββββββββββββββββββββββββββΌββββββββββββΌβββββββββββββββββ€
|
|
154
|
+
β shell/functions/hidehiddenfiles.sh β 400 B β 296 B β
|
|
155
|
+
ββββββββββββββββββββββββββββββββββββββββββββββββββΌββββββββββββΌβββββββββββββββββ€
|
|
156
|
+
β shell/functions/hostinfo.sh β 551 B β 378 B β
|
|
157
|
+
ββββββββββββββββββββββββββββββββββββββββββββββββββΌββββββββββββΌβββββββββββββββββ€
|
|
158
|
+
β shell/functions/hstats.sh β 410 B β 331 B β
|
|
159
|
+
ββββββββββββββββββββββββββββββββββββββββββββββββββΌββββββββββββΌβββββββββββββββββ€
|
|
160
|
+
β shell/functions/httpdebug.sh β 439 B β 316 B β
|
|
161
|
+
ββββββββββββββββββββββββββββββββββββββββββββββββββΌββββββββββββΌβββββββββββββββββ€
|
|
162
|
+
β shell/functions/keygen.sh β 553 B β 381 B β
|
|
163
|
+
ββββββββββββββββββββββββββββββββββββββββββββββββββΌββββββββββββΌβββββββββββββββββ€
|
|
164
|
+
β shell/functions/last.sh β 254 B β 232 B β
|
|
165
|
+
ββββββββββββββββββββββββββββββββββββββββββββββββββΌββββββββββββΌβββββββββββββββββ€
|
|
166
|
+
β shell/functions/logout.sh β 310 B β 265 B β
|
|
167
|
+
ββββββββββββββββββββββββββββββββββββββββββββββββββΌββββββββββββΌβββββββββββββββββ€
|
|
168
|
+
β shell/functions/lowercase.sh β 860 B β 491 B β
|
|
169
|
+
ββββββββββββββββββββββββββββββββββββββββββββββββββΌββββββββββββΌβββββββββββββββββ€
|
|
170
|
+
β shell/functions/macos.sh β 2.42 kB β 1.2 kB β
|
|
171
|
+
ββββββββββββββββββββββββββββββββββββββββββββββββββΌββββββββββββΌβββββββββββββββββ€
|
|
172
|
+
β shell/functions/matrix.sh β 659 B β 509 B β
|
|
173
|
+
ββββββββββββββββββββββββββββββββββββββββββββββββββΌββββββββββββΌβββββββββββββββββ€
|
|
174
|
+
β shell/functions/mcd.sh β 451 B β 352 B β
|
|
175
|
+
ββββββββββββββββββββββββββββββββββββββββββββββββββΌββββββββββββΌβββββββββββββββββ€
|
|
176
|
+
β shell/functions/mount_read_only.sh β 318 B β 265 B β
|
|
177
|
+
ββββββββββββββββββββββββββββββββββββββββββββββββββΌββββββββββββΌβββββββββββββββββ€
|
|
178
|
+
β shell/functions/myproc.sh β 298 B β 264 B β
|
|
179
|
+
ββββββββββββββββββββββββββββββββββββββββββββββββββΌββββββββββββΌβββββββββββββββββ€
|
|
180
|
+
β shell/functions/prependpath.sh β 728 B β 321 B β
|
|
181
|
+
ββββββββββββββββββββββββββββββββββββββββββββββββββΌββββββββββββΌβββββββββββββββββ€
|
|
182
|
+
β shell/functions/ql.sh β 263 B β 247 B β
|
|
183
|
+
ββββββββββββββββββββββββββββββββββββββββββββββββββΌββββββββββββΌβββββββββββββββββ€
|
|
184
|
+
β shell/functions/rd.sh β 429 B β 348 B β
|
|
185
|
+
ββββββββββββββββββββββββββββββββββββββββββββββββββΌββββββββββββΌβββββββββββββββββ€
|
|
186
|
+
β shell/functions/remove_disk.sh β 245 B β 225 B β
|
|
187
|
+
ββββββββββββββββββββββββββββββββββββββββββββββββββΌββββββββββββΌβββββββββββββββββ€
|
|
188
|
+
β shell/functions/ren.sh β 277 B β 246 B β
|
|
189
|
+
ββββββββββββββββββββββββββββββββββββββββββββββββββΌββββββββββββΌβββββββββββββββββ€
|
|
190
|
+
β shell/functions/showhiddenfiles.sh β 401 B β 295 B β
|
|
191
|
+
ββββββββββββββββββββββββββββββββββββββββββββββββββΌββββββββββββΌβββββββββββββββββ€
|
|
192
|
+
β shell/functions/size.sh β 366 B β 309 B β
|
|
193
|
+
ββββββββββββββββββββββββββββββββββββββββββββββββββΌββββββββββββΌβββββββββββββββββ€
|
|
194
|
+
β shell/functions/stopwatch.sh β 350 B β 286 B β
|
|
195
|
+
ββββββββββββββββββββββββββββββββββββββββββββββββββΌββββββββββββΌβββββββββββββββββ€
|
|
196
|
+
β shell/functions/uppercase.sh β 848 B β 481 B β
|
|
197
|
+
ββββββββββββββββββββββββββββββββββββββββββββββββββΌββββββββββββΌβββββββββββββββββ€
|
|
198
|
+
β shell/functions/view-source.sh β 352 B β 296 B β
|
|
199
|
+
ββββββββββββββββββββββββββββββββββββββββββββββββββΌββββββββββββΌβββββββββββββββββ€
|
|
200
|
+
β shell/functions/vscode.sh β 653 B β 405 B β
|
|
201
|
+
ββββββββββββββββββββββββββββββββββββββββββββββββββΌββββββββββββΌβββββββββββββββββ€
|
|
202
|
+
β shell/functions/whoisport.sh β 368 B β 298 B β
|
|
203
|
+
ββββββββββββββββββββββββββββββββββββββββββββββββββΌββββββββββββΌβββββββββββββββββ€
|
|
204
|
+
β shell/functions/zipf.sh β 409 B β 324 B β
|
|
205
|
+
ββββββββββββββββββββββββββββββββββββββββββββββββββΌββββββββββββΌβββββββββββββββββ€
|
|
206
|
+
β shell/paths/ant/ant.paths.sh β 461 B β 333 B β
|
|
207
|
+
ββββββββββββββββββββββββββββββββββββββββββββββββββΌββββββββββββΌβββββββββββββββββ€
|
|
208
|
+
β shell/paths/default/default.paths.sh β 867 B β 328 B β
|
|
209
|
+
ββββββββββββββββββββββββββββββββββββββββββββββββββΌββββββββββββΌβββββββββββββββββ€
|
|
210
|
+
β shell/paths/homebrew/homebrew.paths.sh β 879 B β 524 B β
|
|
211
|
+
ββββββββββββββββββββββββββββββββββββββββββββββββββΌββββββββββββΌβββββββββββββββββ€
|
|
212
|
+
β shell/paths/java/java.paths.sh β 661 B β 453 B β
|
|
213
|
+
ββββββββββββββββββββββββββββββββββββββββββββββββββΌββββββββββββΌβββββββββββββββββ€
|
|
214
|
+
β shell/paths/maven/maven.paths.sh β 556 B β 371 B β
|
|
215
|
+
ββββββββββββββββββββββββββββββββββββββββββββββββββΌββββββββββββΌβββββββββββββββββ€
|
|
216
|
+
β shell/paths/node/node.paths.sh β 448 B β 336 B β
|
|
217
|
+
ββββββββββββββββββββββββββββββββββββββββββββββββββΌββββββββββββΌβββββββββββββββββ€
|
|
218
|
+
β shell/paths/nvm/nvm.paths.sh β 863 B β 400 B β
|
|
219
|
+
ββββββββββββββββββββββββββββββββββββββββββββββββββΌββββββββββββΌβββββββββββββββββ€
|
|
220
|
+
β shell/paths/pnpm/pnpm.paths.sh β 439 B β 316 B β
|
|
221
|
+
ββββββββββββββββββββββββββββββββββββββββββββββββββΌββββββββββββΌβββββββββββββββββ€
|
|
222
|
+
β shell/paths/python/python.paths.sh β 811 B β 456 B β
|
|
223
|
+
ββββββββββββββββββββββββββββββββββββββββββββββββββΌββββββββββββΌβββββββββββββββββ€
|
|
224
|
+
β shell/paths/ruby/ruby.paths.sh β 664 B β 396 B β
|
|
225
|
+
ββββββββββββββββββββββββββββββββββββββββββββββββββΌββββββββββββΌβββββββββββββββββ€
|
|
226
|
+
β shell/paths/tmux/tmux.paths.sh β 407 B β 318 B β
|
|
227
|
+
ββββββββββββββββββββββββββββββββββββββββββββββββββΌββββββββββββΌβββββββββββββββββ€
|
|
228
|
+
ββββββββββββββββββββββββββββββββββββββββββββββββββΌββββββββββββΌβββββββββββββββββ€
|
|
229
|
+
β Total files: 112 β 367 kB β 183 kB β
|
|
230
|
+
ββββββββββββββββββββββββββββββββββββββββββββββββββ΄ββββββββββββ΄βββββββββββββββββ
|
|
231
|
+
|
|
232
|
+
|
|
@@ -0,0 +1,199 @@
|
|
|
1
|
+
#!/usr/bin/env bash
|
|
2
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.457) - https://dotfiles.io
|
|
3
|
+
# Copyright (c) Sebastien Rousseau 2022. All rights reserved
|
|
4
|
+
# License: MIT
|
|
5
|
+
|
|
6
|
+
# π
³π
΄π
΅π
°ππ
»π π
°π
»π
Έπ
°ππ
΄π
|
|
7
|
+
unalias -a # Remove all previous environment defined aliases.
|
|
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 ':q'='quit' # q: Shortcut for the `exit` command.
|
|
14
|
+
alias '~'='cd ~' # ~: Shortcut to go to home directory.
|
|
15
|
+
alias 'l.'="ls -dlhF .* | grep -v '^d'" # l.: List hidden files.
|
|
16
|
+
alias 000='chmod -R 000' # 000: Make all files and directories read-only.
|
|
17
|
+
alias 644='chmod -R 644' # 644: Make all files and directories readable and writable.
|
|
18
|
+
alias 666='chmod -R 666' # 666: Make all files and directories readable and writable.
|
|
19
|
+
alias 755='chmod -R 755' # 755: Make all files and directories readable and writable.
|
|
20
|
+
alias 777='chmod -R 777' # 777: Make all files and directories readable and writable.
|
|
21
|
+
alias bye='quit' # q: Shortcut for the `exit` command.
|
|
22
|
+
alias c="clear" # c: Clear screen shortcut.
|
|
23
|
+
alias cde="cd ~/Code; ls" # cde: Shortcut to go to the Code directory and list its contents.
|
|
24
|
+
alias cgz='tar -zcvf' # cgz: Compress a whole directory (including subdirectories) to a tarball.
|
|
25
|
+
alias chmox='chmod +x' # chmox: Make a file executable.
|
|
26
|
+
alias cl="clear" # cl: Clear screen shortcut.
|
|
27
|
+
alias clear="clear && printf '\e[3J'" # clear: Clear screen shortcut.
|
|
28
|
+
alias clr="clear" # clr: Clear screen shortcut.
|
|
29
|
+
alias cls="clear" # cls: Clear screen shortcut.
|
|
30
|
+
alias cp="cp -vi" # cp: Copy files and directories.
|
|
31
|
+
alias cr='cargo run' # cr: Run cargo.
|
|
32
|
+
alias ct="clear && tree ./" # ct: Clear screen and list directory contents.
|
|
33
|
+
alias ctf='echo $(ls -1 | wc -l)' # ctf: Count the number of files in the current directory.
|
|
34
|
+
alias curl='curl --compressed' # curl: Use compression when transferring data.
|
|
35
|
+
alias da='date "+%Y-%m-%d %A %T %Z"' # da: Display the current date and time.
|
|
36
|
+
alias del="rm -rfv" # del: Remove a file or directory.
|
|
37
|
+
alias digg="dig @8.8.8.8 +nocmd any +multiline +noall +answer" # digg: Dig with Google's DNS.
|
|
38
|
+
alias dn="cd ~/Downloads; ls" # dn: Shortcut to go to the Downloads directory and list its contents.
|
|
39
|
+
alias dot='cd ${HOME}/.dotfiles/' # dot: Shortcut to go to the dotfiles directory.
|
|
40
|
+
alias ds="cd ~/Documents; ls" # ds: Shortcut to go to the Documents directory and list its contents.
|
|
41
|
+
alias dsp="sudo du -shc ." # dsp: Show the size of the current directory.
|
|
42
|
+
alias dt="cd ~/Desktop; ls" # dt: Shortcut to go to the Desktop directory and list its contents.
|
|
43
|
+
alias du='sudo du -h' # du: File size human readable output sorted by size.
|
|
44
|
+
alias duf='sudo du -sh *' # duf: File size human readable output sorted.
|
|
45
|
+
alias e='vim' # e, edit, mate: Edit current file.
|
|
46
|
+
alias edit='vim' # e, edit, mate: Edit current file.
|
|
47
|
+
alias egz='tar -xvzf' # egz: Extract a whole directory (including subdirectories)
|
|
48
|
+
alias f='find . -name ' # f: Quickly search for file
|
|
49
|
+
alias fd='find . -type d -name' # fd: Quickly search for directory
|
|
50
|
+
alias ff='find . -type f -name' # ff: Quickly search for file
|
|
51
|
+
alias g='git' # g: Shortcut to git.
|
|
52
|
+
alias ga='git add ' # ga: Shortcut to git add.
|
|
53
|
+
alias gb='git branch ' # gb: Shortcut to git branch.
|
|
54
|
+
alias gc='git commit -m ' # gc: Shortcut to git commit.
|
|
55
|
+
alias gcb="git checkout -b " # gcb: Create a new branch and switch to it.
|
|
56
|
+
alias gcl='git clone ' # gcl: Shortcut to git clone.
|
|
57
|
+
alias gco='git checkout ' # gco: Shortcut to git checkout.
|
|
58
|
+
alias gd='git diff ' # gd: Shortcut to git diff.
|
|
59
|
+
alias gf='git fetch ' # gf: Shortcut to git fetch.
|
|
60
|
+
alias gl='git log ' # gl: Shortcut to git log.
|
|
61
|
+
alias gmv='git mv' # gmv: Move or rename a file, a directory, or a symlink.
|
|
62
|
+
alias gph="git push" # gp: Push local commits to remote.
|
|
63
|
+
alias gpl="git pull" # gl: Update and merge remote changes.
|
|
64
|
+
alias gr='git remote ' # gr: Shortcut to git remote.
|
|
65
|
+
alias grm='git remove' # grm: Remove files from the working tree and from the index.
|
|
66
|
+
alias grt='cd "$(git rev-parse --show-toplevel)"' # gr: Change to Git Root directory.
|
|
67
|
+
alias gst='git status ' # gst: Shortcut to git status.
|
|
68
|
+
alias gsta='git stash save ' # gsta: Shortcut to git stash save.
|
|
69
|
+
alias gz='tar -zcvf' # gz: Compress a whole directory (including subdirectories) to a tarball.
|
|
70
|
+
alias h='history' # h: Lists all recently used commands.
|
|
71
|
+
alias halt="sudo /sbin/halt" # halt: Shutdown the system.
|
|
72
|
+
alias ifconfig='sudo ifconfig' # ifconfig: Append sudo to ifconfig (configure network interface parameters) command.
|
|
73
|
+
alias ip="ip4; ip6" # ip: Get the public IPv4 and IPv6 addresses.
|
|
74
|
+
alias ip4="dig +short myip.opendns.com @resolver1.opendns.com -4" # ip4: Get the public IPv4 address.
|
|
75
|
+
alias ip6="dig -6 AAAA +short myip.opendns.com. @resolver1.opendns.com." # ip6: Get the public IPv6 address.
|
|
76
|
+
alias ipinfo='ipconfig getpacket en0' # ipInfo0: Get network interface parameters for en0.
|
|
77
|
+
alias l='ls -lFh' # l: Size, show type, human readable.
|
|
78
|
+
alias l1='ls -1' # l1: Display one file per line.
|
|
79
|
+
alias la='ls -Alh' # la: show hidden files on the command line.
|
|
80
|
+
alias labc='ls -lap' # labc: List all files in alphabetical order.
|
|
81
|
+
alias lc='wc -l' # lc: Count the number of lines in the file.
|
|
82
|
+
alias lct='ls -lcrh' # lc: sort by change time
|
|
83
|
+
alias ld='ls -ltrh' # lt: sort by date
|
|
84
|
+
alias ldir="ls -l | egrep '^d'" # directories only
|
|
85
|
+
alias ldot="l." # l.: List hidden files.
|
|
86
|
+
alias left='ls -t -1' # left: List files by date, most recent last.
|
|
87
|
+
alias lf="ls -l | egrep -v '^d'" # files only
|
|
88
|
+
alias lk='ls -lSrh' # lk: sort by size
|
|
89
|
+
alias ll='ls -lAFh' # ll: Long list, show almost all, show type, human readable.
|
|
90
|
+
alias lla='ls -l -d $PWD/*' # lla: List full path of all files in current directory.
|
|
91
|
+
alias lm='ls -alh |more' # lm: pipe through 'more'
|
|
92
|
+
alias ln='ln -vi' # ln: interactive symbolic link
|
|
93
|
+
alias locale='locale -a | grep UTF-8' # locale: List all available locales.
|
|
94
|
+
alias lp='sudo lsof -i -T -n' # lp: List all open ports.
|
|
95
|
+
alias lr='ls -lRh' # lr: recursive ls
|
|
96
|
+
alias ls='ls --color' # ls: Colorize the output.
|
|
97
|
+
alias lS='ls -1FSsh' # lS: Order Files Based on Last Modified Time and size.
|
|
98
|
+
alias lt="tree" # lt: List contents of directories in a tree-like format.
|
|
99
|
+
alias lu='ls -lurh' # lu: sort by access time
|
|
100
|
+
alias lw='ls -xAh' # wide listing format
|
|
101
|
+
alias lx='ls | sort -k 1,1 -t .' # lx: sort by extension
|
|
102
|
+
alias mate='vim' # e, edit, mate: Edit current file.
|
|
103
|
+
alias mc='make clean' # mc: Make clean.
|
|
104
|
+
alias md='mkd' # mkd: Create the directory and all parent directories, verbose mode.
|
|
105
|
+
alias mi='make install' # mi: Make install.
|
|
106
|
+
alias mk=make # mk: Make.
|
|
107
|
+
alias mkbz2='tar -cvjf' # mkbz2: Create a temporary tar ball compressed with bzip2.
|
|
108
|
+
alias mkcd='mkdir -pv && cd' # mkcd: Create the directory and all parent directories, verbose mode, then change to it.
|
|
109
|
+
alias mkd='mkdir -pv' # mkd: Create the directory and all parent directories, verbose mode.
|
|
110
|
+
alias mkdd='mkdir -pv $(date +%Y%m%d)' # mkdd: Create a directory with the current date.
|
|
111
|
+
alias mkgz='tar -cvzf' # mkgz: Create a temporary tar ball compressed with gzip.
|
|
112
|
+
alias mkh="make help" # mkh: Make help.
|
|
113
|
+
alias mkr="make run" # mkr: Make run.
|
|
114
|
+
alias mkt="make test" # mkt: Make test.
|
|
115
|
+
alias mktar='tar -cvf' # mktar: Create a temporary tarball.
|
|
116
|
+
alias mv='mv -vi' # mv: Move files interactively (ask before overwrite) and verbose.
|
|
117
|
+
alias mx='chmod a+x' # mx: Make executable.
|
|
118
|
+
alias nls='sudo lsof -i -P | grep LISTEN' # nls: Show only active network listeners.
|
|
119
|
+
alias now='date +"%T"' # now: Show the current time.
|
|
120
|
+
alias npmi='npm install ' # npmi: Install npm package.
|
|
121
|
+
alias npms='npm start ' # npms: Start npm package.
|
|
122
|
+
alias op='sudo lsof -i -P' # op: List of open ports.
|
|
123
|
+
alias p='pwd' # p: Shortcut for `pwd` which returns working directory name.
|
|
124
|
+
alias pa="clear && pwd && echo '' && ls && echo ''" # pa: Clear the screen, show the current directory, and list the files.
|
|
125
|
+
alias paa="clear && pwd && echo '' && ls -a && echo ''" # paa: Clear the screen, show the current directory, and list all files.
|
|
126
|
+
alias path='echo -e ${PATH//:/\\n}' # path: Display the $PATH variable on newlines.
|
|
127
|
+
alias pid='ps -f' # pid: Display the uid, pid, parent pid, recent CPU usage, process start time, controlling tty, elapsed CPU usage, and the associated command.
|
|
128
|
+
alias ping='ping -c 5' # ping: Limit Ping to 5 ECHO_REQUEST packets.
|
|
129
|
+
alias please='sudo -' # sudo: Execute a command as the superuser.
|
|
130
|
+
alias pn='pnpm' # pn: Shortcut to pnpm.
|
|
131
|
+
alias ports='netstat -tulan' # ports: List all listening ports.
|
|
132
|
+
alias poweroff="sudo /sbin/shutdown" # poweroff: Poweroff the system.
|
|
133
|
+
alias pp="clear && pwd" # pp: Clear the screen and show the current directory.
|
|
134
|
+
alias ps='ps auxwww' # kp: Getting full path of executables.
|
|
135
|
+
alias pt="clear && pwd && echo '' && tree ./ && echo ''" # pt: Clear the screen and show the current directory and tree.
|
|
136
|
+
alias q='quit' # q: Shortcut for the `exit` command.
|
|
137
|
+
alias qfind='find . -name ' # qfind: Quickly search for file.
|
|
138
|
+
alias quit='exit' # q: Shortcut for the `exit` command.
|
|
139
|
+
alias r=reload # r: Reload the shell.
|
|
140
|
+
alias reboot="sudo /sbin/reboot" # reboot: Reboot the system.
|
|
141
|
+
alias reload='exec $SHELL -l' # reload: Reload the shell.
|
|
142
|
+
alias rm='rm -vI' # rm: Prompts for every file before removing.
|
|
143
|
+
alias rr="rm -rf" # rr: Remove directory and all its contents.
|
|
144
|
+
alias rs='rsync -avz' # rs: Rsync with verbose and progress.
|
|
145
|
+
alias s='sudo' # s: Execute a command as the superuser.
|
|
146
|
+
alias shutdown='sudo shutdown -h now' # shutdown: Shutdown the system.
|
|
147
|
+
alias spd='sudo rm -rf /private/var/log/asl/*' # spd: Remove all log files in /private/var/log/asl.
|
|
148
|
+
alias srv='python3 -m http.server' # srv: Start a simple HTTP server.
|
|
149
|
+
alias svi='sudo vi' # svi: Run vi in sudo mode.
|
|
150
|
+
alias t='tail -f' # t: Prints the last 10 lines of a text or log file, and then waits for new additions to the file to print it in real time.
|
|
151
|
+
alias top='sudo btop' # top: Allows the user to interactively monitor the system's vital resources or server's processes in real time.
|
|
152
|
+
alias trash="rm -fr ~/.Trash" # trash: Remove all files in the trash.
|
|
153
|
+
alias tree='tree --dirsfirst' # tree: Display a directory tree.
|
|
154
|
+
alias unbz2='tar -xvjf' # unbz2: Extract a tarball compressed with bzip2.
|
|
155
|
+
alias undopush="git push -f origin HEAD^:master" # undopush: Undo the last push.
|
|
156
|
+
alias ungz='tar -xvzf' # ungz: Extract a tarball compressed with gzip.
|
|
157
|
+
alias untar='tar -xvf' # untar: Extract a tarball.
|
|
158
|
+
alias usage='du -ch | grep total' # usage: Grabs the disk usage in the current directory.
|
|
159
|
+
alias v='vim $(f)' # v: Edit a file.
|
|
160
|
+
alias v='vim' # e, edit, mate: Edit current file.
|
|
161
|
+
alias wget='wget -c' # wget: wget with resume.
|
|
162
|
+
alias wip='dig +short myip.opendns.com @resolver1.opendns.com' # wip: Get public IP address.
|
|
163
|
+
alias wk='date +%V' # wk: Show the current week number.
|
|
164
|
+
alias wth='curl https://wttr.in' # wth: Get the weather.
|
|
165
|
+
alias x='quit' # q: Shortcut for the `exit` command.
|
|
166
|
+
|
|
167
|
+
if [[ "$(uname || true)" = "Darwin" ]]; then
|
|
168
|
+
alias upd='
|
|
169
|
+
sudo softwareupdate -i -a;
|
|
170
|
+
pnpm i;
|
|
171
|
+
pnpm i yarn --global;
|
|
172
|
+
pnpm i npm --global;
|
|
173
|
+
pnpm i pnpm --global;
|
|
174
|
+
pnpm up;
|
|
175
|
+
brew cu --all;
|
|
176
|
+
brew doctor;
|
|
177
|
+
brew update;
|
|
178
|
+
brew upgrade;
|
|
179
|
+
brew cleanup;
|
|
180
|
+
mas upgrade;
|
|
181
|
+
sudo gem update;
|
|
182
|
+
sudo gem cleanup;
|
|
183
|
+
'
|
|
184
|
+
elif [[ "$(uname || true)" = "Linux" ]]; then
|
|
185
|
+
alias open="xdg-open >/dev/null 2>&1" # open: Open a file or URL in the user's preferred application.
|
|
186
|
+
alias pbcopy='xsel --clipboard --input' # pbcopy: Copy to clipboard.
|
|
187
|
+
alias pbpaste='xsel --clipboard --output' # pbpaste: Paste from clipboard.
|
|
188
|
+
alias upd='
|
|
189
|
+
sudo apt update;
|
|
190
|
+
sudo apt upgrade -y;
|
|
191
|
+
pnpm i;
|
|
192
|
+
pnpm i yarn --global;
|
|
193
|
+
pnpm i npm --global;
|
|
194
|
+
pnpm i pnpm --global;
|
|
195
|
+
pnpm up;
|
|
196
|
+
sudo gem update;
|
|
197
|
+
sudo gem cleanup;
|
|
198
|
+
'
|
|
199
|
+
fi
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
#!/usr/bin/env bash
|
|
2
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.457) - https://dotfiles.io
|
|
3
|
+
# Copyright (c) Sebastien Rousseau 2022. All rights reserved
|
|
4
|
+
# License: MIT
|
|
5
|
+
|
|
6
|
+
# π
Άπ
²π
»π
Ύππ
³ π
°π
»π
Έπ
°ππ
΄π - Google Cloud aliases.
|
|
7
|
+
# Sections:
|
|
8
|
+
#
|
|
9
|
+
# 1.0 Google Cloud Aliases.
|
|
10
|
+
# 1.1 Aliases to get going with the gcloud command-line tool.
|
|
11
|
+
# 1.2 Aliases to make the Cloud SDK your own; personalize your configuration with properties.
|
|
12
|
+
# 1.3 Aliases to grant and revoke authorization to Cloud SDK.
|
|
13
|
+
# 1.4 Aliases to configuring Cloud Identity & Access Management (IAM) preferences and service accounts.
|
|
14
|
+
# 1.5 Aliases to manage project access policies.
|
|
15
|
+
# 1.6 Aliases to manage containerized applications on Kubernetes.
|
|
16
|
+
# 1.7 Aliases to create, run, and manage VMs on Google infrastructure.
|
|
17
|
+
# 1.8 Aliases to build highly scalable applications on a fully managed serverless platform.
|
|
18
|
+
# 1.9 Aliases to commands that might come in handy.
|
|
19
|
+
#
|
|
20
|
+
# Copyright (c) Sebastien Rousseau 2022. All rights reserved
|
|
21
|
+
# Licensed under the MIT license
|
|
22
|
+
#
|
|
23
|
+
|
|
24
|
+
## ----------------------------------------------------------------------------
|
|
25
|
+
## 1.0 Google Cloud Aliases.
|
|
26
|
+
## ----------------------------------------------------------------------------
|
|
27
|
+
|
|
28
|
+
## ----------------------------------------------------------------------------
|
|
29
|
+
## 1.1 Aliases to get going with the gcloud command-line tool.
|
|
30
|
+
## ----------------------------------------------------------------------------
|
|
31
|
+
|
|
32
|
+
alias gcci='gcloud components install' # Install specific components.
|
|
33
|
+
alias gccsp='gcloud config set project' # Set a default Google Cloud project to work on.
|
|
34
|
+
alias gccu='gcloud components update' # Update your Cloud SDK to the latest version.
|
|
35
|
+
alias gci='gcloud init' # Initialize, authorize, and configure the gcloud tool.
|
|
36
|
+
alias gcinf='gcloud info' # Display current gcloud tool environment details.
|
|
37
|
+
alias gcv='gcloud version' # Display version and installed components.
|
|
38
|
+
|
|
39
|
+
## ----------------------------------------------------------------------------
|
|
40
|
+
## 1.2 Aliases to make the Cloud SDK your own; personalize your configuration with properties.
|
|
41
|
+
## ----------------------------------------------------------------------------
|
|
42
|
+
|
|
43
|
+
alias gccca='gcloud config configurations activate' # Switch to an existing named configuration.
|
|
44
|
+
alias gcccc='gcloud config configurations create' # Create a new named configuration.
|
|
45
|
+
alias gcccl='gcloud config configurations list' # Display a list of all available configurations.
|
|
46
|
+
alias gccgv='gcloud config get-value' # Fetch value of a Cloud SDK property.
|
|
47
|
+
alias gccl='gcloud config list' # Display all the properties for the current configuration.
|
|
48
|
+
alias gccs='gcloud config set' # Define a property (like compute/zone) for the current configuration.
|
|
49
|
+
|
|
50
|
+
## ----------------------------------------------------------------------------
|
|
51
|
+
## 1.3 Aliases to grant and revoke authorization to Cloud SDK.
|
|
52
|
+
## ----------------------------------------------------------------------------
|
|
53
|
+
|
|
54
|
+
alias gcaasa='gcloud auth activate-service-account' # Like gcloud auth login but with service account credentials.
|
|
55
|
+
alias gcacd='gcloud auth configure-docker' # Register the gcloud tool as a Docker credential helper.
|
|
56
|
+
alias gcal='gcloud auth list' # List all credentialed accounts.
|
|
57
|
+
alias gcal='gcloud auth login' # Authorize Google Cloud access for the gcloud tool with Google user credentials and set current account as active.
|
|
58
|
+
alias gcapat='gcloud auth print-access-token' # Display the current account's access token.
|
|
59
|
+
alias gcar='gcloud auth revoke' # Remove access credentials for an account.
|
|
60
|
+
|
|
61
|
+
## ----------------------------------------------------------------------------
|
|
62
|
+
## 1.4 Aliases to configuring Cloud Identity & Access Management (IAM) preferences and service accounts.
|
|
63
|
+
## ----------------------------------------------------------------------------
|
|
64
|
+
|
|
65
|
+
alias gciamk='gcloud iam service-accounts keys list' # List a service account's keys.
|
|
66
|
+
alias gciaml='gcloud iam list-grantable-roles' # List IAM grantable roles for a resource.
|
|
67
|
+
alias gciamp='gcloud iam service-accounts add-iam-policy-binding' # Add an IAM policy binding to a service account.
|
|
68
|
+
alias gciamr='gcloud iam roles create' # Create a custom role for a project or org.
|
|
69
|
+
alias gciams='gcloud iam service-accounts set-iam-policy' # Replace existing IAM policy binding.
|
|
70
|
+
alias gciamv='gcloud iam service-accounts create' # Create a service account for a project.
|
|
71
|
+
|
|
72
|
+
## ----------------------------------------------------------------------------
|
|
73
|
+
## 1.5 Aliases to manage project access policies.
|
|
74
|
+
## ----------------------------------------------------------------------------
|
|
75
|
+
|
|
76
|
+
alias gcpa='gcloud projects add-iam-policy-binding' # Add an IAM policy binding to a specified project.
|
|
77
|
+
alias gcpd='gcloud projects describe' # Display metadata for a project (including its ID).
|
|
78
|
+
|
|
79
|
+
## ----------------------------------------------------------------------------
|
|
80
|
+
## 1.6 Aliases to manage containerized applications on Kubernetes.
|
|
81
|
+
## ----------------------------------------------------------------------------
|
|
82
|
+
|
|
83
|
+
alias gcccc='gcloud container clusters create' # Create a cluster to run GKE containers.
|
|
84
|
+
alias gcccg='gcloud container clusters get-credentials' # Update kubeconfig to get kubectl to use a GKE cluster.
|
|
85
|
+
alias gcccl='gcloud container clusters list' # List clusters for running GKE containers.
|
|
86
|
+
alias gccil='gcloud container images list-tags' # List tag and digest metadata for a container image.
|
|
87
|
+
|
|
88
|
+
## ----------------------------------------------------------------------------
|
|
89
|
+
## 1.7 Aliases to create, run, and manage VMs on Google infrastructure.
|
|
90
|
+
## ----------------------------------------------------------------------------
|
|
91
|
+
|
|
92
|
+
alias gcpc='gcloud compute copy-files' # Copy files
|
|
93
|
+
alias gcpdown='gcloud compute instances stop' # Stop instance
|
|
94
|
+
alias gcpds='gcloud compute disks snapshot' # Create snapshot of persistent disks.
|
|
95
|
+
alias gcpid='gcloud compute instances describe' # Display a VM instance's details.
|
|
96
|
+
alias gcpil='gcloud compute instances list' # List all VM instances in a project.
|
|
97
|
+
alias gcprm='gcloud compute instances delete' # Delete instance
|
|
98
|
+
alias gcpsk='gcloud compute snapshots delete' # Delete a snapshot.
|
|
99
|
+
alias gcpssh='gcloud compute ssh' # Connect to a VM instance by using SSH.
|
|
100
|
+
alias gcpup='gcloud compute instances start' # Start instance.
|
|
101
|
+
alias gcpzl='gcloud compute zones list' # List Compute Engine zones.
|
|
102
|
+
|
|
103
|
+
## ----------------------------------------------------------------------------
|
|
104
|
+
## 1.8 Aliases to build highly scalable applications on a fully managed serverless platform.
|
|
105
|
+
## ----------------------------------------------------------------------------
|
|
106
|
+
|
|
107
|
+
alias gcapb='gcloud app browse' # Open the current app in a web browser.
|
|
108
|
+
alias gcapc='gcloud app create' # Create an App Engine app within your current project.
|
|
109
|
+
alias gcapd='gcloud app deploy' # Deploy your app's code and configuration to the App Engine server.
|
|
110
|
+
alias gcapl='gcloud app logs read' # Display the latest App Engine app logs.
|
|
111
|
+
alias gcapv='gcloud app versions list' # List all versions of all services deployed to the App Engine server.
|
|
112
|
+
|
|
113
|
+
## ----------------------------------------------------------------------------
|
|
114
|
+
## 1.9 Aliases to commands that might come in handy.
|
|
115
|
+
## ----------------------------------------------------------------------------
|
|
116
|
+
|
|
117
|
+
alias gckmsd='gcloud kms decrypt' # Decrypt ciphertext (to a plaintext file) using a Cloud Key Management Service (Cloud KMS) key.
|
|
118
|
+
alias gclll='gcloud logging logs list' # List your project's logs.
|
|
119
|
+
alias gcsqlb='gcloud sql backups describe' # Display info about a Cloud SQL instance backup.
|
|
120
|
+
alias gcsqle='gcloud sql export sql' # Export data from a Cloud SQL instance to a SQL file.
|
|
121
|
+
|