@sebastienrousseau/dotfiles 0.2.459 β 0.2.460
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 +5 -5
- package/dist/Makefile +13 -13
- package/dist/bin/backup.js.map +1 -1
- package/dist/bin/constants.d.ts +2 -2
- package/dist/bin/constants.js +1 -1
- package/dist/bin/download.js.map +1 -1
- package/dist/bin/transfer.js.map +1 -1
- package/dist/bin/unpack.js.map +1 -1
- package/dist/filesizes.txt +63 -63
- package/dist/lib/aliases/default/default.aliases.sh +1 -1
- package/dist/lib/aliases/gcloud/gcloud.aliases.sh +116 -117
- package/dist/lib/aliases/git/git.aliases.sh +2 -43
- package/dist/lib/aliases/heroku/heroku.aliases.sh +673 -673
- package/dist/lib/aliases/jekyll/jekyll.aliases.sh +26 -26
- package/dist/lib/aliases/pnpm/pnpm.aliases.sh +36 -36
- package/dist/lib/aliases/subversion/subversion.aliases.sh +80 -80
- package/dist/lib/aliases/tmux/tmux.aliases.sh +1 -1
- package/dist/lib/aliases.sh +1 -1
- package/dist/lib/configurations/bash/bashrc +2 -2
- package/dist/lib/configurations/curl/curlrc +1 -1
- package/dist/lib/configurations/default/color.sh +1 -1
- package/dist/lib/configurations/default/constants.sh +6 -4
- package/dist/lib/configurations/default/editor.sh +1 -1
- package/dist/lib/configurations/default/prompt.sh +1 -1
- package/dist/lib/configurations/input/inputrc +1 -1
- package/dist/lib/configurations/nano/nanorc +1 -1
- package/dist/lib/configurations/profile/profile +1 -1
- package/dist/lib/configurations/tmux/default +1 -1
- package/dist/lib/configurations/tmux/display +1 -1
- package/dist/lib/configurations/tmux/linux +1 -1
- package/dist/lib/configurations/tmux/navigation +1 -1
- package/dist/lib/configurations/tmux/panes +1 -1
- package/dist/lib/configurations/tmux/theme +2 -2
- package/dist/lib/configurations/tmux/tmux +1 -1
- package/dist/lib/configurations/tmux/vi +1 -1
- package/dist/lib/configurations/vim/vimrc +1 -1
- package/dist/lib/configurations/wget/wgetrc +1 -1
- package/dist/lib/configurations/zsh/zshrc +2 -2
- package/dist/lib/configurations.sh +1 -1
- package/dist/lib/exit.sh +1 -1
- package/dist/lib/functions/cdls.sh +1 -1
- package/dist/lib/functions/changediskpwd.tmp +1 -3
- package/dist/lib/functions/code.tmp +1 -3
- package/dist/lib/functions/countdown.tmp +1 -1
- package/dist/lib/functions/curlheader.sh +2 -2
- package/dist/lib/functions/curltime.sh +3 -4
- package/dist/lib/functions/encode64.sh +1 -1
- package/dist/lib/functions/environment.sh +2 -3
- package/dist/lib/functions/extract.sh +1 -1
- package/dist/lib/functions/genpwd.sh +6 -6
- package/dist/lib/functions/goto.sh +1 -1
- package/dist/lib/functions/hidehiddenfiles.sh +1 -1
- package/dist/lib/functions/history-all.tmp +1 -1
- package/dist/lib/functions/hostinfo.sh +1 -1
- package/dist/lib/functions/hstats.sh +2 -2
- package/dist/lib/functions/httpdebug.sh +1 -1
- package/dist/lib/functions/keygen.sh +1 -1
- package/dist/lib/functions/last.sh +1 -1
- package/dist/lib/functions/logout.sh +1 -1
- package/dist/lib/functions/lowercase.sh +16 -17
- package/dist/lib/functions/macos.sh +14 -15
- package/dist/lib/functions/matrix.sh +1 -1
- package/dist/lib/functions/mcd.sh +1 -1
- package/dist/lib/functions/mount_read_only.sh +1 -1
- package/dist/lib/functions/myproc.sh +1 -1
- package/dist/lib/functions/prependpath.sh +2 -2
- package/dist/lib/functions/print.tmp +1 -1
- package/dist/lib/functions/ql.sh +1 -1
- package/dist/lib/functions/rd.sh +3 -3
- package/dist/lib/functions/remove_disk.sh +2 -2
- package/dist/lib/functions/ren.sh +1 -1
- package/dist/lib/functions/rm.tmp +1 -1
- package/dist/lib/functions/rps.tmp +1 -1
- package/dist/lib/functions/showhiddenfiles.sh +1 -1
- package/dist/lib/functions/size.sh +1 -1
- package/dist/lib/functions/stopwatch.sh +1 -1
- package/dist/lib/functions/trash.tmp +1 -1
- package/dist/lib/functions/tree.tmp +1 -1
- package/dist/lib/functions/uppercase.sh +16 -17
- package/dist/lib/functions/view-source.sh +2 -3
- package/dist/lib/functions/vscode.sh +1 -2
- package/dist/lib/functions/whoisport.sh +1 -1
- package/dist/lib/functions/zipf.sh +2 -2
- package/dist/lib/functions.sh +1 -1
- package/dist/lib/history.sh +22 -22
- package/dist/lib/paths/ant/ant.paths.sh +1 -1
- package/dist/lib/paths/default/default.paths.sh +10 -10
- package/dist/lib/paths/homebrew/homebrew.paths.sh +1 -1
- package/dist/lib/paths/java/java.paths.sh +1 -1
- package/dist/lib/paths/maven/maven.paths.sh +1 -1
- package/dist/lib/paths/node/node.paths.sh +1 -1
- package/dist/lib/paths/nvm/nvm.paths.sh +1 -1
- package/dist/lib/paths/pnpm/pnpm.paths.sh +1 -1
- package/dist/lib/paths/python/python.paths.sh +3 -3
- package/dist/lib/paths/ruby/ruby.paths.sh +1 -1
- package/dist/lib/paths/tmux/tmux.paths.sh +1 -1
- package/dist/lib/paths.sh +1 -1
- package/dist/scripts/backup.sh +8 -3
- package/dist/scripts/banner.sh +1 -1
- package/dist/scripts/{assemble.sh β build.sh} +10 -3
- package/dist/scripts/clean.sh +1 -1
- package/dist/scripts/compile.sh +1 -1
- package/dist/scripts/copy.sh +2 -2
- package/dist/scripts/dotfiles.sh +1 -1
- package/dist/scripts/download.sh +14 -4
- package/dist/scripts/help.sh +3 -3
- package/dist/scripts/unpack.sh +1 -1
- package/package.json +1 -1
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
|
-
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.
|
|
2
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.460) - https://dotfiles.io
|
|
3
3
|
# Copyright (c) Sebastien Rousseau 2022. All rights reserved
|
|
4
4
|
# License: MIT
|
|
5
5
|
|
|
6
6
|
## π
Ώπ
°ππ
·π
|
|
7
7
|
|
|
8
8
|
### Add 'PATH' entries.
|
|
9
|
-
export PATH=/usr/local/bin:"${PATH}"
|
|
10
|
-
export PATH=/usr/local/sbin:"${PATH}"
|
|
11
|
-
export PATH=/usr/bin:"${PATH}"
|
|
12
|
-
export PATH=/bin:"${PATH}"
|
|
13
|
-
export PATH=/usr/sbin:"${PATH}"
|
|
14
|
-
export PATH=/sbin:"${PATH}"
|
|
15
|
-
export PATH="${HOME}"/.cargo/bin:"${PATH}"
|
|
16
|
-
export PATH="${HOME}"/.yarn/bin:"${PATH}"
|
|
17
|
-
export PATH="${HOME}"/go/bin:"${PATH}"
|
|
9
|
+
export PATH=/usr/local/bin:"${PATH}" # Add /usr/local/bin to the path
|
|
10
|
+
export PATH=/usr/local/sbin:"${PATH}" # Add /usr/local/sbin to the path
|
|
11
|
+
export PATH=/usr/bin:"${PATH}" # Add /usr/bin to the path
|
|
12
|
+
export PATH=/bin:"${PATH}" # Add /bin to the path
|
|
13
|
+
export PATH=/usr/sbin:"${PATH}" # Add /usr/sbin to the path
|
|
14
|
+
export PATH=/sbin:"${PATH}" # Add /sbin to the path
|
|
15
|
+
export PATH="${HOME}"/.cargo/bin:"${PATH}" # Add ~/.cargo/bin to the path
|
|
16
|
+
export PATH="${HOME}"/.yarn/bin:"${PATH}" # Add ~/.yarn/bin to the path
|
|
17
|
+
export PATH="${HOME}"/go/bin:"${PATH}" # Add ~/go/bin to the path
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
|
-
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.
|
|
2
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.460) - https://dotfiles.io
|
|
3
3
|
# Copyright (c) Sebastien Rousseau 2022. All rights reserved
|
|
4
4
|
# License: MIT
|
|
5
5
|
|
|
@@ -15,10 +15,10 @@ elif [[ "${OSTYPE}" == "linux-gnu"* ]]; then
|
|
|
15
15
|
fi
|
|
16
16
|
|
|
17
17
|
# Encoding[:errors] used for stdin/stdout/stderr.
|
|
18
|
-
export PYTHONIOENCODING='UTF-8'
|
|
18
|
+
export PYTHONIOENCODING='UTF-8'
|
|
19
19
|
|
|
20
20
|
# If set to 1, enables the UTF-8 mode.
|
|
21
|
-
export PYTHONUTF8=1
|
|
21
|
+
export PYTHONUTF8=1
|
|
22
22
|
|
|
23
23
|
# Export PYTHONHOME variable
|
|
24
24
|
export PYTHONHOME
|
package/dist/lib/paths.sh
CHANGED
package/dist/scripts/backup.sh
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
|
-
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.
|
|
2
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.460) - https://dotfiles.io
|
|
3
3
|
# Copyright (c) Sebastien Rousseau 2022. All rights reserved
|
|
4
4
|
# License: MIT
|
|
5
5
|
|
|
@@ -30,9 +30,14 @@ backup() {
|
|
|
30
30
|
|
|
31
31
|
# Backup existing Dotfiles directory.
|
|
32
32
|
if [[ -d "${HOME}"/.dotfiles ]]; then
|
|
33
|
-
echo "${GREEN} β${NC} Backing up previous Dotfiles installation to '${GREEN}${DF_BACKUPDIR}
|
|
33
|
+
echo "${GREEN} β${NC} Backing up previous Dotfiles installation to '${GREEN}${DF_BACKUPDIR}${DF_TIMESTAMP}/${NC}'..."
|
|
34
34
|
# shellcheck disable=SC2154
|
|
35
|
-
|
|
35
|
+
if [[ -d "${DF_BACKUPDIR}${DF_TIMESTAMP}/${DF}" ]]; then
|
|
36
|
+
mv -f "${DF_DOTFILESDIR}" "${DF_BACKUPDIR}${DF_TIMESTAMP}/${DF}"
|
|
37
|
+
else
|
|
38
|
+
mkdir -p "${DF_BACKUPDIR}${DF_TIMESTAMP}/${DF}"
|
|
39
|
+
mv -f "${DF_DOTFILESDIR}" "${DF_BACKUPDIR}${DF_TIMESTAMP}/${DF}"
|
|
40
|
+
fi
|
|
36
41
|
fi
|
|
37
42
|
|
|
38
43
|
# File list (use trailing slash for directories)
|
package/dist/scripts/banner.sh
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
|
-
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.
|
|
2
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.460) - https://dotfiles.io
|
|
3
3
|
# Copyright (c) Sebastien Rousseau 2022. All rights reserved
|
|
4
4
|
# License: MIT
|
|
5
5
|
|
|
@@ -18,8 +18,8 @@
|
|
|
18
18
|
# shellcheck disable=SC1091
|
|
19
19
|
. "./scripts/copy.sh"
|
|
20
20
|
|
|
21
|
-
##
|
|
22
|
-
|
|
21
|
+
## π
±ππ
Έπ
»π
³ - Build the dotfiles on your system.
|
|
22
|
+
build() {
|
|
23
23
|
|
|
24
24
|
# shellcheck disable=SC2154
|
|
25
25
|
echo "${RED}β${NC} Preparing the dotfiles on your system."
|
|
@@ -30,3 +30,10 @@ assemble() {
|
|
|
30
30
|
copy
|
|
31
31
|
|
|
32
32
|
}
|
|
33
|
+
|
|
34
|
+
args=$* # Arguments passed to script.
|
|
35
|
+
export args="${args}" # Exporting arguments.
|
|
36
|
+
if [[ ${args} = "build" ]]; then
|
|
37
|
+
echo "$*"
|
|
38
|
+
build
|
|
39
|
+
fi
|
package/dist/scripts/clean.sh
CHANGED
package/dist/scripts/compile.sh
CHANGED
package/dist/scripts/copy.sh
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
|
-
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.
|
|
2
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.460) - https://dotfiles.io
|
|
3
3
|
# Copyright (c) Sebastien Rousseau 2022. All rights reserved
|
|
4
4
|
# License: MIT
|
|
5
5
|
|
|
@@ -62,7 +62,7 @@ copy() {
|
|
|
62
62
|
echo "${GREEN} β${NC} Copying '${YELLOW}.gemrc${NC}'" &&
|
|
63
63
|
|
|
64
64
|
# inputrc -- Copying .inputrc file.
|
|
65
|
-
cp -f "${PWD}"/lib/configurations/
|
|
65
|
+
cp -f "${PWD}"/lib/configurations/input/inputrc "${HOME}"/.inputrc &&
|
|
66
66
|
echo "${GREEN} β${NC} Copying '${YELLOW}.inputrc${NC}'" &&
|
|
67
67
|
|
|
68
68
|
# jshintrc -- Copying .jshintrc file.
|
package/dist/scripts/dotfiles.sh
CHANGED
package/dist/scripts/download.sh
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
|
-
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.
|
|
2
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.460) - https://dotfiles.io
|
|
3
3
|
# Copyright (c) Sebastien Rousseau 2022. All rights reserved
|
|
4
4
|
# License: MIT
|
|
5
5
|
|
|
@@ -13,11 +13,21 @@ export DF_DOTFILESDIR # Exporting Location of dotfiles.
|
|
|
13
13
|
## π
³π
Ύππ
½π
»π
Ύπ
°π
³ - Download the dotfiles on your system.
|
|
14
14
|
download() {
|
|
15
15
|
# shellcheck disable=SC2154
|
|
16
|
-
echo "${RED}β${NC} Downloading ${GREEN}Dotfiles v${DF_VERSION}${NC} on your system
|
|
16
|
+
echo "${RED}β${NC} Downloading ${GREEN}Dotfiles v${DF_VERSION}${NC} on your system at ${GREEN}${DF_DOWNLOADDIR}${NC}..."
|
|
17
17
|
|
|
18
|
+
# Download the dotfiles with curl.
|
|
18
19
|
# shellcheck disable=SC2154
|
|
19
|
-
#
|
|
20
|
+
# curl -0 https://github.com/sebastienrousseau/dotfiles/archive/refs/tags/v"${DF_VERSION}".tar.gz -o "${DF_DOWNLOADDIR}"/dotfiles-"${DF_VERSION}".tar.gz
|
|
20
21
|
|
|
22
|
+
# Download the dotfiles with wget.
|
|
21
23
|
# shellcheck disable=SC2154
|
|
22
|
-
|
|
24
|
+
wget --no-check-certificate --content-disposition https://github.com/sebastienrousseau/dotfiles/archive/refs/tags/v"${DF_VERSION}".zip -O "${DF_DOWNLOADDIR}/v${DF_VERSION}.zip"
|
|
25
|
+
|
|
23
26
|
}
|
|
27
|
+
|
|
28
|
+
args=$* # Arguments passed to script.
|
|
29
|
+
export args="${args}" # Exporting arguments.
|
|
30
|
+
if [[ ${args} = "download" ]]; then
|
|
31
|
+
echo "$*"
|
|
32
|
+
download
|
|
33
|
+
fi
|
package/dist/scripts/help.sh
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
|
-
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.
|
|
2
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.460) - https://dotfiles.io
|
|
3
3
|
# Copyright (c) Sebastien Rousseau 2022. All rights reserved
|
|
4
4
|
# License: MIT
|
|
5
5
|
|
|
@@ -29,10 +29,10 @@ USAGE:
|
|
|
29
29
|
COMMANDS:
|
|
30
30
|
|
|
31
31
|
$(echo -e "\033[1;96mbackup\033[0m\n") - Backup your current dotfiles.
|
|
32
|
-
$(echo -e "\033[1;96mclean\033[0m\n") - Removes any previous setup
|
|
32
|
+
$(echo -e "\033[1;96mclean\033[0m\n") - Removes any previous setup.
|
|
33
33
|
$(echo -e "\033[1;96mcopy\033[0m\n") - Copy the dotfiles on your system.
|
|
34
34
|
$(echo -e "\033[1;96mdownload\033[0m\n") - Download the dotfiles on your system.
|
|
35
|
-
$(echo -e "\033[1;
|
|
35
|
+
$(echo -e "\033[1;96mbuild\033[0m\n") - Run the full installation process.
|
|
36
36
|
$(echo -e "\033[1;96munpack\033[0m\n") - Extract the dotfiles to your system.
|
|
37
37
|
$(echo -e "\033[1;96mhelp\033[0m\n") - Display the help menu.
|
|
38
38
|
|
package/dist/scripts/unpack.sh
CHANGED
package/package.json
CHANGED
|
@@ -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.
|
|
74
|
+
"version": "0.2.460",
|
|
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",
|