@sebastienrousseau/dotfiles 0.2.459 β 0.2.461
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 +15 -14
- package/dist/bin/backup.d.ts.map +1 -1
- package/dist/bin/backup.js.map +1 -1
- package/dist/bin/constants.d.ts +2 -2
- package/dist/bin/constants.d.ts.map +1 -1
- package/dist/bin/constants.js +1 -1
- package/dist/bin/constants.js.map +1 -1
- package/dist/bin/copy.d.ts.map +1 -1
- package/dist/bin/copy.js.map +1 -1
- package/dist/bin/dotfiles.d.ts.map +1 -1
- package/dist/bin/dotfiles.js.map +1 -1
- package/dist/bin/download.d.ts.map +1 -1
- package/dist/bin/download.js.map +1 -1
- package/dist/bin/index.js.map +1 -1
- package/dist/bin/transfer.d.ts.map +1 -1
- package/dist/bin/transfer.js.map +1 -1
- package/dist/bin/unpack.d.ts.map +1 -1
- package/dist/bin/unpack.js.map +1 -1
- package/dist/filesizes.txt +104 -104
- package/dist/lib/aliases/default/default.aliases.sh +3 -2
- package/dist/lib/aliases/gcloud/gcloud.aliases.sh +119 -118
- package/dist/lib/aliases/git/git.aliases.sh +6 -45
- package/dist/lib/aliases/heroku/heroku.aliases.sh +677 -675
- package/dist/lib/aliases/jekyll/jekyll.aliases.sh +30 -28
- package/dist/lib/aliases/pnpm/pnpm.aliases.sh +38 -37
- package/dist/lib/aliases/subversion/subversion.aliases.sh +82 -81
- package/dist/lib/aliases/tmux/tmux.aliases.sh +3 -2
- package/dist/lib/aliases.sh +3 -2
- package/dist/lib/configurations/bash/bashrc +4 -3
- package/dist/lib/configurations/curl/curlrc +3 -2
- package/dist/lib/configurations/default/color.sh +3 -2
- package/dist/lib/configurations/default/constants.sh +8 -5
- package/dist/lib/configurations/default/editor.sh +3 -2
- package/dist/lib/configurations/default/prompt.sh +3 -2
- package/dist/lib/configurations/input/inputrc +3 -2
- package/dist/lib/configurations/nano/nanorc +3 -2
- package/dist/lib/configurations/profile/profile +3 -2
- package/dist/lib/configurations/tmux/default +3 -2
- package/dist/lib/configurations/tmux/display +3 -2
- package/dist/lib/configurations/tmux/linux +3 -2
- package/dist/lib/configurations/tmux/navigation +3 -2
- package/dist/lib/configurations/tmux/panes +3 -2
- package/dist/lib/configurations/tmux/theme +4 -3
- package/dist/lib/configurations/tmux/tmux +3 -2
- package/dist/lib/configurations/tmux/vi +3 -2
- package/dist/lib/configurations/vim/vimrc +1 -1
- package/dist/lib/configurations/wget/wgetrc +3 -2
- package/dist/lib/configurations/zsh/zshrc +4 -3
- package/dist/lib/configurations.sh +3 -2
- package/dist/lib/exit.sh +3 -2
- package/dist/lib/functions/cdls.sh +3 -2
- package/dist/lib/functions/changediskpwd.tmp +5 -5
- package/dist/lib/functions/code.tmp +5 -5
- package/dist/lib/functions/countdown.tmp +3 -2
- package/dist/lib/functions/curlheader.sh +4 -3
- package/dist/lib/functions/curltime.sh +7 -6
- package/dist/lib/functions/encode64.sh +3 -2
- package/dist/lib/functions/environment.sh +4 -4
- package/dist/lib/functions/extract.sh +3 -2
- package/dist/lib/functions/genpwd.sh +8 -7
- package/dist/lib/functions/goto.sh +3 -2
- package/dist/lib/functions/hidehiddenfiles.sh +3 -2
- package/dist/lib/functions/history-all.tmp +3 -2
- package/dist/lib/functions/hostinfo.sh +3 -2
- package/dist/lib/functions/hstats.sh +4 -3
- package/dist/lib/functions/httpdebug.sh +3 -2
- package/dist/lib/functions/keygen.sh +3 -2
- package/dist/lib/functions/last.sh +3 -2
- package/dist/lib/functions/logout.sh +3 -2
- package/dist/lib/functions/lowercase.sh +18 -18
- package/dist/lib/functions/macos.sh +16 -16
- package/dist/lib/functions/matrix.sh +3 -2
- package/dist/lib/functions/mcd.sh +3 -2
- package/dist/lib/functions/mount_read_only.sh +3 -2
- package/dist/lib/functions/myproc.sh +3 -2
- package/dist/lib/functions/prependpath.sh +4 -3
- package/dist/lib/functions/print.tmp +3 -2
- package/dist/lib/functions/ql.sh +3 -2
- package/dist/lib/functions/rd.sh +5 -4
- package/dist/lib/functions/remove_disk.sh +4 -3
- package/dist/lib/functions/ren.sh +3 -2
- package/dist/lib/functions/rm.tmp +3 -2
- package/dist/lib/functions/rps.tmp +3 -2
- package/dist/lib/functions/showhiddenfiles.sh +3 -2
- package/dist/lib/functions/size.sh +3 -2
- package/dist/lib/functions/stopwatch.sh +3 -2
- package/dist/lib/functions/trash.tmp +3 -2
- package/dist/lib/functions/tree.tmp +3 -2
- package/dist/lib/functions/uppercase.sh +18 -18
- package/dist/lib/functions/uuidgen.tmp +2 -1
- package/dist/lib/functions/view-source.sh +4 -4
- package/dist/lib/functions/vscode.sh +3 -3
- package/dist/lib/functions/whoisport.sh +3 -2
- package/dist/lib/functions/zipf.sh +4 -3
- package/dist/lib/functions.sh +3 -2
- package/dist/lib/history.sh +24 -23
- package/dist/lib/paths/ant/ant.paths.sh +3 -2
- package/dist/lib/paths/default/default.paths.sh +12 -11
- package/dist/lib/paths/homebrew/homebrew.paths.sh +3 -2
- package/dist/lib/paths/java/java.paths.sh +3 -2
- package/dist/lib/paths/maven/maven.paths.sh +3 -2
- package/dist/lib/paths/node/node.paths.sh +3 -2
- package/dist/lib/paths/nvm/nvm.paths.sh +3 -2
- package/dist/lib/paths/pnpm/pnpm.paths.sh +3 -2
- package/dist/lib/paths/python/python.paths.sh +5 -4
- package/dist/lib/paths/ruby/ruby.paths.sh +3 -2
- package/dist/lib/paths/tmux/tmux.paths.sh +3 -2
- package/dist/lib/paths.sh +3 -2
- package/dist/scripts/backup.sh +15 -5
- package/dist/scripts/banner.sh +3 -2
- package/dist/scripts/{assemble.sh β build.sh} +12 -4
- package/dist/scripts/clean.sh +3 -2
- package/dist/scripts/compile.sh +3 -2
- package/dist/scripts/copy.sh +4 -3
- package/dist/scripts/dotfiles.sh +3 -2
- package/dist/scripts/download.sh +16 -5
- package/dist/scripts/help.sh +5 -4
- package/dist/scripts/unpack.sh +3 -2
- package/package.json +2 -1
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
|
-
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.
|
|
3
|
-
#
|
|
2
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.461) - https://dotfiles.io
|
|
3
|
+
# Made with β₯ in London, UK by @sebastienrousseau
|
|
4
|
+
# Copyright (c) 2022. All rights reserved
|
|
4
5
|
# License: MIT
|
|
5
6
|
|
|
6
7
|
# trash: Function to moves a file to the MacOS trash
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
|
-
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.
|
|
3
|
-
#
|
|
2
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.461) - https://dotfiles.io
|
|
3
|
+
# Made with β₯ in London, UK by @sebastienrousseau
|
|
4
|
+
# Copyright (c) 2022. All rights reserved
|
|
4
5
|
# License: MIT
|
|
5
6
|
|
|
6
7
|
# tree: Function to generates a tree view from the current directory
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
|
-
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.
|
|
3
|
-
#
|
|
2
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.461) - https://dotfiles.io
|
|
3
|
+
# Made with β₯ in London, UK by @sebastienrousseau
|
|
4
|
+
# Copyright (c) 2022. All rights reserved
|
|
4
5
|
# License: MIT
|
|
5
6
|
|
|
6
7
|
# uppercase: Function to move filenames or directory names to uppercase
|
|
7
|
-
uppercase()
|
|
8
|
-
{
|
|
8
|
+
uppercase() {
|
|
9
9
|
if [[ "$#" != 1 ]]; then
|
|
10
10
|
echo "[ERROR] The filename or directory name is incorrect." >&2
|
|
11
11
|
return 1
|
|
12
12
|
fi
|
|
13
|
-
for file
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
13
|
+
for file; do
|
|
14
|
+
filename=${file##*/}
|
|
15
|
+
case "${filename}" in
|
|
16
|
+
*/*) dirname=${file%/*} ;;
|
|
17
|
+
*) dirname=. ;;
|
|
18
|
+
esac
|
|
19
|
+
nf=$(echo "${filename}" | tr '[:upper:]' '[:lower:]')
|
|
20
|
+
newname="${dirname}/${nf}"
|
|
21
|
+
if [[ "${nf}" != "${filename}" ]]; then
|
|
22
|
+
mv "${file}" "${newname}"
|
|
23
|
+
echo "[INFO] Renaming ${file} to uppercase: ${newname}"
|
|
24
|
+
else
|
|
25
|
+
echo "[ERROR] The operation is not valid, ${file} has not changed."
|
|
26
|
+
fi
|
|
27
27
|
done
|
|
28
28
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
2
|
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.452) - https://dotfiles.io
|
|
3
|
-
#
|
|
3
|
+
# Made with β₯ in London, UK by @sebastienrousseau
|
|
4
|
+
# Copyright (c) 2022. All rights reserved
|
|
4
5
|
# License: MIT
|
|
5
6
|
|
|
6
7
|
# uuid: Function to generate a UUID (Universally Unique IDentifier)
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
|
-
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.
|
|
3
|
-
#
|
|
2
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.461) - https://dotfiles.io
|
|
3
|
+
# Made with β₯ in London, UK by @sebastienrousseau
|
|
4
|
+
# Copyright (c) 2022. All rights reserved
|
|
4
5
|
# License: MIT
|
|
5
6
|
|
|
6
7
|
# view-source: Function to view the source of a website.
|
|
7
|
-
view-source
|
|
8
|
-
|
|
8
|
+
view-source() { /usr/bin/curl -L -k -A 'Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:25.0) Gecko/20100101 Firefox/25.0' "$@"; }
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
|
-
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.
|
|
3
|
-
#
|
|
2
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.461) - https://dotfiles.io
|
|
3
|
+
# Made with β₯ in London, UK by @sebastienrousseau
|
|
4
|
+
# Copyright (c) 2022. All rights reserved
|
|
4
5
|
# License: MIT
|
|
5
6
|
|
|
6
7
|
# vsc: Function to open a file in Visual Studio Code.
|
|
@@ -28,4 +29,3 @@ fi
|
|
|
28
29
|
alias vs="code"
|
|
29
30
|
alias vsc="code"
|
|
30
31
|
alias vscode="code"
|
|
31
|
-
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
|
-
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.
|
|
3
|
-
#
|
|
2
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.461) - https://dotfiles.io
|
|
3
|
+
# Made with β₯ in London, UK by @sebastienrousseau
|
|
4
|
+
# Copyright (c) 2022. All rights reserved
|
|
4
5
|
# License: MIT
|
|
5
6
|
|
|
6
7
|
# whoisport: Function to find what is currently using a port.
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
|
-
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.
|
|
3
|
-
#
|
|
2
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.461) - https://dotfiles.io
|
|
3
|
+
# Made with β₯ in London, UK by @sebastienrousseau
|
|
4
|
+
# Copyright (c) 2022. All rights reserved
|
|
4
5
|
# License: MIT
|
|
5
6
|
|
|
6
7
|
# zipf: Function to create a ZIP archive of a folder
|
|
@@ -10,5 +11,5 @@ function zipf() {
|
|
|
10
11
|
return 1
|
|
11
12
|
fi
|
|
12
13
|
echo "[INFO] Creating the ZIP archive folder $1.zip"
|
|
13
|
-
zip -r "$1".zip "$1"
|
|
14
|
+
zip -r "$1".zip "$1"
|
|
14
15
|
}
|
package/dist/lib/functions.sh
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
|
-
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.
|
|
3
|
-
#
|
|
2
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.461) - https://dotfiles.io
|
|
3
|
+
# Made with β₯ in London, UK by @sebastienrousseau
|
|
4
|
+
# Copyright (c) 2022. All rights reserved
|
|
4
5
|
# License: MIT
|
|
5
6
|
|
|
6
7
|
# Load custom executable functions
|
package/dist/lib/history.sh
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
|
-
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.
|
|
3
|
-
#
|
|
2
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.461) - https://dotfiles.io
|
|
3
|
+
# Made with β₯ in London, UK by @sebastienrousseau
|
|
4
|
+
# Copyright (c) 2022. All rights reserved
|
|
4
5
|
# License: MIT
|
|
5
6
|
|
|
6
7
|
## History wrapper
|
|
@@ -78,28 +79,28 @@ if [[ -n "${ZSH_VERSION}" ]]; then
|
|
|
78
79
|
elif [[ -n "${BASH_VERSION}" ]]; then
|
|
79
80
|
# echo "Running shell is bash"
|
|
80
81
|
# Shopt settings
|
|
81
|
-
shopt -s autocd
|
|
82
|
-
shopt -s cdspell
|
|
83
|
-
shopt -s checkhash
|
|
84
|
-
shopt -s checkjobs
|
|
85
|
-
shopt -s checkwinsize
|
|
86
|
-
shopt -s cmdhist
|
|
87
|
-
shopt -s dirspell
|
|
88
|
-
shopt -s dotglob
|
|
89
|
-
shopt -s extglob
|
|
90
|
-
shopt -s globstar
|
|
91
|
-
shopt -s histappend
|
|
92
|
-
shopt -s histverify
|
|
93
|
-
shopt -s hostcomplete
|
|
94
|
-
shopt -s lithist
|
|
95
|
-
shopt -s huponexit
|
|
82
|
+
shopt -s autocd # autocd - automatically cd to a directory when it is the only argument to a command
|
|
83
|
+
shopt -s cdspell # cdspell - spell check the path when changing directories.
|
|
84
|
+
shopt -s checkhash # checkhash - check hash table for commands before running them.
|
|
85
|
+
shopt -s checkjobs # checkjobs - check for stopped jobs after each command and report them to the user.
|
|
86
|
+
shopt -s checkwinsize # checkwinsize - check the window size after each command and, if necessary, update the values of LINES and COLUMNS.
|
|
87
|
+
shopt -s cmdhist # cmdhist - save multi-line commands as one entry in history.
|
|
88
|
+
shopt -s dirspell # dirspell - spell check the path when changing directories.
|
|
89
|
+
shopt -s dotglob # dotglob - include dotfiles in globbing.
|
|
90
|
+
shopt -s extglob # extglob - extended globbing.
|
|
91
|
+
shopt -s globstar # globstar - allow ** to match multiple directories.
|
|
92
|
+
shopt -s histappend # histappend - append to the history file, don't overwrite it.
|
|
93
|
+
shopt -s histverify # histverify - verify commands from history before executing them.
|
|
94
|
+
shopt -s hostcomplete # hostcomplete - complete hostnames when using the ssh command.
|
|
95
|
+
shopt -s lithist # lithist - save multi-line commands as one entry in history.
|
|
96
|
+
shopt -s huponexit # huponexit - send SIGHUP to jobs when the shell exits.
|
|
96
97
|
shopt -s no_empty_cmd_completion # no_empty_cmd_completion - don't complete empty commands.
|
|
97
|
-
shopt -s nocaseglob
|
|
98
|
-
shopt -s nocasematch
|
|
99
|
-
shopt -s nullglob
|
|
100
|
-
shopt -s progcomp
|
|
101
|
-
shopt -s promptvars
|
|
102
|
-
shopt -s sourcepath
|
|
98
|
+
shopt -s nocaseglob # nocaseglob - case insensitive globbing.
|
|
99
|
+
shopt -s nocasematch # nocasematch - case insensitive matching.
|
|
100
|
+
shopt -s nullglob # nullglob - if no matches are found, the pattern expands to nothing.
|
|
101
|
+
shopt -s progcomp # progcomp - programmable completion.
|
|
102
|
+
shopt -s promptvars # promptvars - allow prompt strings to contain shell variables.
|
|
103
|
+
shopt -s sourcepath # sourcepath - search the PATH for the directory containing a sourced script before using the current directory.
|
|
103
104
|
|
|
104
105
|
else
|
|
105
106
|
echo "Unsupported shell: ${SHELL}"
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
|
-
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.
|
|
3
|
-
#
|
|
2
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.461) - https://dotfiles.io
|
|
3
|
+
# Made with β₯ in London, UK by @sebastienrousseau
|
|
4
|
+
# Copyright (c) 2022. All rights reserved
|
|
4
5
|
# License: MIT
|
|
5
6
|
|
|
6
7
|
## π
°π
½π π
·π
Ύπ
Όπ
΄
|
|
@@ -1,17 +1,18 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
|
-
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.
|
|
3
|
-
#
|
|
2
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.461) - https://dotfiles.io
|
|
3
|
+
# Made with β₯ in London, UK by @sebastienrousseau
|
|
4
|
+
# Copyright (c) 2022. All rights reserved
|
|
4
5
|
# License: MIT
|
|
5
6
|
|
|
6
7
|
## π
Ώπ
°ππ
·π
|
|
7
8
|
|
|
8
9
|
### 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}"
|
|
10
|
+
export PATH=/usr/local/bin:"${PATH}" # Add /usr/local/bin to the path
|
|
11
|
+
export PATH=/usr/local/sbin:"${PATH}" # Add /usr/local/sbin to the path
|
|
12
|
+
export PATH=/usr/bin:"${PATH}" # Add /usr/bin to the path
|
|
13
|
+
export PATH=/bin:"${PATH}" # Add /bin to the path
|
|
14
|
+
export PATH=/usr/sbin:"${PATH}" # Add /usr/sbin to the path
|
|
15
|
+
export PATH=/sbin:"${PATH}" # Add /sbin to the path
|
|
16
|
+
export PATH="${HOME}"/.cargo/bin:"${PATH}" # Add ~/.cargo/bin to the path
|
|
17
|
+
export PATH="${HOME}"/.yarn/bin:"${PATH}" # Add ~/.yarn/bin to the path
|
|
18
|
+
export PATH="${HOME}"/go/bin:"${PATH}" # Add ~/go/bin to the path
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
|
-
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.
|
|
3
|
-
#
|
|
2
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.461) - https://dotfiles.io
|
|
3
|
+
# Made with β₯ in London, UK by @sebastienrousseau
|
|
4
|
+
# Copyright (c) 2022. All rights reserved
|
|
4
5
|
# License: MIT
|
|
5
6
|
|
|
6
7
|
## π
·π
Ύπ
Όπ
΄π
±ππ
΄π π
Ώπ
°ππ
·π
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
|
-
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.
|
|
3
|
-
#
|
|
2
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.461) - https://dotfiles.io
|
|
3
|
+
# Made with β₯ in London, UK by @sebastienrousseau
|
|
4
|
+
# Copyright (c) 2022. All rights reserved
|
|
4
5
|
# License: MIT
|
|
5
6
|
|
|
6
7
|
## π
Ήπ
°π
π
°_π
·π
Ύπ
Όπ
΄
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
|
-
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.
|
|
3
|
-
#
|
|
2
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.461) - https://dotfiles.io
|
|
3
|
+
# Made with β₯ in London, UK by @sebastienrousseau
|
|
4
|
+
# Copyright (c) 2022. All rights reserved
|
|
4
5
|
# License: MIT
|
|
5
6
|
|
|
6
7
|
## π
Όπ
°π
π
΄π
½ π
·π
Ύπ
Όπ
΄
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
|
-
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.
|
|
3
|
-
#
|
|
2
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.461) - https://dotfiles.io
|
|
3
|
+
# Made with β₯ in London, UK by @sebastienrousseau
|
|
4
|
+
# Copyright (c) 2022. All rights reserved
|
|
4
5
|
# License: MIT
|
|
5
6
|
|
|
6
7
|
## π
½π
Ύπ
³π
΄ π
Ώπ
°ππ
·
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
|
-
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.
|
|
3
|
-
#
|
|
2
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.461) - https://dotfiles.io
|
|
3
|
+
# Made with β₯ in London, UK by @sebastienrousseau
|
|
4
|
+
# Copyright (c) 2022. All rights reserved
|
|
4
5
|
# License: MIT
|
|
5
6
|
|
|
6
7
|
## π
½π
π
Ό π
Ώπ
°ππ
·
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
|
-
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.
|
|
3
|
-
#
|
|
2
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.461) - https://dotfiles.io
|
|
3
|
+
# Made with β₯ in London, UK by @sebastienrousseau
|
|
4
|
+
# Copyright (c) 2022. All rights reserved
|
|
4
5
|
# License: MIT
|
|
5
6
|
|
|
6
7
|
## π
Ώπ
½π
Ώπ
Ό π
Ώπ
°ππ
·π
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
|
-
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.
|
|
3
|
-
#
|
|
2
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.461) - https://dotfiles.io
|
|
3
|
+
# Made with β₯ in London, UK by @sebastienrousseau
|
|
4
|
+
# Copyright (c) 2022. All rights reserved
|
|
4
5
|
# License: MIT
|
|
5
6
|
|
|
6
7
|
## π
Ώπππ
·π
Ύπ
½ π
Ώπ
°ππ
·
|
|
@@ -15,10 +16,10 @@ elif [[ "${OSTYPE}" == "linux-gnu"* ]]; then
|
|
|
15
16
|
fi
|
|
16
17
|
|
|
17
18
|
# Encoding[:errors] used for stdin/stdout/stderr.
|
|
18
|
-
export PYTHONIOENCODING='UTF-8'
|
|
19
|
+
export PYTHONIOENCODING='UTF-8'
|
|
19
20
|
|
|
20
21
|
# If set to 1, enables the UTF-8 mode.
|
|
21
|
-
export PYTHONUTF8=1
|
|
22
|
+
export PYTHONUTF8=1
|
|
22
23
|
|
|
23
24
|
# Export PYTHONHOME variable
|
|
24
25
|
export PYTHONHOME
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
|
-
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.
|
|
3
|
-
#
|
|
2
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.461) - https://dotfiles.io
|
|
3
|
+
# Made with β₯ in London, UK by @sebastienrousseau
|
|
4
|
+
# Copyright (c) 2022. All rights reserved
|
|
4
5
|
# License: MIT
|
|
5
6
|
|
|
6
7
|
## πππ
±π π
·π
Ύπ
Όπ
΄
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
|
-
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.
|
|
3
|
-
#
|
|
2
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.461) - https://dotfiles.io
|
|
3
|
+
# Made with β₯ in London, UK by @sebastienrousseau
|
|
4
|
+
# Copyright (c) 2022. All rights reserved
|
|
4
5
|
# License: MIT
|
|
5
6
|
|
|
6
7
|
## ππ
Όππ π
Ώπ
°ππ
·π
|
package/dist/lib/paths.sh
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
|
-
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.
|
|
3
|
-
#
|
|
2
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.461) - https://dotfiles.io
|
|
3
|
+
# Made with β₯ in London, UK by @sebastienrousseau
|
|
4
|
+
# Copyright (c) 2022. All rights reserved
|
|
4
5
|
# License: MIT
|
|
5
6
|
|
|
6
7
|
## π
Ώπ
°ππ
·π
|
package/dist/scripts/backup.sh
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
|
-
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.
|
|
3
|
-
#
|
|
2
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.461) - https://dotfiles.io
|
|
3
|
+
# Made with β₯ in London, UK by @sebastienrousseau
|
|
4
|
+
# Copyright (c) 2022. All rights reserved
|
|
4
5
|
# License: MIT
|
|
5
6
|
|
|
6
7
|
## π
π
°ππ
Έπ
°π
±π
»π
΄π - Set Dotfiles variable.
|
|
@@ -30,9 +31,14 @@ backup() {
|
|
|
30
31
|
|
|
31
32
|
# Backup existing Dotfiles directory.
|
|
32
33
|
if [[ -d "${HOME}"/.dotfiles ]]; then
|
|
33
|
-
echo "${GREEN} β${NC} Backing up previous Dotfiles installation to '${GREEN}${DF_BACKUPDIR}
|
|
34
|
+
echo "${GREEN} β${NC} Backing up previous Dotfiles installation to '${GREEN}${DF_BACKUPDIR}${DF_TIMESTAMP}/${NC}'..."
|
|
34
35
|
# shellcheck disable=SC2154
|
|
35
|
-
|
|
36
|
+
if [[ -d "${DF_BACKUPDIR}${DF_TIMESTAMP}/${DF}" ]]; then
|
|
37
|
+
mv -f "${DF_DOTFILESDIR}" "${DF_BACKUPDIR}${DF_TIMESTAMP}/${DF}"
|
|
38
|
+
else
|
|
39
|
+
mkdir -p "${DF_BACKUPDIR}${DF_TIMESTAMP}/${DF}"
|
|
40
|
+
mv -f "${DF_DOTFILESDIR}" "${DF_BACKUPDIR}${DF_TIMESTAMP}/${DF}"
|
|
41
|
+
fi
|
|
36
42
|
fi
|
|
37
43
|
|
|
38
44
|
# File list (use trailing slash for directories)
|
|
@@ -46,11 +52,13 @@ backup() {
|
|
|
46
52
|
.dir_colors
|
|
47
53
|
.exports
|
|
48
54
|
.functions
|
|
55
|
+
.gemrc
|
|
49
56
|
.gitattributes
|
|
50
57
|
.gitconfig
|
|
51
58
|
.gitignore
|
|
52
59
|
.gitmessage
|
|
53
60
|
.inputrc
|
|
61
|
+
.nanorc
|
|
54
62
|
.npmrc
|
|
55
63
|
.path
|
|
56
64
|
.profile
|
|
@@ -60,12 +68,14 @@ backup() {
|
|
|
60
68
|
.yarnrc
|
|
61
69
|
.zshenv
|
|
62
70
|
.zshrc
|
|
71
|
+
.zprofile
|
|
63
72
|
cacert.pem
|
|
64
73
|
"
|
|
65
74
|
|
|
66
75
|
for file in ${FILES}; do
|
|
67
76
|
# shellcheck disable=SC2292
|
|
68
|
-
if [ -
|
|
77
|
+
if [ -f "${HOME}/${file}" ]; then
|
|
78
|
+
# shellcheck disable=SC2154
|
|
69
79
|
echo "${GREEN} β${NC} Backing up '${YELLOW}${file}${NC}'"
|
|
70
80
|
cp -f "${HOME}"/"${file}" "${DF_BACKUPDIR}"/"${file}"
|
|
71
81
|
fi
|
package/dist/scripts/banner.sh
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
|
-
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.
|
|
3
|
-
#
|
|
2
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.461) - https://dotfiles.io
|
|
3
|
+
# Made with β₯ in London, UK by @sebastienrousseau
|
|
4
|
+
# Copyright (c) 2022. All rights reserved
|
|
4
5
|
# License: MIT
|
|
5
6
|
|
|
6
7
|
## π
±π
°π
½π
½π
΄π - Display banner.
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
|
-
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.
|
|
3
|
-
#
|
|
2
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.461) - https://dotfiles.io
|
|
3
|
+
# Made with β₯ in London, UK by @sebastienrousseau
|
|
4
|
+
# Copyright (c) 2022. All rights reserved
|
|
4
5
|
# License: MIT
|
|
5
6
|
|
|
6
7
|
# shellcheck disable=SC1091
|
|
@@ -18,8 +19,8 @@
|
|
|
18
19
|
# shellcheck disable=SC1091
|
|
19
20
|
. "./scripts/copy.sh"
|
|
20
21
|
|
|
21
|
-
##
|
|
22
|
-
|
|
22
|
+
## π
±ππ
Έπ
»π
³ - Build the dotfiles on your system.
|
|
23
|
+
build() {
|
|
23
24
|
|
|
24
25
|
# shellcheck disable=SC2154
|
|
25
26
|
echo "${RED}β${NC} Preparing the dotfiles on your system."
|
|
@@ -30,3 +31,10 @@ assemble() {
|
|
|
30
31
|
copy
|
|
31
32
|
|
|
32
33
|
}
|
|
34
|
+
|
|
35
|
+
args=$* # Arguments passed to script.
|
|
36
|
+
export args="${args}" # Exporting arguments.
|
|
37
|
+
if [[ ${args} = "build" ]]; then
|
|
38
|
+
echo "$*"
|
|
39
|
+
build
|
|
40
|
+
fi
|
package/dist/scripts/clean.sh
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
|
-
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.
|
|
3
|
-
#
|
|
2
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.461) - https://dotfiles.io
|
|
3
|
+
# Made with β₯ in London, UK by @sebastienrousseau
|
|
4
|
+
# Copyright (c) 2022. All rights reserved
|
|
4
5
|
# License: MIT
|
|
5
6
|
|
|
6
7
|
## π
²π
»π
΄π
°π
½ - Clean up.
|
package/dist/scripts/compile.sh
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
|
-
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.
|
|
3
|
-
#
|
|
2
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.461) - https://dotfiles.io
|
|
3
|
+
# Made with β₯ in London, UK by @sebastienrousseau
|
|
4
|
+
# Copyright (c) 2022. All rights reserved
|
|
4
5
|
# License: MIT
|
|
5
6
|
|
|
6
7
|
## π
²π
Ύπ
Όπ
Ώπ
Έπ
»π
΄ π
³π
Ύππ
΅π
Έπ
»π
΄π - Compile dotfiles.
|
package/dist/scripts/copy.sh
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
|
-
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.
|
|
3
|
-
#
|
|
2
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.461) - https://dotfiles.io
|
|
3
|
+
# Made with β₯ in London, UK by @sebastienrousseau
|
|
4
|
+
# Copyright (c) 2022. All rights reserved
|
|
4
5
|
# License: MIT
|
|
5
6
|
|
|
6
7
|
## π
²π
Ύπ
Ώπ - Copy the dotfiles on your system.
|
|
@@ -62,7 +63,7 @@ copy() {
|
|
|
62
63
|
echo "${GREEN} β${NC} Copying '${YELLOW}.gemrc${NC}'" &&
|
|
63
64
|
|
|
64
65
|
# inputrc -- Copying .inputrc file.
|
|
65
|
-
cp -f "${PWD}"/lib/configurations/
|
|
66
|
+
cp -f "${PWD}"/lib/configurations/input/inputrc "${HOME}"/.inputrc &&
|
|
66
67
|
echo "${GREEN} β${NC} Copying '${YELLOW}.inputrc${NC}'" &&
|
|
67
68
|
|
|
68
69
|
# jshintrc -- Copying .jshintrc file.
|
package/dist/scripts/dotfiles.sh
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
|
-
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.
|
|
3
|
-
#
|
|
2
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.461) - https://dotfiles.io
|
|
3
|
+
# Made with β₯ in London, UK by @sebastienrousseau
|
|
4
|
+
# Copyright (c) 2022. All rights reserved
|
|
4
5
|
# License: MIT
|
|
5
6
|
|
|
6
7
|
## π
Έπ
Όπ
Ώπ
Ύπππ - Importing constants and functions.
|
package/dist/scripts/download.sh
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
|
-
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.
|
|
3
|
-
#
|
|
2
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.461) - https://dotfiles.io
|
|
3
|
+
# Made with β₯ in London, UK by @sebastienrousseau
|
|
4
|
+
# Copyright (c) 2022. All rights reserved
|
|
4
5
|
# License: MIT
|
|
5
6
|
|
|
6
7
|
## π
π
°ππ
Έπ
°π
±π
»π
΄π - Set Dotfiles variable.
|
|
@@ -13,11 +14,21 @@ export DF_DOTFILESDIR # Exporting Location of dotfiles.
|
|
|
13
14
|
## π
³π
Ύππ
½π
»π
Ύπ
°π
³ - Download the dotfiles on your system.
|
|
14
15
|
download() {
|
|
15
16
|
# shellcheck disable=SC2154
|
|
16
|
-
echo "${RED}β${NC} Downloading ${GREEN}Dotfiles v${DF_VERSION}${NC} on your system
|
|
17
|
+
echo "${RED}β${NC} Downloading ${GREEN}Dotfiles v${DF_VERSION}${NC} on your system at ${GREEN}${DF_DOWNLOADDIR}${NC}..."
|
|
17
18
|
|
|
19
|
+
# Download the dotfiles with curl.
|
|
18
20
|
# shellcheck disable=SC2154
|
|
19
|
-
#
|
|
21
|
+
# curl -0 https://github.com/sebastienrousseau/dotfiles/archive/refs/tags/v"${DF_VERSION}".tar.gz -o "${DF_DOWNLOADDIR}"/dotfiles-"${DF_VERSION}".tar.gz
|
|
20
22
|
|
|
23
|
+
# Download the dotfiles with wget.
|
|
21
24
|
# shellcheck disable=SC2154
|
|
22
|
-
|
|
25
|
+
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"
|
|
26
|
+
|
|
23
27
|
}
|
|
28
|
+
|
|
29
|
+
args=$* # Arguments passed to script.
|
|
30
|
+
export args="${args}" # Exporting arguments.
|
|
31
|
+
if [[ ${args} = "download" ]]; then
|
|
32
|
+
echo "$*"
|
|
33
|
+
download
|
|
34
|
+
fi
|
package/dist/scripts/help.sh
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
|
-
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.
|
|
3
|
-
#
|
|
2
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.461) - https://dotfiles.io
|
|
3
|
+
# Made with β₯ in London, UK by @sebastienrousseau
|
|
4
|
+
# Copyright (c) 2022. All rights reserved
|
|
4
5
|
# License: MIT
|
|
5
6
|
|
|
6
7
|
## π
π
°ππ
Έπ
°π
±π
»π
΄π - Set Dotfiles variable.
|
|
@@ -29,10 +30,10 @@ USAGE:
|
|
|
29
30
|
COMMANDS:
|
|
30
31
|
|
|
31
32
|
$(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
|
|
33
|
+
$(echo -e "\033[1;96mclean\033[0m\n") - Removes any previous setup.
|
|
33
34
|
$(echo -e "\033[1;96mcopy\033[0m\n") - Copy the dotfiles on your system.
|
|
34
35
|
$(echo -e "\033[1;96mdownload\033[0m\n") - Download the dotfiles on your system.
|
|
35
|
-
$(echo -e "\033[1;
|
|
36
|
+
$(echo -e "\033[1;96mbuild\033[0m\n") - Run the full installation process.
|
|
36
37
|
$(echo -e "\033[1;96munpack\033[0m\n") - Extract the dotfiles to your system.
|
|
37
38
|
$(echo -e "\033[1;96mhelp\033[0m\n") - Display the help menu.
|
|
38
39
|
|
package/dist/scripts/unpack.sh
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
|
-
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.
|
|
3
|
-
#
|
|
2
|
+
# π
³π
Ύππ
΅π
Έπ
»π
΄π (v0.2.461) - https://dotfiles.io
|
|
3
|
+
# Made with β₯ in London, UK by @sebastienrousseau
|
|
4
|
+
# Copyright (c) 2022. All rights reserved
|
|
4
5
|
# License: MIT
|
|
5
6
|
|
|
6
7
|
## π
π
°ππ
Έπ
°π
±π
»π
΄π - Set Dotfiles variable.
|
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.461",
|
|
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",
|
|
@@ -82,6 +82,7 @@
|
|
|
82
82
|
"help": "chmod 755 \"./scripts/help.sh\" && ./scripts/help.sh help",
|
|
83
83
|
"pack": "pnpm pack",
|
|
84
84
|
"preinstall": "npx only-allow pnpm",
|
|
85
|
+
"release": "pnpm run prepublishOnly && pnpm publish --access public --tag latest --no-git-checks --report-summary",
|
|
85
86
|
"start": "node ./dist/bin/index.js",
|
|
86
87
|
"test": "echo \"Error: no test specified\" && exit 1"
|
|
87
88
|
}
|