From ed92a7124410760987bc0aaaa043cf1a926eec5c Mon Sep 17 00:00:00 2001 From: Yasmin Teles Date: Sat, 9 Mar 2024 23:37:35 -0300 Subject: [PATCH] Revert "feat: add Homebrew" This reverts commit 040c65e15098c9511f33779589d9017a5be01b68. --- Makefile | 6 +----- README.md | 1 - install.sh | 8 +------- uninstall.sh | 7 +------ 4 files changed, 3 insertions(+), 19 deletions(-) diff --git a/Makefile b/Makefile index 65b73e1..65f809d 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -.PHONY: help check_clean del ssh backup update +.PHONY: help check_clean del ssh backup help: ## Show help. @printf "A set of environment management commands.\n" @@ -26,7 +26,3 @@ ssh: ## Copy the SSH public key to your clipboard. backup: ## Back up your applications list. @echo "Backing up your applications list..." @brew bundle dump --file=./brew/Brewfile --force - -update: ## Updating your productivity apps. - @brew update - @brew upgrade diff --git a/README.md b/README.md index ebbf2a2..9eff319 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,6 @@ All my command-line tools, applications, and their configurations. Have fun 😎 - Create a Projects folder - A bunch of productivity apps. See [Brewfile](/brew/Brewfile) for more information. - Oh My Zsh -- Homebrew #### Helper diff --git a/install.sh b/install.sh index 4faeca6..a6fbe8d 100644 --- a/install.sh +++ b/install.sh @@ -26,13 +26,7 @@ mkdir ~/Projects # -- Homebrew ----------------------------------------------------------------- step_msg "Installing homebrew" -NONINTERACTIVE=1 bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)" -if [[ "$OSTYPE" == "linux-gnu"* ]] -then - echo "/home/linuxbrew/.linuxbrew/bin:/usr/bin:/bin" >> $PATH -else - echo "/usr/local/bin:/usr/bin:/bin" >> $PATH -fi +brew update brew install git stow # -- Dotfiles ----------------------------------------------------------------- diff --git a/uninstall.sh b/uninstall.sh index 1055f02..70a1b8f 100644 --- a/uninstall.sh +++ b/uninstall.sh @@ -4,14 +4,13 @@ set -e # Print a step description -TOTAL_STEPS=6 +TOTAL_STEPS=5 STEP=1 function step_msg { printf "\n[$STEP/$TOTAL_STEPS] $1...\n"; ((STEP++)) } -# -- Getting started ----------------------------------------------------------- echo "This script will remove all configurations of the environment." if [ ! $CI ] @@ -40,10 +39,6 @@ then rm -rf ~/.oh-my-zsh brew uninstall --force $(brew list) - # -- Homebrew ---------------------------------------------------------------- - step_msg "Removing Homebrew" - NONINTERACTIVE=1 bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/uninstall.sh)" - # -- Dotfiles ---------------------------------------------------------------- step_msg "Removing Dotfiles directory" rm -rf ~/.dotfiles