mirror of
https://github.com/Lissy93/dotfiles.git
synced 2025-06-26 12:01:21 +02:00
Adds installation starting banner to setup script
This commit is contained in:
parent
f5ab4195dd
commit
8a9eb8a2ca
17
install.sh
17
install.sh
@ -1,6 +1,19 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
echo "Starting the Dot File Install Script..."
|
# Variables
|
||||||
|
CYAN_BOLD='\033[1;96m'
|
||||||
|
RED_BOLD='\033[1;31m'
|
||||||
|
PLAIN_BOLD='\033[1;37m'
|
||||||
|
|
||||||
|
# Print Welcome Message
|
||||||
|
printf "${CYAN_BOLD}"
|
||||||
|
printf "╭──────────────────────╮\n"
|
||||||
|
printf "│ "
|
||||||
|
printf "${PLAIN_BOLD}"
|
||||||
|
printf "Dotfile Setup Script "
|
||||||
|
printf "${CYAN_BOLD}"
|
||||||
|
printf "│\n"
|
||||||
|
printf "╰──────────────────────╯\n"
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
@ -13,4 +26,4 @@ cd "${BASEDIR}"
|
|||||||
git -C "${DOTBOT_DIR}" submodule sync --quiet --recursive
|
git -C "${DOTBOT_DIR}" submodule sync --quiet --recursive
|
||||||
git submodule update --init --recursive "${DOTBOT_DIR}"
|
git submodule update --init --recursive "${DOTBOT_DIR}"
|
||||||
|
|
||||||
"${BASEDIR}/${DOTBOT_DIR}/${DOTBOT_BIN}" -d "${BASEDIR}" -c "${CONFIG}" "${@}"
|
"${BASEDIR}/${DOTBOT_DIR}/${DOTBOT_BIN}" -d "${BASEDIR}" -c "${CONFIG}" "${@}"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user