@sebastienrousseau/dotfiles 0.2.457 → 0.2.459
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 +181 -96
- package/dist/Makefile +31 -53
- package/dist/bin/constants.d.ts +4 -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/dotfiles.js +1 -2
- package/dist/bin/dotfiles.js.map +1 -1
- package/dist/bin/index.js +0 -0
- package/dist/filesizes.txt +288 -230
- package/dist/{shell → lib}/README.md +0 -0
- package/dist/lib/aliases/default/default.aliases.sh +177 -0
- package/dist/{shell → lib}/aliases/gcloud/gcloud.aliases.sh +1 -1
- package/dist/lib/aliases/git/git.aliases.sh +569 -0
- package/dist/{shell → lib}/aliases/heroku/heroku.aliases.sh +1 -1
- package/dist/{shell → lib}/aliases/jekyll/jekyll.aliases.sh +1 -1
- package/dist/{shell → lib}/aliases/pnpm/pnpm.aliases.sh +1 -1
- package/dist/{shell → lib}/aliases/subversion/subversion.aliases.sh +1 -1
- package/dist/{shell → lib}/aliases/tmux/tmux.aliases.sh +1 -1
- package/dist/{shell → lib}/aliases.sh +2 -2
- package/dist/{shell → lib}/configurations/README.md +0 -0
- package/dist/lib/configurations/bash/bashrc +36 -0
- package/dist/{shell → lib}/configurations/curl/cacert.pem +0 -0
- package/dist/{shell → lib}/configurations/curl/curlrc +1 -1
- package/dist/{shell → lib}/configurations/default/color.sh +1 -1
- package/dist/lib/configurations/default/constants.sh +39 -0
- package/dist/{shell → lib}/configurations/default/editor.sh +1 -1
- package/dist/{shell → lib}/configurations/default/prompt.sh +1 -1
- package/dist/lib/configurations/gem/gemrc +9 -0
- package/dist/{shell → lib}/configurations/input/inputrc +1 -1
- package/dist/{shell → lib}/configurations/jshint/jshintrc +0 -0
- package/dist/lib/configurations/nano/nanorc +34 -0
- package/dist/{shell → lib}/configurations/profile/profile +1 -1
- package/dist/lib/configurations/tmux/default +17 -0
- package/dist/lib/configurations/tmux/display +25 -0
- package/dist/lib/configurations/tmux/linux +17 -0
- package/dist/lib/configurations/tmux/navigation +29 -0
- package/dist/lib/configurations/tmux/panes +9 -0
- package/dist/lib/configurations/tmux/theme +28 -0
- package/dist/lib/configurations/tmux/tmux +20 -0
- package/dist/lib/configurations/tmux/vi +5 -0
- package/dist/{shell → lib}/configurations/vim/vimrc +1 -1
- package/dist/{shell → lib}/configurations/wget/wgetrc +1 -1
- package/dist/lib/configurations/zsh/zshrc +49 -0
- package/dist/{shell → lib}/configurations.sh +2 -2
- package/dist/{shell → lib}/exit.sh +1 -1
- package/dist/{shell → lib}/functions/README.md +0 -0
- package/dist/{shell → lib}/functions/cdls.sh +1 -1
- package/dist/lib/functions/changediskpwd.tmp +19 -0
- package/dist/lib/functions/code.tmp +18 -0
- package/dist/lib/functions/countdown.tmp +33 -0
- package/dist/{shell → lib}/functions/curlheader.sh +1 -1
- package/dist/{shell → lib}/functions/curltime.sh +1 -1
- package/dist/{shell → lib}/functions/encode64.sh +1 -1
- package/dist/{shell → lib}/functions/environment.sh +1 -1
- package/dist/{shell → lib}/functions/extract.sh +1 -1
- package/dist/{shell → lib}/functions/filehead.sh +0 -0
- package/dist/{shell → lib}/functions/genpwd.sh +1 -1
- package/dist/{shell → lib}/functions/goto.sh +1 -1
- package/dist/lib/functions/headers.tmp +4 -0
- package/dist/{shell → lib}/functions/hidehiddenfiles.sh +1 -1
- package/dist/lib/functions/history-all.tmp +7 -0
- package/dist/{shell → lib}/functions/hostinfo.sh +1 -1
- package/dist/{shell → lib}/functions/hstats.sh +1 -1
- package/dist/{shell → lib}/functions/httpdebug.sh +1 -1
- package/dist/{shell → lib}/functions/keygen.sh +1 -1
- package/dist/{shell → lib}/functions/last.sh +1 -1
- package/dist/{shell → lib}/functions/logout.sh +1 -1
- package/dist/{shell → lib}/functions/lowercase.sh +1 -1
- package/dist/{shell → lib}/functions/macos.sh +1 -1
- package/dist/lib/functions/matrix.sh +14 -0
- package/dist/{shell → lib}/functions/mcd.sh +1 -1
- package/dist/{shell → lib}/functions/mount_read_only.sh +1 -1
- package/dist/{shell → lib}/functions/myproc.sh +1 -1
- package/dist/{shell → lib}/functions/prependpath.sh +1 -1
- package/dist/lib/functions/print.tmp +13 -0
- package/dist/{shell → lib}/functions/ql.sh +1 -1
- package/dist/{shell → lib}/functions/rd.sh +1 -1
- package/dist/{shell → lib}/functions/remove_disk.sh +1 -1
- package/dist/{shell → lib}/functions/ren.sh +1 -1
- package/dist/lib/functions/rm.tmp +13 -0
- package/dist/lib/functions/rps.tmp +103 -0
- package/dist/{shell → lib}/functions/showhiddenfiles.sh +1 -1
- package/dist/{shell → lib}/functions/size.sh +1 -1
- package/dist/{shell → lib}/functions/stopwatch.sh +1 -1
- package/dist/lib/functions/trash.tmp +13 -0
- package/dist/lib/functions/tree.tmp +13 -0
- package/dist/{shell → lib}/functions/uppercase.sh +1 -1
- package/dist/lib/functions/uuidgen.tmp +27 -0
- package/dist/{shell → lib}/functions/view-source.sh +1 -1
- package/dist/{shell → lib}/functions/vscode.sh +1 -1
- package/dist/{shell → lib}/functions/whoisport.sh +1 -1
- package/dist/{shell → lib}/functions/zipf.sh +1 -1
- package/dist/{shell → lib}/functions.sh +2 -2
- package/dist/{shell → lib}/history.sh +1 -1
- package/dist/{shell → lib}/paths/ant/ant.paths.sh +1 -1
- package/dist/{shell → lib}/paths/default/default.paths.sh +1 -1
- package/dist/{shell → lib}/paths/homebrew/homebrew.paths.sh +1 -1
- package/dist/{shell → lib}/paths/java/java.paths.sh +1 -1
- package/dist/{shell → lib}/paths/maven/maven.paths.sh +1 -1
- package/dist/{shell → lib}/paths/node/node.paths.sh +1 -1
- package/dist/{shell → lib}/paths/nvm/nvm.paths.sh +1 -1
- package/dist/{shell → lib}/paths/pnpm/pnpm.paths.sh +1 -1
- package/dist/{shell → lib}/paths/python/python.paths.sh +1 -1
- package/dist/{shell → lib}/paths/ruby/ruby.paths.sh +1 -1
- package/dist/{shell → lib}/paths/tmux/tmux.paths.sh +2 -2
- package/dist/{shell → lib}/paths.sh +2 -2
- package/dist/scripts/assemble.sh +32 -0
- package/dist/scripts/backup.sh +84 -0
- package/dist/scripts/banner.sh +18 -0
- package/dist/scripts/clean.sh +29 -0
- package/dist/scripts/compile.sh +52 -0
- package/dist/scripts/copy.sh +106 -0
- package/dist/scripts/dotfiles.sh +61 -0
- package/dist/scripts/download.sh +23 -0
- package/dist/scripts/help.sh +55 -0
- package/dist/scripts/unpack.sh +26 -0
- package/package.json +21 -44
- package/dist/bin/compile.sh +0 -16
- package/dist/bin/copy.sh +0 -21
- package/dist/bin/dotfiles.sh +0 -185
- package/dist/shell/aliases/default/default.aliases.sh +0 -199
- package/dist/shell/configurations/bash/bashrc +0 -36
- package/dist/shell/configurations/tmux/tmux +0 -95
- package/dist/shell/configurations/zsh/zshrc +0 -50
- package/dist/shell/functions/matrix.sh +0 -9
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
#!/usr/bin/env bash
|
|
2
|
+
# 🅳🅾🆃🅵🅸🅻🅴🆂 (v0.2.459) - https://dotfiles.io
|
|
3
|
+
# Copyright (c) Sebastien Rousseau 2022. All rights reserved
|
|
4
|
+
# License: MIT
|
|
5
|
+
|
|
6
|
+
## 🅲🅾🅿🆈 - Copy the dotfiles on your system.
|
|
7
|
+
copy() {
|
|
8
|
+
|
|
9
|
+
# shellcheck disable=SC1091
|
|
10
|
+
. "./lib/configurations/default/constants.sh"
|
|
11
|
+
|
|
12
|
+
echo ""
|
|
13
|
+
# shellcheck disable=SC2154
|
|
14
|
+
echo "${RED}❭${NC} Starting Copying Procedure."
|
|
15
|
+
echo ""
|
|
16
|
+
|
|
17
|
+
# shellcheck disable=SC2154
|
|
18
|
+
# if [[ -d "${DF_DIR}" ]]; then
|
|
19
|
+
# echo "${RED}❭${NC} Copying Binaries to ${DF_DIR}."
|
|
20
|
+
# cp -f -R ./bin/ "${DF_DIR}"bin/
|
|
21
|
+
# else
|
|
22
|
+
# echo "${RED}❭${NC} Copying Binaries to ${DF_DIR}."
|
|
23
|
+
# mkdir -p "${DF_DIR}"
|
|
24
|
+
# cp -f -R ./bin/ "${DF_DIR}"bin/
|
|
25
|
+
# fi
|
|
26
|
+
|
|
27
|
+
# shellcheck disable=SC2154
|
|
28
|
+
if [[ -d "${DF_DIR}" ]]; then
|
|
29
|
+
echo "${RED}❭${NC} Copying ${GREEN}Dotfiles v${DF_VERSION}${NC} to ${CYAN}${DF_DIR}${NC}"
|
|
30
|
+
cp -f -R ./lib/ "${DF_DIR}"lib/
|
|
31
|
+
else
|
|
32
|
+
echo "${RED}❭${NC} Copying ${GREEN}Dotfiles v${DF_VERSION}${NC} to ${CYAN}${DF_DIR}${NC}"
|
|
33
|
+
mkdir -p "${DF_DIR}"
|
|
34
|
+
cp -f -R ./lib/ "${DF_DIR}"lib/
|
|
35
|
+
fi
|
|
36
|
+
|
|
37
|
+
# shellcheck disable=SC2154
|
|
38
|
+
# if [[ -d "${DF_DIR}" ]]; then
|
|
39
|
+
# echo "${RED}❭${NC} Copying Scripts to ${CYAN}${DF_DIR}${NC}"
|
|
40
|
+
# cp -f -R ./scripts/ "${DF_DIR}"scripts/
|
|
41
|
+
# else
|
|
42
|
+
# echo "${RED}❭${NC} Copying Scripts to ${CYAN}${DF_DIR}${NC}"
|
|
43
|
+
# mkdir -p "${DF_DIR}"
|
|
44
|
+
# cp -f -R ./scripts/ "${DF_DIR}"scripts/
|
|
45
|
+
# fi
|
|
46
|
+
|
|
47
|
+
# cacert -- Copying cacert.pem file.
|
|
48
|
+
# shellcheck disable=SC2154
|
|
49
|
+
cp -f "${PWD}"/lib/configurations/curl/cacert.pem "${HOME}"/.cacert.pem &&
|
|
50
|
+
echo "${GREEN} ✔${NC} Copying '${YELLOW}cacert.pem${NC}'" &&
|
|
51
|
+
|
|
52
|
+
# bashrc -- Copying .bashrc file.
|
|
53
|
+
cp -f "${PWD}"/lib/configurations/bash/bashrc "${HOME}"/.bashrc &&
|
|
54
|
+
echo "${GREEN} ✔${NC} Copying '${YELLOW}.bashrc${NC}'" &&
|
|
55
|
+
|
|
56
|
+
# curlrc -- Copying .curlrc file.
|
|
57
|
+
cp -f "${PWD}"/lib/configurations/curl/curlrc "${HOME}"/.curlrc &&
|
|
58
|
+
echo "${GREEN} ✔${NC} Copying '${YELLOW}.curlrc${NC}'" &&
|
|
59
|
+
|
|
60
|
+
# gemrc -- Copying .gemrc file.
|
|
61
|
+
cp -f "${PWD}"/lib/configurations/gem/gemrc "${HOME}"/.gemrc &&
|
|
62
|
+
echo "${GREEN} ✔${NC} Copying '${YELLOW}.gemrc${NC}'" &&
|
|
63
|
+
|
|
64
|
+
# inputrc -- Copying .inputrc file.
|
|
65
|
+
cp -f "${PWD}"/lib/configurations/inputrc/inputrc "${HOME}"/.inputrc &&
|
|
66
|
+
echo "${GREEN} ✔${NC} Copying '${YELLOW}.inputrc${NC}'" &&
|
|
67
|
+
|
|
68
|
+
# jshintrc -- Copying .jshintrc file.
|
|
69
|
+
cp -f "${PWD}"/lib/configurations/jshint/jshintrc "${HOME}"/.jshintrc &&
|
|
70
|
+
echo "${GREEN} ✔${NC} Copying '${YELLOW}.jshintrc${NC}'" &&
|
|
71
|
+
|
|
72
|
+
# nanorc -- Copying .nanorc file.
|
|
73
|
+
cp -f "${PWD}"/lib/configurations/nano/nanorc "${HOME}"/.nanorc &&
|
|
74
|
+
echo "${GREEN} ✔${NC} Copying '${YELLOW}.nanorc${NC}'" &&
|
|
75
|
+
|
|
76
|
+
# profile -- Copying .profile file.
|
|
77
|
+
cp -f "${PWD}"/lib/configurations/profile/profile "${HOME}"/.profile &&
|
|
78
|
+
echo "${GREEN} ✔${NC} Copying '${YELLOW}.profile${NC}'" &&
|
|
79
|
+
|
|
80
|
+
# tmux -- Copying .tmux.conf file.
|
|
81
|
+
cp -f "${PWD}"/lib/configurations/tmux/tmux "${HOME}"/.tmux.conf &&
|
|
82
|
+
echo "${GREEN} ✔${NC} Copying '${YELLOW}.tmux.conf${NC}'" &&
|
|
83
|
+
|
|
84
|
+
# vimrc -- Copying .vimrc file.
|
|
85
|
+
cp -f "${PWD}"/lib/configurations/vim/vimrc "${HOME}"/.vimrc &&
|
|
86
|
+
echo "${GREEN} ✔${NC} Copying '${YELLOW}.vimrc${NC}'" &&
|
|
87
|
+
|
|
88
|
+
# wgetrc -- Copying .wgetrc file.
|
|
89
|
+
cp -f "${PWD}"/lib/configurations/wget/wgetrc "${HOME}"/.wgetrc &&
|
|
90
|
+
echo "${GREEN} ✔${NC} Copying '${YELLOW}.wgetrc${NC}'" &&
|
|
91
|
+
|
|
92
|
+
# zshrc -- Copying .zshrc file.
|
|
93
|
+
cp -f "${PWD}"/lib/configurations/zsh/zshrc "${HOME}"/.zshrc &&
|
|
94
|
+
echo "${GREEN} ✔${NC} Copying '${YELLOW}.zshrc${NC}'"
|
|
95
|
+
|
|
96
|
+
# shellcheck disable=SC2154
|
|
97
|
+
echo "${GREEN} ✔${NC} All files have been copied up'"
|
|
98
|
+
echo ""
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
args=$* # Arguments passed to script.
|
|
102
|
+
export args="${args}" # Exporting arguments.
|
|
103
|
+
if [[ ${args} = "copy" ]]; then
|
|
104
|
+
echo "$*"
|
|
105
|
+
copy
|
|
106
|
+
fi
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
#!/usr/bin/env bash
|
|
2
|
+
# 🅳🅾🆃🅵🅸🅻🅴🆂 (v0.2.459) - https://dotfiles.io
|
|
3
|
+
# Copyright (c) Sebastien Rousseau 2022. All rights reserved
|
|
4
|
+
# License: MIT
|
|
5
|
+
|
|
6
|
+
## 🅸🅼🅿🅾🆁🆃🆂 - Importing constants and functions.
|
|
7
|
+
|
|
8
|
+
# shellcheck disable=SC1091
|
|
9
|
+
. "./lib/configurations/default/constants.sh"
|
|
10
|
+
|
|
11
|
+
## 🅼🅰🅸🅽 - Main function.
|
|
12
|
+
|
|
13
|
+
if [[ "$1" = "backup" ]]; then
|
|
14
|
+
# shellcheck disable=SC2154
|
|
15
|
+
echo "${RED}❭${NC} Backing up.${NC}"
|
|
16
|
+
. "./scripts/backup.sh" &&
|
|
17
|
+
echo "${RED}❭${NC} Backup completed.${NC}"
|
|
18
|
+
|
|
19
|
+
elif [[ "$1" = "clean" ]]; then
|
|
20
|
+
|
|
21
|
+
# shellcheck disable=SC2154
|
|
22
|
+
echo "${RED}❭${NC} Removes any previous setup directories.${NC}"
|
|
23
|
+
. "./scripts/clean.sh" &&
|
|
24
|
+
clean
|
|
25
|
+
|
|
26
|
+
elif [[ "$1" = "copy" ]]; then
|
|
27
|
+
|
|
28
|
+
# shellcheck disable=SC2154
|
|
29
|
+
echo "${RED}❭${NC} Copying dotfiles.${NC}"
|
|
30
|
+
. "./scripts/copy.sh" &&
|
|
31
|
+
echo "${RED}❭${NC} Copying completed.${NC}"
|
|
32
|
+
|
|
33
|
+
elif [[ "$1" = "download" ]]; then
|
|
34
|
+
|
|
35
|
+
# shellcheck disable=SC2154
|
|
36
|
+
echo "${RED}❭${NC} Downloading ${GREEN}Dotfiles v${DF_VERSION}${NC}."
|
|
37
|
+
. "./scripts/download.sh" &&
|
|
38
|
+
echo "${RED}❭${NC} Download completed.${NC}"
|
|
39
|
+
|
|
40
|
+
elif [[ "$1" = "help" ]]; then
|
|
41
|
+
. "./scripts/help.sh" &&
|
|
42
|
+
echo "${RED}❭${NC} Help menu.${NC}"
|
|
43
|
+
|
|
44
|
+
elif [[ "$1" = "assemble" ]]; then
|
|
45
|
+
|
|
46
|
+
# shellcheck disable=SC2154
|
|
47
|
+
echo "${RED}❭${NC} Installing ${GREEN}Dotfiles v${VERSION}${NC}."
|
|
48
|
+
. "./scripts/assemble.sh" &&
|
|
49
|
+
echo "${RED}❭${NC} Installation completed.${NC}"
|
|
50
|
+
|
|
51
|
+
elif [[ "$1" = "unpack" ]]; then
|
|
52
|
+
|
|
53
|
+
# shellcheck disable=SC2154
|
|
54
|
+
echo "${RED}❭${NC} Unpacking ${GREEN}Dotfiles v${DF_VERSION}${NC}."
|
|
55
|
+
. "./scripts/unpack.sh" &&
|
|
56
|
+
echo "${RED}❭${NC} Unpacking completed.${NC}"
|
|
57
|
+
|
|
58
|
+
else
|
|
59
|
+
. "./scripts/help.sh" &&
|
|
60
|
+
echo "${RED}❭${NC} Help menu.${NC}"
|
|
61
|
+
fi
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
#!/usr/bin/env bash
|
|
2
|
+
# 🅳🅾🆃🅵🅸🅻🅴🆂 (v0.2.459) - https://dotfiles.io
|
|
3
|
+
# Copyright (c) Sebastien Rousseau 2022. All rights reserved
|
|
4
|
+
# License: MIT
|
|
5
|
+
|
|
6
|
+
## 🆅🅰🆁🅸🅰🅱🅻🅴🆂 - Set Dotfiles variable.
|
|
7
|
+
DF_DOTFILESDIR="${HOME}/.dotfiles" # Location of dotfiles.
|
|
8
|
+
export DF_DOTFILESDIR # Exporting Location of dotfiles.
|
|
9
|
+
|
|
10
|
+
# shellcheck disable=SC1091
|
|
11
|
+
. "./lib/configurations/default/constants.sh"
|
|
12
|
+
|
|
13
|
+
## 🅳🅾🆆🅽🅻🅾🅰🅳 - Download the dotfiles on your system.
|
|
14
|
+
download() {
|
|
15
|
+
# shellcheck disable=SC2154
|
|
16
|
+
echo "${RED}❭${NC} Downloading ${GREEN}Dotfiles v${DF_VERSION}${NC} on your system."
|
|
17
|
+
|
|
18
|
+
# shellcheck disable=SC2154
|
|
19
|
+
# wget https://github.com/sebastienrousseau/dotfiles/archive/refs/tags/v"${DF_VERSION}".zip -N -O "${DF_DOWNLOADDIR}/v${DF_VERSION}.zip"
|
|
20
|
+
|
|
21
|
+
# shellcheck disable=SC2154
|
|
22
|
+
curl https://github.com/sebastienrousseau/dotfiles/archive/refs/tags/v"${DF_VERSION}".zip -o "${DF_DOWNLOADDIR}"/v"${DF_VERSION}".zip
|
|
23
|
+
}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
#!/usr/bin/env bash
|
|
2
|
+
# 🅳🅾🆃🅵🅸🅻🅴🆂 (v0.2.459) - https://dotfiles.io
|
|
3
|
+
# Copyright (c) Sebastien Rousseau 2022. All rights reserved
|
|
4
|
+
# License: MIT
|
|
5
|
+
|
|
6
|
+
## 🆅🅰🆁🅸🅰🅱🅻🅴🆂 - Set Dotfiles variable.
|
|
7
|
+
DF_DOTFILESDIR="${HOME}/.dotfiles" # Location of dotfiles.
|
|
8
|
+
export DF_DOTFILESDIR # Exporting Location of dotfiles.
|
|
9
|
+
|
|
10
|
+
# shellcheck disable=SC1091
|
|
11
|
+
. "./lib/configurations/default/constants.sh"
|
|
12
|
+
|
|
13
|
+
echo ""
|
|
14
|
+
# shellcheck disable=SC2154
|
|
15
|
+
echo "${RED}❭${NC} Starting help menu."
|
|
16
|
+
echo ""
|
|
17
|
+
|
|
18
|
+
## 🅷🅴🅻🅿 🅼🅴🅽🆄 - Display help menu.
|
|
19
|
+
help() {
|
|
20
|
+
|
|
21
|
+
# shellcheck disable=SC1091
|
|
22
|
+
. "./scripts/banner.sh"
|
|
23
|
+
|
|
24
|
+
cat <<EOF
|
|
25
|
+
USAGE:
|
|
26
|
+
|
|
27
|
+
pnpm run $(echo -e "\033[1;96m[COMMAND]\033[0m\n")
|
|
28
|
+
|
|
29
|
+
COMMANDS:
|
|
30
|
+
|
|
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 directories.
|
|
33
|
+
$(echo -e "\033[1;96mcopy\033[0m\n") - Copy the dotfiles on your system.
|
|
34
|
+
$(echo -e "\033[1;96mdownload\033[0m\n") - Download the dotfiles on your system.
|
|
35
|
+
$(echo -e "\033[1;96massemble\033[0m\n") - Run the full installation process.
|
|
36
|
+
$(echo -e "\033[1;96munpack\033[0m\n") - Extract the dotfiles to your system.
|
|
37
|
+
$(echo -e "\033[1;96mhelp\033[0m\n") - Display the help menu.
|
|
38
|
+
|
|
39
|
+
DOCUMENTATION:
|
|
40
|
+
|
|
41
|
+
$(echo -e "\033[4;36mhttps://dotfiles.io\033[0m\n")
|
|
42
|
+
|
|
43
|
+
LICENSE:
|
|
44
|
+
|
|
45
|
+
This project is licensed under the MIT License.
|
|
46
|
+
|
|
47
|
+
EOF
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
args=$* # Arguments passed to script.
|
|
51
|
+
export args="${args}" # Exporting arguments.
|
|
52
|
+
if [[ ${args} = "help" ]]; then
|
|
53
|
+
echo "$*"
|
|
54
|
+
help
|
|
55
|
+
fi
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
#!/usr/bin/env bash
|
|
2
|
+
# 🅳🅾🆃🅵🅸🅻🅴🆂 (v0.2.459) - https://dotfiles.io
|
|
3
|
+
# Copyright (c) Sebastien Rousseau 2022. All rights reserved
|
|
4
|
+
# License: MIT
|
|
5
|
+
|
|
6
|
+
## 🆅🅰🆁🅸🅰🅱🅻🅴🆂 - Set Dotfiles variable.
|
|
7
|
+
DF_DOTFILESDIR="${HOME}/.dotfiles" # Location of dotfiles.
|
|
8
|
+
export DF_DOTFILESDIR # Exporting Location of dotfiles.
|
|
9
|
+
|
|
10
|
+
# shellcheck disable=SC1091
|
|
11
|
+
. "./lib/configurations/default/constants.sh"
|
|
12
|
+
|
|
13
|
+
## 🆄🅽🅿🅰🅲🅺 - Unpack the dotfiles on your system.
|
|
14
|
+
unpack() {
|
|
15
|
+
# shellcheck disable=SC2154
|
|
16
|
+
echo "${RED}❭${NC} Unpacking ${GREEN}Dotfiles v${VERSION}${NC}."
|
|
17
|
+
|
|
18
|
+
# shellcheck disable=SC2154
|
|
19
|
+
unzip -qq -u "${DF_DOWNLOADDIR}"/v"${DF_VERSION}".zip -d "${DF_DOWNLOADDIR}"
|
|
20
|
+
|
|
21
|
+
# shellcheck disable=SC2154
|
|
22
|
+
mv "${DF_DOWNLOADDIR}/dotfiles-${DF_VERSION}/lib/" "${DF_DOTFILESDIR}"
|
|
23
|
+
|
|
24
|
+
# shellcheck disable=SC2154
|
|
25
|
+
rm "${DF_DOWNLOADDIR}/v${DF_VERSION}.zip"
|
|
26
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"assets": [
|
|
3
|
-
"index.js"
|
|
3
|
+
"./dist/bin/index.js"
|
|
4
4
|
],
|
|
5
5
|
"author": "Sebastien Rousseau (https://github.com/sebastienrousseau)",
|
|
6
6
|
"autoupdate": {
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"target": "git://github.com/sebastienrousseau/dotfiles.git"
|
|
17
17
|
},
|
|
18
18
|
"bin": {
|
|
19
|
-
"dotfiles": "./index.js"
|
|
19
|
+
"dotfiles": "./dist/bin/index.js"
|
|
20
20
|
},
|
|
21
21
|
"bugs": {
|
|
22
22
|
"url": "https://github.com/sebastienrousseau/dotfiles/issues"
|
|
@@ -26,22 +26,19 @@
|
|
|
26
26
|
],
|
|
27
27
|
"description": "Dotfiles - A set of macOS / Linux and Windows configuration files - Simply designed to fit your shell life.",
|
|
28
28
|
"devDependencies": {
|
|
29
|
-
"@types/node": "^16.11.
|
|
30
|
-
"
|
|
29
|
+
"@types/node": "^16.11.66",
|
|
30
|
+
"compressing": "^1.6.2",
|
|
31
31
|
"filesizes": "^0.1.2",
|
|
32
32
|
"fs-extra": "10.1.0",
|
|
33
|
+
"husky": "^8.0.1",
|
|
33
34
|
"jsmin": "^1.0.1",
|
|
34
|
-
"pnpm": "^7.13.3",
|
|
35
35
|
"rimraf": "^3.0.2",
|
|
36
|
-
"
|
|
37
|
-
"shelljs-nodecli": "^0.1.1",
|
|
38
|
-
"tsd": "0.24.1",
|
|
39
|
-
"typescript": "^4.8.4",
|
|
40
|
-
"compressing": "^1.6.2"
|
|
36
|
+
"typescript": "^4.8.4"
|
|
41
37
|
},
|
|
42
38
|
"directories": {
|
|
43
39
|
"bin": "./bin",
|
|
44
|
-
"
|
|
40
|
+
"lib": "./lib",
|
|
41
|
+
"scripts": "./scripts"
|
|
45
42
|
},
|
|
46
43
|
"engines": {
|
|
47
44
|
"node": "^12.20.0 || ^14.13.1 || >=16.0.0"
|
|
@@ -63,7 +60,7 @@
|
|
|
63
60
|
"license": "MIT",
|
|
64
61
|
"license_URI": "http://www.opensource.org/licenses/mit-license.php",
|
|
65
62
|
"lockfileVersion": 1,
|
|
66
|
-
"main": "./bin/index.js",
|
|
63
|
+
"main": "./dist/bin/index.js",
|
|
67
64
|
"name": "@sebastienrousseau/dotfiles",
|
|
68
65
|
"publishConfig": {
|
|
69
66
|
"access": "public",
|
|
@@ -73,39 +70,19 @@
|
|
|
73
70
|
"type": "git",
|
|
74
71
|
"url": "git@github.com:sebastienrousseau/dotfiles.git"
|
|
75
72
|
},
|
|
76
|
-
"types": "./dist/index.d.ts",
|
|
77
|
-
"version": "0.2.
|
|
73
|
+
"types": "./dist/bin/index.d.ts",
|
|
74
|
+
"version": "0.2.459",
|
|
78
75
|
"scripts": {
|
|
79
|
-
"
|
|
80
|
-
"backup": "
|
|
81
|
-
"
|
|
82
|
-
"
|
|
83
|
-
"
|
|
84
|
-
"
|
|
85
|
-
"
|
|
86
|
-
"
|
|
87
|
-
"
|
|
88
|
-
"
|
|
89
|
-
"copy": "chmod 755 \"./bin/copy.sh\" && ./bin/copy.sh",
|
|
90
|
-
"cp:bash": "cp -vf ./shell/configurations/bash/bashrc $HOME/.bashrc",
|
|
91
|
-
"cp:bin": "cp -vf -R ./bin/ ./dist/bin",
|
|
92
|
-
"cp:cert": "cp -vf ./shell/configurations/curl/cacert.pem $HOME/cacert.pem",
|
|
93
|
-
"cp:curl": "cp -vf ./shell/configurations/curl/curlrc $HOME/.curlrc",
|
|
94
|
-
"cp:dirs": "cp -vf -R ./shell $HOME/.dotfiles/shell/",
|
|
95
|
-
"cp:inpt": "cp -vf ./shell/configurations/inputrc/inputrc $HOME/.inputrc",
|
|
96
|
-
"cp:jsht": "cp -vf ./shell/configurations/jshint/jshintrc $HOME/.jshintrc",
|
|
97
|
-
"cp:make": "cp -vf ./Makefile ./dist",
|
|
98
|
-
"cp:prof": "cp -vf ./shell/configurations/profile/profile $HOME/.profile",
|
|
99
|
-
"cp:shell": "cp -vR ./shell/ ./dist/shell/",
|
|
100
|
-
"cp:tmux": "cp -vf ./shell/configurations/tmux/tmux $HOME/.tmux.conf",
|
|
101
|
-
"cp:vimr": "cp -vf ./shell/configurations/vim/vimrc $HOME/.vimrc",
|
|
102
|
-
"cp:wget": "cp -vf ./shell/configurations/wget/wgetrc $HOME/.wgetrc",
|
|
103
|
-
"cp:zshr": "cp -vf ./shell/configurations/zsh/zshrc $HOME/.zshrc",
|
|
104
|
-
"directory": "mkdir $HOME/.dotfiles",
|
|
105
|
-
"filesizes": "filesizes ./dist/ > ./dist/filesizes.txt",
|
|
106
|
-
"help": "chmod 755 \"./bin/dotfiles.sh\" && ./bin/dotfiles.sh",
|
|
107
|
-
"minify": "jsmin ./bin/backup.js > dist/bin/backup.js && jsmin ./bin/constants.js > dist/bin/constants.js && jsmin ./bin/copy.js > dist/bin/copy.js && jsmin ./bin/dotfiles.js > dist/bin/dotfiles.js && jsmin ./bin/download.js > dist/bin/download.js && jsmin ./bin/index.js > dist/bin/index.js && jsmin ./bin/transfer.js > dist/bin/transfer.js && jsmin ./bin/unpack.js > dist/bin/unpack.js",
|
|
108
|
-
"start": "node ./bin/index.js",
|
|
76
|
+
"build": "pnpm run backup && pnpm run copy && pnpm run assemble",
|
|
77
|
+
"backup": "chmod 755 \"./scripts/backup.sh\" && sh ./scripts/backup.sh backup",
|
|
78
|
+
"assemble": "pnpm run clean && npx tsc --build tsconfig.json && pnpm run compile",
|
|
79
|
+
"clean": "chmod 755 \"./scripts/clean.sh\" && sh ./scripts/clean.sh clean",
|
|
80
|
+
"compile": "chmod 755 \"./scripts/compile.sh\" && ./scripts/compile.sh compile",
|
|
81
|
+
"copy": "chmod 755 \"./scripts/copy.sh\" && ./scripts/copy.sh copy",
|
|
82
|
+
"help": "chmod 755 \"./scripts/help.sh\" && ./scripts/help.sh help",
|
|
83
|
+
"pack": "pnpm pack",
|
|
84
|
+
"preinstall": "npx only-allow pnpm",
|
|
85
|
+
"start": "node ./dist/bin/index.js",
|
|
109
86
|
"test": "echo \"Error: no test specified\" && exit 1"
|
|
110
87
|
}
|
|
111
88
|
}
|
package/dist/bin/compile.sh
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
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
|
-
## 🅲🅾🅼🅿🅸🅻🅴 🅳🅾🆃🅵🅸🅻🅴🆂 - Compile dotfiles.
|
|
7
|
-
|
|
8
|
-
compile() {
|
|
9
|
-
pnpm run cp:shell &&
|
|
10
|
-
pnpm run cl:tmp &&
|
|
11
|
-
pnpm run cp:bin &&
|
|
12
|
-
pnpm run cp:make &&
|
|
13
|
-
pnpm run minify &&
|
|
14
|
-
pnpm run filesizes
|
|
15
|
-
}
|
|
16
|
-
compile
|
package/dist/bin/copy.sh
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
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
|
-
## 🅲🅾🅿🆈 🅳🅾🆃🅵🅸🅻🅴🆂 - 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
|
package/dist/bin/dotfiles.sh
DELETED
|
@@ -1,185 +0,0 @@
|
|
|
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
|
-
## 🆅🅰🆁🅸🅰🅱🅻🅴🆂 - Set variables.
|
|
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.457" # Dotfiles Version number.
|
|
14
|
-
|
|
15
|
-
## 🅱🅰🅲🅺🆄🅿 - Backup existing files.
|
|
16
|
-
backup() {
|
|
17
|
-
echo "${BIRed}❭${NC} Creating a backup directory '${BIGreen}${BACKUPDIR}${NC}'."
|
|
18
|
-
mkdir -p "${BACKUPDIR}"
|
|
19
|
-
|
|
20
|
-
echo "${BIRed}❭${NC} Backing up existing dotfiles in '${BIGreen}${BACKUPDIR}${NC}'..."
|
|
21
|
-
# File list (use trailing slash for directories)
|
|
22
|
-
FILES="
|
|
23
|
-
.alias
|
|
24
|
-
.bash_aliases
|
|
25
|
-
.bash_profile
|
|
26
|
-
.bash_prompt
|
|
27
|
-
.bashrc
|
|
28
|
-
.curlrc
|
|
29
|
-
.dir_colors
|
|
30
|
-
.exports
|
|
31
|
-
.functions
|
|
32
|
-
.gitattributes
|
|
33
|
-
.gitconfig
|
|
34
|
-
.gitignore
|
|
35
|
-
.gitmessage
|
|
36
|
-
.inputrc
|
|
37
|
-
.npmrc
|
|
38
|
-
.path
|
|
39
|
-
.profile
|
|
40
|
-
.tmux.conf
|
|
41
|
-
.vimrc
|
|
42
|
-
.wgetrc
|
|
43
|
-
.yarnrc
|
|
44
|
-
.zshenv
|
|
45
|
-
.zshrc
|
|
46
|
-
cacert.pem
|
|
47
|
-
"
|
|
48
|
-
|
|
49
|
-
for file in ${FILES}; do
|
|
50
|
-
# shellcheck disable=SC2292
|
|
51
|
-
if [ -e "${HOME}/${file}" ]; then
|
|
52
|
-
echo "${BIRed}❭${NC} Backing up ${BIGreen}${file}${NC}..."
|
|
53
|
-
cp -f "${HOME}"/"${file}" "${BACKUPDIR}"/"${file}"
|
|
54
|
-
fi
|
|
55
|
-
done
|
|
56
|
-
}
|
|
57
|
-
|
|
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.
|
|
67
|
-
download() {
|
|
68
|
-
echo "${BIRed}❭${NC} Downloading ${BIGreen}Dotfiles v${VERSION}${NC} on your system."
|
|
69
|
-
# wget https://github.com/sebastienrousseau/dotfiles/archive/refs/tags/v"${VERSION}".zip -N -O "${DOWNLOADDIR}/v${VERSION}.zip"
|
|
70
|
-
curl https://github.com/sebastienrousseau/dotfiles/archive/refs/tags/v"${VERSION}".zip -o "${DOWNLOADDIR}"/v"${VERSION}".zip
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
## 🆄🅽🅿🅰🅲🅺 - Unpack the dotfiles on your system.
|
|
74
|
-
unpack() {
|
|
75
|
-
echo "${BIRed}❭${NC} Unpacking ${BIGreen}Dotfiles v${VERSION}${NC}."
|
|
76
|
-
unzip -qq -u "${DOWNLOADDIR}"/v"${VERSION}".zip -d "${DOWNLOADDIR}"
|
|
77
|
-
mv "${DOWNLOADDIR}/dotfiles-${VERSION}/shell/" "${DOTFILESDIR}"
|
|
78
|
-
rm "${DOWNLOADDIR}/v${VERSION}.zip"
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
## 🅰🆂🆂🅴🅼🅱🅻🅴 - Assemble the dotfiles on your system.
|
|
82
|
-
assemble() {
|
|
83
|
-
echo "${BIRed}❭${NC} Preparing the dotfiles on your system."
|
|
84
|
-
backup &&
|
|
85
|
-
download &&
|
|
86
|
-
unpack &&
|
|
87
|
-
copy
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
## 🅲🅾🅿🆈 - Copy the dotfiles on your system.
|
|
91
|
-
copy() {
|
|
92
|
-
# echo "${BIRed}❭${NC} Copying the Dotfiles on your system."
|
|
93
|
-
# cd "${DOTFILESDIR}" &&
|
|
94
|
-
|
|
95
|
-
echo "${BIRed}❭${NC} Copying the Dotfiles on your system."
|
|
96
|
-
echo "${BIRed}❭${NC} Copying ${BIGreen}.bashrc${NC}"
|
|
97
|
-
cp -f "${DOTFILESDIR}"/shell/configurations/bash/bashrc "${HOME}"/.bashrc &&
|
|
98
|
-
echo "${BIRed}❭${NC} Copying ${BIGreen}cacert.pem${NC}"
|
|
99
|
-
cp -f "${DOTFILESDIR}"/shell/configurations/curl/cacert.pem "${HOME}"/cacert.pem &&
|
|
100
|
-
echo "${BIRed}❭${NC} Copying ${BIGreen}.curlrc${NC}"
|
|
101
|
-
cp -f "${DOTFILESDIR}"/shell/configurations/curl/curlrc "${HOME}"/.curlrc &&
|
|
102
|
-
echo "${BIRed}❭${NC} Copying ${BIGreen}.jshintrc${NC}"
|
|
103
|
-
cp -f "${DOTFILESDIR}"/shell/configurations/jshint/jshintrc "${HOME}"/.jshintrc &&
|
|
104
|
-
echo "${BIRed}❭${NC} Copying ${BIGreen}.profile${NC}"
|
|
105
|
-
cp -f "${DOTFILESDIR}"/shell/configurations/profile/profile "${HOME}"/.profile &&
|
|
106
|
-
echo "${BIRed}❭${NC} Copying ${BIGreen}.tmux.conf${NC}"
|
|
107
|
-
cp -f "${DOTFILESDIR}"/shell/configurations/tmux/tmux "${HOME}"/.tmux.conf &&
|
|
108
|
-
echo "${BIRed}❭${NC} Copying ${BIGreen}.vimrc${NC}"
|
|
109
|
-
cp -f "${DOTFILESDIR}"/shell/configurations/vim/vimrc "${HOME}"/.vimrc &&
|
|
110
|
-
echo "${BIRed}❭${NC} Copying ${BIGreen}.wgetrc${NC}"
|
|
111
|
-
cp -f "${DOTFILESDIR}"/shell/configurations/wget/wgetrc "${HOME}"/.wgetrc &&
|
|
112
|
-
echo "${BIRed}❭${NC} Copying ${BIGreen}.zshrc${NC}"
|
|
113
|
-
cp -f "${DOTFILESDIR}"/shell/configurations/zsh/zshrc "${HOME}"/.zshrc
|
|
114
|
-
|
|
115
|
-
echo "${BIRed}❭${NC} Cleaning up installation files."
|
|
116
|
-
rm -Rf "${DOTFILESDIR}"/shell/configurations/bash &&
|
|
117
|
-
rm -Rf "${DOTFILESDIR}"/shell/configurations/curl &&
|
|
118
|
-
rm -Rf "${DOTFILESDIR}"/shell/configurations/jshint &&
|
|
119
|
-
rm -Rf "${DOTFILESDIR}"/shell/configurations/profile &&
|
|
120
|
-
rm -Rf "${DOTFILESDIR}"/shell/configurations/tmux &&
|
|
121
|
-
rm -Rf "${DOTFILESDIR}"/shell/configurations/vim &&
|
|
122
|
-
rm -Rf "${DOTFILESDIR}"/shell/configurations/wget &&
|
|
123
|
-
rm -Rf "${DOTFILESDIR}"/shell/configurations/zsh &&
|
|
124
|
-
|
|
125
|
-
echo "${BIRed}❭${NC} ${BIGreen}Dotfiles v${VERSION}${NC} has been installed on your system."
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
## 🅷🅴🅻🅿 🅼🅴🅽🆄 - Display help menu.
|
|
129
|
-
help() {
|
|
130
|
-
clear
|
|
131
|
-
cat <<EOF
|
|
132
|
-
|
|
133
|
-
┌───────────────────────────────────────────┐
|
|
134
|
-
│ Dotfiles (v${VERSION}) │
|
|
135
|
-
├───────────────────────────────────────────┤
|
|
136
|
-
│ Simply designed to fit your shell life. │
|
|
137
|
-
└───────────────────────────────────────────┘
|
|
138
|
-
|
|
139
|
-
USAGE:
|
|
140
|
-
|
|
141
|
-
dotfiles [COMMAND]
|
|
142
|
-
|
|
143
|
-
COMMANDS:
|
|
144
|
-
|
|
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
|
-
assemble - 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.
|
|
158
|
-
|
|
159
|
-
EOF
|
|
160
|
-
}
|
|
161
|
-
|
|
162
|
-
# shellcheck disable=SC2292
|
|
163
|
-
if [ "$1" = "backup" ]; then
|
|
164
|
-
echo "${BIRed}❭${NC} Backing up.${NC}"
|
|
165
|
-
backup
|
|
166
|
-
elif [ "$1" = "clean" ]; then
|
|
167
|
-
echo "${BIRed}❭${NC} Removes any previous setup directories.${NC}"
|
|
168
|
-
clean
|
|
169
|
-
elif [ "$1" = "copy" ]; then
|
|
170
|
-
echo "${BIRed}❭${NC} Copying dotfiles.${NC}"
|
|
171
|
-
copy
|
|
172
|
-
elif [ "$1" = "download" ]; then
|
|
173
|
-
echo "${BIRed}❭${NC} Downloading ${BIGreen}Dotfiles v${VERSION}${NC}."
|
|
174
|
-
download
|
|
175
|
-
elif [ "$1" = "help" ]; then
|
|
176
|
-
help
|
|
177
|
-
elif [ "$1" = "assemble" ]; then
|
|
178
|
-
echo "${BIRed}❭${NC} Installing ${BIGreen}Dotfiles v${VERSION}${NC}."
|
|
179
|
-
assemble
|
|
180
|
-
elif [ "$1" = "unpack" ]; then
|
|
181
|
-
echo "${BIRed}❭${NC} Unpacking ${BIGreen}Dotfiles v${VERSION}${NC}."
|
|
182
|
-
unpack
|
|
183
|
-
else
|
|
184
|
-
help
|
|
185
|
-
fi
|