@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.
- package/README.md +268 -189
- package/{Makefile → dist/Makefile} +7 -8
- package/dist/bin/compile.sh +16 -0
- package/dist/bin/copy.sh +21 -0
- package/{bin → dist/bin}/dotfiles.sh +67 -32
- package/dist/filesizes.txt +176 -0
- package/{shell → dist/shell}/README.md +0 -0
- package/{shell → dist/shell}/aliases/default/default.aliases.sh +1 -1
- package/{shell → dist/shell}/aliases/gcloud/gcloud.aliases.sh +1 -1
- package/{shell → dist/shell}/aliases/heroku/heroku.aliases.sh +1 -1
- package/{shell → dist/shell}/aliases/jekyll/jekyll.aliases.sh +1 -1
- package/{shell → dist/shell}/aliases/pnpm/pnpm.aliases.sh +1 -1
- package/{shell → dist/shell}/aliases/subversion/subversion.aliases.sh +1 -1
- package/{shell → dist/shell}/aliases/tmux/tmux.aliases.sh +1 -1
- package/{shell → dist/shell}/aliases.sh +1 -1
- package/{shell/aliases/pnpm → dist/shell/configurations}/README.md +0 -0
- package/{shell → dist/shell}/configurations/bash/bashrc +2 -2
- package/{shell → dist/shell}/configurations/curl/cacert.pem +0 -0
- package/{shell → dist/shell}/configurations/curl/curlrc +1 -1
- package/{shell → dist/shell}/configurations/default/color.sh +1 -1
- package/{shell → dist/shell}/configurations/default/editor.sh +1 -1
- package/{shell → dist/shell}/configurations/default/prompt.sh +6 -6
- package/{shell → dist/shell}/configurations/inputrc/inputrc +2 -2
- package/{shell → dist/shell}/configurations/jshint/jshintrc +0 -0
- package/{shell → dist/shell}/configurations/profile/profile +1 -1
- package/{shell → dist/shell}/configurations/tmux/tmux +2 -2
- package/{shell → dist/shell}/configurations/vim/vimrc +1 -1
- package/{shell → dist/shell}/configurations/wget/wgetrc +1 -1
- package/{shell → dist/shell}/configurations/zsh/zshrc +12 -2
- package/{shell → dist/shell}/configurations.sh +1 -1
- package/{shell → dist/shell}/exit.sh +1 -1
- package/{shell/configurations → dist/shell/functions}/README.md +0 -0
- package/{shell → dist/shell}/functions/cdls.sh +1 -1
- package/{shell → dist/shell}/functions/curlheader.sh +1 -1
- package/{shell → dist/shell}/functions/curltime.sh +1 -1
- package/{shell → dist/shell}/functions/encode64.sh +1 -1
- package/{shell → dist/shell}/functions/environment.sh +8 -8
- package/{shell → dist/shell}/functions/extract.sh +2 -2
- package/{shell → dist/shell}/functions/filehead.sh +0 -0
- package/{shell → dist/shell}/functions/genpwd.sh +1 -1
- package/{shell → dist/shell}/functions/goto.sh +2 -2
- package/{shell → dist/shell}/functions/hidehiddenfiles.sh +1 -1
- package/{shell → dist/shell}/functions/hostinfo.sh +1 -1
- package/{shell → dist/shell}/functions/hstats.sh +1 -1
- package/{shell → dist/shell}/functions/httpdebug.sh +1 -1
- package/{shell → dist/shell}/functions/keygen.sh +4 -4
- package/{shell → dist/shell}/functions/last.sh +1 -1
- package/{shell → dist/shell}/functions/logout.sh +1 -1
- package/{shell → dist/shell}/functions/lowercase.sh +1 -1
- package/{shell → dist/shell}/functions/macos.sh +1 -1
- package/{shell → dist/shell}/functions/matrix.sh +1 -1
- package/{shell → dist/shell}/functions/mcd.sh +1 -1
- package/{shell → dist/shell}/functions/mount_read_only.sh +1 -1
- package/{shell → dist/shell}/functions/myproc.sh +2 -2
- package/{shell → dist/shell}/functions/prependpath.sh +1 -1
- package/{shell → dist/shell}/functions/ql.sh +1 -1
- package/{shell → dist/shell}/functions/rd.sh +1 -1
- package/{shell → dist/shell}/functions/remove_disk.sh +1 -1
- package/{shell → dist/shell}/functions/ren.sh +2 -2
- package/{shell → dist/shell}/functions/showhiddenfiles.sh +1 -1
- package/{shell → dist/shell}/functions/size.sh +1 -1
- package/{shell → dist/shell}/functions/stopwatch.sh +1 -1
- package/{shell → dist/shell}/functions/uppercase.sh +2 -2
- package/{shell → dist/shell}/functions/view-source.sh +1 -1
- package/{shell → dist/shell}/functions/vscode.sh +1 -1
- package/{shell → dist/shell}/functions/whoisport.sh +1 -1
- package/{shell → dist/shell}/functions/zipf.sh +1 -1
- package/{shell → dist/shell}/functions.sh +1 -1
- package/{shell → dist/shell}/history.sh +3 -6
- package/dist/shell/index.d.ts +2 -0
- package/dist/shell/index.d.ts.map +1 -0
- package/dist/shell/index.js +2 -0
- package/dist/shell/index.js.map +1 -0
- package/{shell → dist/shell}/paths/ant/ant.paths.sh +1 -1
- package/{shell → dist/shell}/paths/default/default.paths.sh +1 -1
- package/{shell → dist/shell}/paths/homebrew/homebrew.paths.sh +4 -1
- package/{shell → dist/shell}/paths/java/java.paths.sh +1 -1
- package/{shell → dist/shell}/paths/maven/maven.paths.sh +3 -2
- package/{shell → dist/shell}/paths/node/node.paths.sh +2 -2
- package/{shell → dist/shell}/paths/nvm/nvm.paths.sh +1 -1
- package/{shell → dist/shell}/paths/pnpm/pnpm.paths.sh +2 -2
- package/dist/shell/paths/python/python.paths.sh +29 -0
- package/{shell → dist/shell}/paths/ruby/ruby.paths.sh +1 -1
- package/{shell → dist/shell}/paths/tmux/tmux.paths.sh +3 -3
- package/{shell → dist/shell}/paths.sh +1 -1
- package/package.json +33 -27
- package/COPYRIGHT +0 -5
- package/index.js +0 -24
- package/pnpm-lock.yaml +0 -178
- package/pnpm-workspace.yaml +0 -2
- package/shell/aliases/README.md +0 -327
- package/shell/aliases/default/README.md +0 -0
- package/shell/aliases/gcloud/README.md +0 -117
- package/shell/aliases/git/README.md +0 -279
- package/shell/aliases/git/git.aliases.wip +0 -586
- package/shell/aliases/heroku/README.md +0 -457
- package/shell/aliases/jekyll/README.md +0 -32
- package/shell/aliases/subversion/README.md +0 -54
- package/shell/aliases/tmux/README.md +0 -0
- package/shell/functions/README.md +0 -3
- package/shell/functions/changediskpwd.sh +0 -19
- package/shell/functions/code.sh +0 -18
- package/shell/functions/countdown.sh +0 -33
- package/shell/functions/headers.sh +0 -4
- package/shell/functions/history-all.sh +0 -7
- package/shell/functions/print.sh +0 -13
- package/shell/functions/rm.sh +0 -13
- package/shell/functions/rps.sh +0 -103
- package/shell/functions/trash.sh +0 -13
- package/shell/functions/tree.sh +0 -13
- package/shell/functions/uuidgen.sh +0 -27
package/dist/bin/copy.sh
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
#!/usr/bin/env bash
|
|
2
|
+
# 🅳🅾🆃🅵🅸🅻🅴🆂 (v0.2.454) - https://dotfiles.io
|
|
3
|
+
# Copyright (c) Sebastien Rousseau 2022. All rights reserved
|
|
4
|
+
# License: MIT
|
|
5
|
+
|
|
6
|
+
## 🅲🅾🅿🆈 🅳🅾🆃🅵🅸🅻🅴🆂 - Copy dotfiles.
|
|
7
|
+
|
|
8
|
+
copy() {
|
|
9
|
+
pnpm run cp:bash &&
|
|
10
|
+
pnpm run cp:cert &&
|
|
11
|
+
pnpm run cp:curl &&
|
|
12
|
+
pnpm run cp:dirs &&
|
|
13
|
+
pnpm run cp:inpt &&
|
|
14
|
+
pnpm run cp:jsht &&
|
|
15
|
+
pnpm run cp:prof &&
|
|
16
|
+
pnpm run cp:tmux &&
|
|
17
|
+
pnpm run cp:vimr &&
|
|
18
|
+
pnpm run cp:wget &&
|
|
19
|
+
pnpm run cp:zshr
|
|
20
|
+
}
|
|
21
|
+
copy
|
|
@@ -1,38 +1,47 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
|
-
# 🅳🅾🆃🅵🅸🅻🅴🆂 (v0.2.
|
|
2
|
+
# 🅳🅾🆃🅵🅸🅻🅴🆂 (v0.2.454) - https://dotfiles.io
|
|
3
3
|
# Copyright (c) Sebastien Rousseau 2022. All rights reserved
|
|
4
4
|
# License: MIT
|
|
5
5
|
|
|
6
6
|
## 🆅🅰🆁🅸🅰🅱🅻🅴🆂 - Set variables.
|
|
7
|
-
BACKUPDIR="${HOME}/.
|
|
8
|
-
BIGreen='\033[1;92m'
|
|
9
|
-
BIRed='\033[1;91m'
|
|
10
|
-
DOTFILESDIR="${HOME}/.dotfiles"
|
|
11
|
-
DOWNLOADDIR="${HOME}/Downloads"
|
|
12
|
-
NC='\033[0m'
|
|
13
|
-
VERSION="0.2.
|
|
7
|
+
BACKUPDIR="${HOME}/.dotfiles_backup" # Backup directory.
|
|
8
|
+
BIGreen='\033[1;92m' # Green color.
|
|
9
|
+
BIRed='\033[1;91m' # Red color.
|
|
10
|
+
DOTFILESDIR="${HOME}/.dotfiles" # Location of dotfiles.
|
|
11
|
+
DOWNLOADDIR="${HOME}/Downloads" # Download directory.
|
|
12
|
+
NC='\033[0m' # Reset/No Color
|
|
13
|
+
VERSION="0.2.454" # Dotfiles Version number.
|
|
14
14
|
|
|
15
15
|
## 🅱🅰🅲🅺🆄🅿 - Backup existing files.
|
|
16
16
|
backup() {
|
|
17
|
-
echo "${BIRed}❭${NC} Creating a backup directory '${BIGreen}${
|
|
17
|
+
echo "${BIRed}❭${NC} Creating a backup directory '${BIGreen}${BACKUPDIR}${NC}'."
|
|
18
18
|
mkdir -p "${BACKUPDIR}"
|
|
19
19
|
|
|
20
20
|
echo "${BIRed}❭${NC} Backing up existing dotfiles in '${BIGreen}${BACKUPDIR}${NC}'..."
|
|
21
21
|
# File list (use trailing slash for directories)
|
|
22
22
|
FILES="
|
|
23
|
+
.alias
|
|
24
|
+
.bash_aliases
|
|
25
|
+
.bash_profile
|
|
26
|
+
.bash_prompt
|
|
23
27
|
.bashrc
|
|
24
28
|
.curlrc
|
|
29
|
+
.dir_colors
|
|
30
|
+
.exports
|
|
31
|
+
.functions
|
|
25
32
|
.gitattributes
|
|
26
33
|
.gitconfig
|
|
27
34
|
.gitignore
|
|
28
35
|
.gitmessage
|
|
29
36
|
.inputrc
|
|
30
37
|
.npmrc
|
|
38
|
+
.path
|
|
31
39
|
.profile
|
|
32
40
|
.tmux.conf
|
|
33
41
|
.vimrc
|
|
34
42
|
.wgetrc
|
|
35
43
|
.yarnrc
|
|
44
|
+
.zshenv
|
|
36
45
|
.zshrc
|
|
37
46
|
cacert.pem
|
|
38
47
|
"
|
|
@@ -46,47 +55,64 @@ backup() {
|
|
|
46
55
|
done
|
|
47
56
|
}
|
|
48
57
|
|
|
49
|
-
##
|
|
58
|
+
## 🅲🅻🅴🅰🅽 - Clean up.
|
|
59
|
+
clean() {
|
|
60
|
+
echo "${BIRed}❭${NC} Cleaning up..."
|
|
61
|
+
rm -rfi "${DOTFILESDIR}"
|
|
62
|
+
rm -rfi "${BACKUPDIR}"
|
|
63
|
+
rm -rfi "${DOWNLOADDIR}"/dotfiles*
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
## 🅳🅾🆆🅽🅻🅾🅰🅳 - Download the dotfiles on your system.
|
|
50
67
|
download() {
|
|
51
|
-
echo "${BIRed}❭${NC}
|
|
68
|
+
echo "${BIRed}❭${NC} Downloading ${BIGreen}Dotfiles v${VERSION}${NC} on your system."
|
|
52
69
|
# wget https://github.com/sebastienrousseau/dotfiles/archive/refs/tags/v"${VERSION}".zip -N -O "${DOWNLOADDIR}/v${VERSION}.zip"
|
|
53
70
|
curl https://github.com/sebastienrousseau/dotfiles/archive/refs/tags/v"${VERSION}".zip -o "${DOWNLOADDIR}"/v"${VERSION}".zip
|
|
54
71
|
}
|
|
55
72
|
|
|
56
|
-
## 🆄🅽🅿🅰🅲🅺 - Unpack
|
|
73
|
+
## 🆄🅽🅿🅰🅲🅺 - Unpack the dotfiles on your system.
|
|
57
74
|
unpack() {
|
|
58
|
-
echo "${BIRed}❭${NC} Unpacking ${BIGreen}Dotfiles v${VERSION}${NC}"
|
|
75
|
+
echo "${BIRed}❭${NC} Unpacking ${BIGreen}Dotfiles v${VERSION}${NC}."
|
|
59
76
|
unzip -qq -u "${DOWNLOADDIR}"/v"${VERSION}".zip -d "${DOWNLOADDIR}"
|
|
60
77
|
mv "${DOWNLOADDIR}/dotfiles-${VERSION}/shell/" "${DOTFILESDIR}"
|
|
61
78
|
rm "${DOWNLOADDIR}/v${VERSION}.zip"
|
|
62
79
|
}
|
|
63
80
|
|
|
64
|
-
##
|
|
65
|
-
|
|
66
|
-
echo "${BIRed}❭${NC}
|
|
81
|
+
## 🅿🆁🅴🅿🅰🆁🅴 - Prepare the dotfiles on your system.
|
|
82
|
+
prepare() {
|
|
83
|
+
echo "${BIRed}❭${NC} Preparing the dotfiles on your system."
|
|
67
84
|
backup &&
|
|
68
85
|
download &&
|
|
69
86
|
unpack &&
|
|
70
87
|
copy
|
|
71
88
|
}
|
|
72
89
|
|
|
73
|
-
## 🅲🅾🅿🆈 - Copy dotfiles.
|
|
90
|
+
## 🅲🅾🅿🆈 - Copy the dotfiles on your system.
|
|
74
91
|
copy() {
|
|
75
|
-
# echo "${BIRed}❭${NC}
|
|
92
|
+
# echo "${BIRed}❭${NC} Copying the Dotfiles on your system."
|
|
76
93
|
# cd "${DOTFILESDIR}" &&
|
|
77
94
|
|
|
78
|
-
echo "${BIRed}❭${NC}
|
|
95
|
+
echo "${BIRed}❭${NC} Copying the Dotfiles on your system."
|
|
96
|
+
echo "${BIRed}❭${NC} Copying ${BIGreen}.bashrc${NC}"
|
|
79
97
|
cp -f "${DOTFILESDIR}"/shell/configurations/bash/bashrc "${HOME}"/.bashrc &&
|
|
98
|
+
echo "${BIRed}❭${NC} Copying ${BIGreen}cacert.pem${NC}"
|
|
80
99
|
cp -f "${DOTFILESDIR}"/shell/configurations/curl/cacert.pem "${HOME}"/cacert.pem &&
|
|
100
|
+
echo "${BIRed}❭${NC} Copying ${BIGreen}.curlrc${NC}"
|
|
81
101
|
cp -f "${DOTFILESDIR}"/shell/configurations/curl/curlrc "${HOME}"/.curlrc &&
|
|
102
|
+
echo "${BIRed}❭${NC} Copying ${BIGreen}.jshintrc${NC}"
|
|
82
103
|
cp -f "${DOTFILESDIR}"/shell/configurations/jshint/jshintrc "${HOME}"/.jshintrc &&
|
|
104
|
+
echo "${BIRed}❭${NC} Copying ${BIGreen}.profile${NC}"
|
|
83
105
|
cp -f "${DOTFILESDIR}"/shell/configurations/profile/profile "${HOME}"/.profile &&
|
|
106
|
+
echo "${BIRed}❭${NC} Copying ${BIGreen}.tmux.conf${NC}"
|
|
84
107
|
cp -f "${DOTFILESDIR}"/shell/configurations/tmux/tmux "${HOME}"/.tmux.conf &&
|
|
108
|
+
echo "${BIRed}❭${NC} Copying ${BIGreen}.vimrc${NC}"
|
|
85
109
|
cp -f "${DOTFILESDIR}"/shell/configurations/vim/vimrc "${HOME}"/.vimrc &&
|
|
110
|
+
echo "${BIRed}❭${NC} Copying ${BIGreen}.wgetrc${NC}"
|
|
86
111
|
cp -f "${DOTFILESDIR}"/shell/configurations/wget/wgetrc "${HOME}"/.wgetrc &&
|
|
112
|
+
echo "${BIRed}❭${NC} Copying ${BIGreen}.zshrc${NC}"
|
|
87
113
|
cp -f "${DOTFILESDIR}"/shell/configurations/zsh/zshrc "${HOME}"/.zshrc
|
|
88
114
|
|
|
89
|
-
echo "${BIRed}❭${NC} Cleaning up
|
|
115
|
+
echo "${BIRed}❭${NC} Cleaning up installation files."
|
|
90
116
|
rm -Rf "${DOTFILESDIR}"/shell/configurations/bash &&
|
|
91
117
|
rm -Rf "${DOTFILESDIR}"/shell/configurations/curl &&
|
|
92
118
|
rm -Rf "${DOTFILESDIR}"/shell/configurations/jshint &&
|
|
@@ -96,13 +122,12 @@ copy() {
|
|
|
96
122
|
rm -Rf "${DOTFILESDIR}"/shell/configurations/wget &&
|
|
97
123
|
rm -Rf "${DOTFILESDIR}"/shell/configurations/zsh &&
|
|
98
124
|
|
|
99
|
-
echo "${BIRed}❭${NC} ${BIGreen}Dotfiles v${VERSION}${NC} installed."
|
|
100
|
-
${SHELL}
|
|
101
|
-
|
|
125
|
+
echo "${BIRed}❭${NC} ${BIGreen}Dotfiles v${VERSION}${NC} has been installed on your system."
|
|
102
126
|
}
|
|
103
127
|
|
|
104
128
|
## 🅷🅴🅻🅿 🅼🅴🅽🆄 - Display help menu.
|
|
105
129
|
help() {
|
|
130
|
+
clear
|
|
106
131
|
cat <<EOF
|
|
107
132
|
|
|
108
133
|
┌───────────────────────────────────────────┐
|
|
@@ -113,16 +138,23 @@ help() {
|
|
|
113
138
|
|
|
114
139
|
USAGE:
|
|
115
140
|
|
|
116
|
-
dotfiles
|
|
141
|
+
dotfiles [COMMAND]
|
|
117
142
|
|
|
118
143
|
COMMANDS:
|
|
119
144
|
|
|
120
|
-
backup - Backup
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
145
|
+
backup - Backup existing dotfiles from the '${HOME}' directory
|
|
146
|
+
clean - Removes any previous setup directories
|
|
147
|
+
copy - Copy the new dotfiles files to your '${HOME}' directory
|
|
148
|
+
download - Download the latest Dotfiles (v${VERSION})
|
|
149
|
+
prepare - Run the full installation process
|
|
150
|
+
unpack - Unpack the Dotfiles
|
|
151
|
+
help - Show the help menu
|
|
152
|
+
|
|
153
|
+
DOCUMENTATION:
|
|
154
|
+
website - https://dotfiles.io
|
|
155
|
+
|
|
156
|
+
LICENSE:
|
|
157
|
+
This project is licensed under the MIT License.
|
|
126
158
|
|
|
127
159
|
EOF
|
|
128
160
|
}
|
|
@@ -131,6 +163,9 @@ EOF
|
|
|
131
163
|
if [ "$1" = "backup" ]; then
|
|
132
164
|
echo "${BIRed}❭${NC} Backing up.${NC}"
|
|
133
165
|
backup
|
|
166
|
+
elif [ "$1" = "clean" ]; then
|
|
167
|
+
echo "${BIRed}❭${NC} Removes any previous setup directories.${NC}"
|
|
168
|
+
clean
|
|
134
169
|
elif [ "$1" = "copy" ]; then
|
|
135
170
|
echo "${BIRed}❭${NC} Copying dotfiles.${NC}"
|
|
136
171
|
copy
|
|
@@ -139,9 +174,9 @@ elif [ "$1" = "download" ]; then
|
|
|
139
174
|
download
|
|
140
175
|
elif [ "$1" = "help" ]; then
|
|
141
176
|
help
|
|
142
|
-
elif [ "$1" = "
|
|
177
|
+
elif [ "$1" = "prepare" ]; then
|
|
143
178
|
echo "${BIRed}❭${NC} Installing ${BIGreen}Dotfiles v${VERSION}${NC}."
|
|
144
|
-
|
|
179
|
+
prepare
|
|
145
180
|
elif [ "$1" = "unpack" ]; then
|
|
146
181
|
echo "${BIRed}❭${NC} Unpacking ${BIGreen}Dotfiles v${VERSION}${NC}."
|
|
147
182
|
unpack
|
|
@@ -0,0 +1,176 @@
|
|
|
1
|
+
┌────────────────────────────────────────────────┬───────────┬────────────────┐
|
|
2
|
+
│ File │ Size │ Size (gzipped) │
|
|
3
|
+
├────────────────────────────────────────────────┼───────────┼────────────────┤
|
|
4
|
+
│ Makefile │ 1.64 kB │ 648 B │
|
|
5
|
+
├────────────────────────────────────────────────┼───────────┼────────────────┤
|
|
6
|
+
│ filesizes.txt │ 0 B │ 20 B │
|
|
7
|
+
├────────────────────────────────────────────────┼───────────┼────────────────┤
|
|
8
|
+
│ bin/compile.sh │ 402 B │ 260 B │
|
|
9
|
+
├────────────────────────────────────────────────┼───────────┼────────────────┤
|
|
10
|
+
│ bin/copy.sh │ 491 B │ 272 B │
|
|
11
|
+
├────────────────────────────────────────────────┼───────────┼────────────────┤
|
|
12
|
+
│ bin/dotfiles.sh │ 6.51 kB │ 1.79 kB │
|
|
13
|
+
├────────────────────────────────────────────────┼───────────┼────────────────┤
|
|
14
|
+
│ shell/README.md │ 86 B │ 93 B │
|
|
15
|
+
├────────────────────────────────────────────────┼───────────┼────────────────┤
|
|
16
|
+
│ shell/aliases.sh │ 349 B │ 288 B │
|
|
17
|
+
├────────────────────────────────────────────────┼───────────┼────────────────┤
|
|
18
|
+
│ shell/configurations.sh │ 354 B │ 289 B │
|
|
19
|
+
├────────────────────────────────────────────────┼───────────┼────────────────┤
|
|
20
|
+
│ shell/exit.sh │ 288 B │ 260 B │
|
|
21
|
+
├────────────────────────────────────────────────┼───────────┼────────────────┤
|
|
22
|
+
│ shell/functions.sh │ 326 B │ 272 B │
|
|
23
|
+
├────────────────────────────────────────────────┼───────────┼────────────────┤
|
|
24
|
+
│ shell/history.sh │ 6.2 kB │ 2.42 kB │
|
|
25
|
+
├────────────────────────────────────────────────┼───────────┼────────────────┤
|
|
26
|
+
│ shell/index.d.ts │ 46 B │ 66 B │
|
|
27
|
+
├────────────────────────────────────────────────┼───────────┼────────────────┤
|
|
28
|
+
│ shell/index.d.ts.map │ 109 B │ 109 B │
|
|
29
|
+
├────────────────────────────────────────────────┼───────────┼────────────────┤
|
|
30
|
+
│ shell/index.js │ 98 B │ 103 B │
|
|
31
|
+
├────────────────────────────────────────────────┼───────────┼────────────────┤
|
|
32
|
+
│ shell/index.js.map │ 255 B │ 179 B │
|
|
33
|
+
├────────────────────────────────────────────────┼───────────┼────────────────┤
|
|
34
|
+
│ shell/paths.sh │ 333 B │ 283 B │
|
|
35
|
+
├────────────────────────────────────────────────┼───────────┼────────────────┤
|
|
36
|
+
│ shell/aliases/default/default.aliases.sh │ 15.2 kB │ 4.39 kB │
|
|
37
|
+
├────────────────────────────────────────────────┼───────────┼────────────────┤
|
|
38
|
+
│ shell/aliases/gcloud/gcloud.aliases.sh │ 8.32 kB │ 2.01 kB │
|
|
39
|
+
├────────────────────────────────────────────────┼───────────┼────────────────┤
|
|
40
|
+
│ shell/aliases/heroku/heroku.aliases.sh │ 32.6 kB │ 7.05 kB │
|
|
41
|
+
├────────────────────────────────────────────────┼───────────┼────────────────┤
|
|
42
|
+
│ shell/aliases/jekyll/jekyll.aliases.sh │ 1.95 kB │ 586 B │
|
|
43
|
+
├────────────────────────────────────────────────┼───────────┼────────────────┤
|
|
44
|
+
│ shell/aliases/pnpm/pnpm.aliases.sh │ 1.21 kB │ 476 B │
|
|
45
|
+
├────────────────────────────────────────────────┼───────────┼────────────────┤
|
|
46
|
+
│ shell/aliases/subversion/subversion.aliases.sh │ 3.83 kB │ 1.38 kB │
|
|
47
|
+
├────────────────────────────────────────────────┼───────────┼────────────────┤
|
|
48
|
+
│ shell/aliases/tmux/tmux.aliases.sh │ 765 B │ 362 B │
|
|
49
|
+
├────────────────────────────────────────────────┼───────────┼────────────────┤
|
|
50
|
+
│ shell/configurations/README.md │ 86 B │ 93 B │
|
|
51
|
+
├────────────────────────────────────────────────┼───────────┼────────────────┤
|
|
52
|
+
│ shell/configurations/bash/bashrc │ 2.01 kB │ 786 B │
|
|
53
|
+
├────────────────────────────────────────────────┼───────────┼────────────────┤
|
|
54
|
+
│ shell/configurations/curl/cacert.pem │ 222 kB │ 127 kB │
|
|
55
|
+
├────────────────────────────────────────────────┼───────────┼────────────────┤
|
|
56
|
+
│ shell/configurations/curl/curlrc │ 1.79 kB │ 1.03 kB │
|
|
57
|
+
├────────────────────────────────────────────────┼───────────┼────────────────┤
|
|
58
|
+
│ shell/configurations/default/color.sh │ 469 B │ 352 B │
|
|
59
|
+
├────────────────────────────────────────────────┼───────────┼────────────────┤
|
|
60
|
+
│ shell/configurations/default/editor.sh │ 381 B │ 278 B │
|
|
61
|
+
├────────────────────────────────────────────────┼───────────┼────────────────┤
|
|
62
|
+
│ shell/configurations/default/prompt.sh │ 1.12 kB │ 595 B │
|
|
63
|
+
├────────────────────────────────────────────────┼───────────┼────────────────┤
|
|
64
|
+
│ shell/configurations/inputrc/inputrc │ 1.25 kB │ 573 B │
|
|
65
|
+
├────────────────────────────────────────────────┼───────────┼────────────────┤
|
|
66
|
+
│ shell/configurations/jshint/jshintrc │ 642 B │ 263 B │
|
|
67
|
+
├────────────────────────────────────────────────┼───────────┼────────────────┤
|
|
68
|
+
│ shell/configurations/profile/profile │ 1.11 kB │ 581 B │
|
|
69
|
+
├────────────────────────────────────────────────┼───────────┼────────────────┤
|
|
70
|
+
│ shell/configurations/tmux/tmux │ 7.7 kB │ 2.09 kB │
|
|
71
|
+
├────────────────────────────────────────────────┼───────────┼────────────────┤
|
|
72
|
+
│ shell/configurations/vim/vimrc │ 4.26 kB │ 1.14 kB │
|
|
73
|
+
├────────────────────────────────────────────────┼───────────┼────────────────┤
|
|
74
|
+
│ shell/configurations/wget/wgetrc │ 1.31 kB │ 793 B │
|
|
75
|
+
├────────────────────────────────────────────────┼───────────┼────────────────┤
|
|
76
|
+
│ shell/configurations/zsh/zshrc │ 2.2 kB │ 935 B │
|
|
77
|
+
├────────────────────────────────────────────────┼───────────┼────────────────┤
|
|
78
|
+
│ shell/functions/README.md │ 86 B │ 93 B │
|
|
79
|
+
├────────────────────────────────────────────────┼───────────┼────────────────┤
|
|
80
|
+
│ shell/functions/cdls.sh │ 520 B │ 393 B │
|
|
81
|
+
├────────────────────────────────────────────────┼───────────┼────────────────┤
|
|
82
|
+
│ shell/functions/curlheader.sh │ 668 B │ 375 B │
|
|
83
|
+
├────────────────────────────────────────────────┼───────────┼────────────────┤
|
|
84
|
+
│ shell/functions/curltime.sh │ 1.19 kB │ 525 B │
|
|
85
|
+
├────────────────────────────────────────────────┼───────────┼────────────────┤
|
|
86
|
+
│ shell/functions/encode64.sh │ 584 B │ 336 B │
|
|
87
|
+
├────────────────────────────────────────────────┼───────────┼────────────────┤
|
|
88
|
+
│ shell/functions/environment.sh │ 877 B │ 414 B │
|
|
89
|
+
├────────────────────────────────────────────────┼───────────┼────────────────┤
|
|
90
|
+
│ shell/functions/extract.sh │ 796 B │ 462 B │
|
|
91
|
+
├────────────────────────────────────────────────┼───────────┼────────────────┤
|
|
92
|
+
│ shell/functions/filehead.sh │ 139 B │ 127 B │
|
|
93
|
+
├────────────────────────────────────────────────┼───────────┼────────────────┤
|
|
94
|
+
│ shell/functions/genpwd.sh │ 537 B │ 356 B │
|
|
95
|
+
├────────────────────────────────────────────────┼───────────┼────────────────┤
|
|
96
|
+
│ shell/functions/goto.sh │ 342 B │ 287 B │
|
|
97
|
+
├────────────────────────────────────────────────┼───────────┼────────────────┤
|
|
98
|
+
│ shell/functions/hidehiddenfiles.sh │ 400 B │ 295 B │
|
|
99
|
+
├────────────────────────────────────────────────┼───────────┼────────────────┤
|
|
100
|
+
│ shell/functions/hostinfo.sh │ 551 B │ 378 B │
|
|
101
|
+
├────────────────────────────────────────────────┼───────────┼────────────────┤
|
|
102
|
+
│ shell/functions/hstats.sh │ 410 B │ 331 B │
|
|
103
|
+
├────────────────────────────────────────────────┼───────────┼────────────────┤
|
|
104
|
+
│ shell/functions/httpdebug.sh │ 439 B │ 316 B │
|
|
105
|
+
├────────────────────────────────────────────────┼───────────┼────────────────┤
|
|
106
|
+
│ shell/functions/keygen.sh │ 553 B │ 378 B │
|
|
107
|
+
├────────────────────────────────────────────────┼───────────┼────────────────┤
|
|
108
|
+
│ shell/functions/last.sh │ 254 B │ 232 B │
|
|
109
|
+
├────────────────────────────────────────────────┼───────────┼────────────────┤
|
|
110
|
+
│ shell/functions/logout.sh │ 310 B │ 264 B │
|
|
111
|
+
├────────────────────────────────────────────────┼───────────┼────────────────┤
|
|
112
|
+
│ shell/functions/lowercase.sh │ 860 B │ 491 B │
|
|
113
|
+
├────────────────────────────────────────────────┼───────────┼────────────────┤
|
|
114
|
+
│ shell/functions/macos.sh │ 2.42 kB │ 1.2 kB │
|
|
115
|
+
├────────────────────────────────────────────────┼───────────┼────────────────┤
|
|
116
|
+
│ shell/functions/matrix.sh │ 659 B │ 509 B │
|
|
117
|
+
├────────────────────────────────────────────────┼───────────┼────────────────┤
|
|
118
|
+
│ shell/functions/mcd.sh │ 451 B │ 352 B │
|
|
119
|
+
├────────────────────────────────────────────────┼───────────┼────────────────┤
|
|
120
|
+
│ shell/functions/mount_read_only.sh │ 318 B │ 265 B │
|
|
121
|
+
├────────────────────────────────────────────────┼───────────┼────────────────┤
|
|
122
|
+
│ shell/functions/myproc.sh │ 298 B │ 263 B │
|
|
123
|
+
├────────────────────────────────────────────────┼───────────┼────────────────┤
|
|
124
|
+
│ shell/functions/prependpath.sh │ 728 B │ 321 B │
|
|
125
|
+
├────────────────────────────────────────────────┼───────────┼────────────────┤
|
|
126
|
+
│ shell/functions/ql.sh │ 263 B │ 247 B │
|
|
127
|
+
├────────────────────────────────────────────────┼───────────┼────────────────┤
|
|
128
|
+
│ shell/functions/rd.sh │ 429 B │ 348 B │
|
|
129
|
+
├────────────────────────────────────────────────┼───────────┼────────────────┤
|
|
130
|
+
│ shell/functions/remove_disk.sh │ 245 B │ 224 B │
|
|
131
|
+
├────────────────────────────────────────────────┼───────────┼────────────────┤
|
|
132
|
+
│ shell/functions/ren.sh │ 277 B │ 246 B │
|
|
133
|
+
├────────────────────────────────────────────────┼───────────┼────────────────┤
|
|
134
|
+
│ shell/functions/showhiddenfiles.sh │ 401 B │ 295 B │
|
|
135
|
+
├────────────────────────────────────────────────┼───────────┼────────────────┤
|
|
136
|
+
│ shell/functions/size.sh │ 366 B │ 308 B │
|
|
137
|
+
├────────────────────────────────────────────────┼───────────┼────────────────┤
|
|
138
|
+
│ shell/functions/stopwatch.sh │ 350 B │ 286 B │
|
|
139
|
+
├────────────────────────────────────────────────┼───────────┼────────────────┤
|
|
140
|
+
│ shell/functions/uppercase.sh │ 848 B │ 480 B │
|
|
141
|
+
├────────────────────────────────────────────────┼───────────┼────────────────┤
|
|
142
|
+
│ shell/functions/view-source.sh │ 352 B │ 296 B │
|
|
143
|
+
├────────────────────────────────────────────────┼───────────┼────────────────┤
|
|
144
|
+
│ shell/functions/vscode.sh │ 653 B │ 405 B │
|
|
145
|
+
├────────────────────────────────────────────────┼───────────┼────────────────┤
|
|
146
|
+
│ shell/functions/whoisport.sh │ 368 B │ 298 B │
|
|
147
|
+
├────────────────────────────────────────────────┼───────────┼────────────────┤
|
|
148
|
+
│ shell/functions/zipf.sh │ 409 B │ 324 B │
|
|
149
|
+
├────────────────────────────────────────────────┼───────────┼────────────────┤
|
|
150
|
+
│ shell/paths/ant/ant.paths.sh │ 461 B │ 333 B │
|
|
151
|
+
├────────────────────────────────────────────────┼───────────┼────────────────┤
|
|
152
|
+
│ shell/paths/default/default.paths.sh │ 867 B │ 328 B │
|
|
153
|
+
├────────────────────────────────────────────────┼───────────┼────────────────┤
|
|
154
|
+
│ shell/paths/homebrew/homebrew.paths.sh │ 879 B │ 523 B │
|
|
155
|
+
├────────────────────────────────────────────────┼───────────┼────────────────┤
|
|
156
|
+
│ shell/paths/java/java.paths.sh │ 661 B │ 453 B │
|
|
157
|
+
├────────────────────────────────────────────────┼───────────┼────────────────┤
|
|
158
|
+
│ shell/paths/maven/maven.paths.sh │ 556 B │ 371 B │
|
|
159
|
+
├────────────────────────────────────────────────┼───────────┼────────────────┤
|
|
160
|
+
│ shell/paths/node/node.paths.sh │ 448 B │ 335 B │
|
|
161
|
+
├────────────────────────────────────────────────┼───────────┼────────────────┤
|
|
162
|
+
│ shell/paths/nvm/nvm.paths.sh │ 863 B │ 400 B │
|
|
163
|
+
├────────────────────────────────────────────────┼───────────┼────────────────┤
|
|
164
|
+
│ shell/paths/pnpm/pnpm.paths.sh │ 439 B │ 316 B │
|
|
165
|
+
├────────────────────────────────────────────────┼───────────┼────────────────┤
|
|
166
|
+
│ shell/paths/python/python.paths.sh │ 811 B │ 456 B │
|
|
167
|
+
├────────────────────────────────────────────────┼───────────┼────────────────┤
|
|
168
|
+
│ shell/paths/ruby/ruby.paths.sh │ 664 B │ 396 B │
|
|
169
|
+
├────────────────────────────────────────────────┼───────────┼────────────────┤
|
|
170
|
+
│ shell/paths/tmux/tmux.paths.sh │ 451 B │ 326 B │
|
|
171
|
+
├────────────────────────────────────────────────┼───────────┼────────────────┤
|
|
172
|
+
├────────────────────────────────────────────────┼───────────┼────────────────┤
|
|
173
|
+
│ Total files: 84 │ 355 kB │ 177 kB │
|
|
174
|
+
└────────────────────────────────────────────────┴───────────┴────────────────┘
|
|
175
|
+
|
|
176
|
+
|
|
File without changes
|
|
File without changes
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
|
-
# 🅳🅾🆃🅵🅸🅻🅴🆂 (v0.2.
|
|
2
|
+
# 🅳🅾🆃🅵🅸🅻🅴🆂 (v0.2.454) - https://dotfiles.io
|
|
3
3
|
# Copyright (c) Sebastien Rousseau 2022. All rights reserved
|
|
4
4
|
# License: MIT
|
|
5
5
|
|
|
@@ -15,7 +15,7 @@ USER=$(whoami) # current user name.
|
|
|
15
15
|
|
|
16
16
|
## 🅴🆇🅿🅾🆁🆃🆂 - Export the variables.
|
|
17
17
|
export ARCHFLAGS="-arch ${OS_ARCH}" # archflags for the current machine.
|
|
18
|
-
export DOTFILES_VERSION='0.2.
|
|
18
|
+
export DOTFILES_VERSION='0.2.454' # version of the dotfiles.
|
|
19
19
|
export DOTFILES="${HOME}"/.dotfiles/shell # path to the cross plaform dotfiles.
|
|
20
20
|
export HOSTNAME=${HOSTNAME} # hostname of the machine.
|
|
21
21
|
export INPUTRC=${INPUTRC} # set INPUTRC (so that .inputrc is respected)
|
|
File without changes
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
|
-
# 🅳🅾🆃🅵🅸🅻🅴🆂 (v0.2.
|
|
2
|
+
# 🅳🅾🆃🅵🅸🅻🅴🆂 (v0.2.454) - https://dotfiles.io
|
|
3
3
|
# Copyright (c) Sebastien Rousseau 2022. All rights reserved
|
|
4
4
|
# License: MIT
|
|
5
5
|
|
|
@@ -15,15 +15,15 @@ if [[ ${TERM} != *-256color ]] && [[ ${TERM} != alacritty* ]] && [[ ${TERM} != *
|
|
|
15
15
|
fi
|
|
16
16
|
|
|
17
17
|
if [[ -n "${BASH_VERSION}" ]]; then
|
|
18
|
-
cyan='\[\033[1;
|
|
19
|
-
green='\[\033[1;
|
|
20
|
-
|
|
18
|
+
cyan='\[\033[1;96m\]'
|
|
19
|
+
green='\[\033[1;92m\]'
|
|
20
|
+
purple='\[\033[1;95m\]'
|
|
21
21
|
reset='\[\033[0m\]'
|
|
22
22
|
|
|
23
23
|
if [[ "${OSTYPE}" == "darwin"* ]]; then
|
|
24
|
-
PS1=" $(uname)${
|
|
24
|
+
PS1=" $(uname)${purple} ❭${reset} ${green} \w ${reset} ${cyan}$ ${reset}"
|
|
25
25
|
else
|
|
26
|
-
PS1=" 🐧 $(uname)${
|
|
26
|
+
PS1=" 🐧 $(uname)${purple} ❭${reset} ${green} \w ${reset} ${cyan}$ ${reset}"
|
|
27
27
|
fi
|
|
28
28
|
export PS1
|
|
29
29
|
elif [[ -n "${ZSH_VERSION}" ]]; then
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# 🅳🅾🆃🅵🅸🅻🅴🆂 (v0.2.
|
|
1
|
+
# 🅳🅾🆃🅵🅸🅻🅴🆂 (v0.2.454) - https://dotfiles.io
|
|
2
2
|
# Copyright (c) Sebastien Rousseau 2022. All rights reserved
|
|
3
3
|
# License: MIT
|
|
4
4
|
|
|
@@ -8,7 +8,7 @@ set colored-stats On # Color the completion stats
|
|
|
8
8
|
set completion-ignore-case on # Ignore case when completing
|
|
9
9
|
set completion-prefix-display-length 1 # Show the first character of the common prefix
|
|
10
10
|
set completion-query-items 200 # Show all completions
|
|
11
|
-
set expand-tilde
|
|
11
|
+
set expand-tilde Off # Expand ~ to $HOME
|
|
12
12
|
set horizontal-scroll-mode Off # Disable horizontal scrolling
|
|
13
13
|
set mark-directories on # Mark directories with a slash
|
|
14
14
|
set mark-modified-lines on # Mark modified lines with a *
|
|
File without changes
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# 🅳🅾🆃🅵🅸🅻🅴🆂 (v0.2.
|
|
1
|
+
# 🅳🅾🆃🅵🅸🅻🅴🆂 (v0.2.454) - https://dotfiles.io
|
|
2
2
|
# Copyright (c) Sebastien Rousseau 2022. All rights reserved
|
|
3
3
|
# License: MIT
|
|
4
4
|
|
|
@@ -68,7 +68,7 @@ set -g history-limit 102400 # increase h
|
|
|
68
68
|
set -g message-style "bg=#14222A, fg=#D0D3D5" # Mirage blue and Iron grey
|
|
69
69
|
set -g set-clipboard on # copy to system clipboard
|
|
70
70
|
set -g status-left-length 400 # status left length
|
|
71
|
-
set -g status-right "#[bg=#027bff] #(whoami)@#h #[bg=red] %
|
|
71
|
+
set -g status-right "#[bg=#027bff] #(whoami)@#h #[bg=red] %_d %B %I:%M%p " # status right
|
|
72
72
|
set -g status-right-length 600 # status right length
|
|
73
73
|
set -g status-style "bg=#14222A, fg=#D0D3D5" # mirage blue and iron grey
|
|
74
74
|
set -wg pane-active-border-style "fg=#14222A" # mirage blue
|