diff --git a/brew/Brewfile b/brew/Brewfile index 66c2585..37b6fb8 100644 --- a/brew/Brewfile +++ b/brew/Brewfile @@ -42,7 +42,7 @@ brew "pyenv" cask "visual-studio-code" cask "firefox-developer-edition" cask "google-chrome" -cask "beekeeper-studio" +# cask "beekeeper-studio" cask "figma" cask "postman" diff --git a/install.sh b/install.sh index 79ae7ad..d003820 100644 --- a/install.sh +++ b/install.sh @@ -7,12 +7,12 @@ set -e TOTAL_STEPS=7 STEP=1 function step_msg { - printf "\n\033[36;1m[%s/%s] %s...\033[0m\n" "$STEP" "$TOTAL_STEPS" "$1"; + printf "\033[36;1m[%s/%s] %s...\n\033[0m" "$STEP" "$TOTAL_STEPS" "$1"; ((STEP++)) } function title_msg { - printf "\n%s\n" "$1"; + printf "\n\033[35;1m%s\n\n" "$1"; } # -- Get some information ----------------------------------------------------- @@ -31,11 +31,11 @@ mkdir ~/Projects # -- Dependencies ------------------------------------------------------------- step_msg "Installing dependencies" -brew install git stow +brew install git stow 1> /dev/null # -- Dotfiles ----------------------------------------------------------------- step_msg "Setting up dotfiles" -git clone https://github.com/YasminTeles/dotfiles.git ~/.dotfiles +git clone https://github.com/YasminTeles/dotfiles.git ~/.dotfiles 1> /dev/null rm -rf ~/.gitconfig cd ~/.dotfiles @@ -47,7 +47,7 @@ brew bundle install --file=~/Brewfile # -- Oh My Zsh ----------------------------------------------------------------- step_msg "Installing the Oh My Zsh" -sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" "" --unattended +sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" "" --unattended 1> /dev/null rm -rf ~/.zshrc stow --dotfiles zsh echo "My current shell is $SHELL." @@ -59,7 +59,7 @@ git config --global user.email "$GIT_EMAIL" # -- SSH Key ------------------------------------------------------------------- step_msg "Generating a new SSH key" rm -rf ~/.ssh/id_ed25519 ~/.ssh/id_ed25519.pub -ssh-keygen -t ed25519 -C "$GIT_EMAIL" -f ~/.ssh/id_ed25519 -q -N "" +ssh-keygen -t ed25519 -C "$GIT_EMAIL" -f ~/.ssh/id_ed25519 -q -N "" 1> /dev/null eval "$(ssh-agent -s)" ssh-add ~/.ssh/id_ed25519