1
0
mirror of https://github.com/tommytran732/macOS-Setup-Script synced 2024-11-22 18:01:33 -05:00

Remove unnecessary packages

Signed-off-by: Tommy <contact@tommytran.io>
This commit is contained in:
Tommy 2022-09-22 21:34:08 -04:00
parent 9b8d1ff5dc
commit ba91b0e9be
No known key found for this signature in database
GPG Key ID: 060B29EB996BD9F2

View File

@ -4,20 +4,11 @@ defaults write com.apple.mail EnableBundles -bool true
echo "export HOMEBREW_NO_ANALYTICS=1" >> ~/.zshrc echo "export HOMEBREW_NO_ANALYTICS=1" >> ~/.zshrc
echo "gpgconf --launch gpg-agent" >> ~/.zshrc echo "gpgconf --launch gpg-agent" >> ~/.zshrc
echo "export SSH_AUTH_SOCK=$HOME/.gnupg/S.gpg-agent.ssh" >> ~/.zshrc echo "export SSH_AUTH_SOCK=$HOME/.gnupg/S.gpg-agent.ssh" >> ~/.zshrc
echo 'export PATH="$(brew --prefix)/opt/gnu-sed/libexec/gnubin:$PATH"' >> ~/.zshrc
echo 'export PATH="$(brew --prefix)/opt/openssl@3/bin:$PATH"' >> ~/.zshrc
echo 'export PATH="$HOME/Library/Android/sdk/platform-tools:$PATH"' >> ~/.zshrc echo 'export PATH="$HOME/Library/Android/sdk/platform-tools:$PATH"' >> ~/.zshrc
echo 'export PATH="/usr/local/opt/openjdk/bin:$PATH"' >> ~/.zshrc
echo 'export CPPFLAGS="-I/usr/local/opt/openjdk/include"' >> ~/.zshrc
#Comment this line out if on Intel Mac #Comment this line out if on Intel Mac
echo 'eval $(/opt/homebrew/bin/brew shellenv)' >> ~/.zshrc echo 'eval $(/opt/homebrew/bin/brew shellenv)' >> ~/.zshrc
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
brew tap homebrew/autoupdate brew tap homebrew/autoupdate
brew install butane gnu-sed hugo java openssl brew install --cask android-studio docker free-gpgmail github mullvadvpn visual-studio-code
brew install --cask android-studio docker element free-gpgmail github microsoft-auto-update microsoft-edge mullvadvpn visual-studio-code
#Add app cleaner
curl --fail --output /usr/local/bin/app-cleaner.sh https://raw.githubusercontent.com/sunknudsen/privacy-guides/master/how-to-clean-uninstall-macos-apps-using-appcleaner-open-source-alternative/app-cleaner.sh
chmod +x /usr/local/bin/app-cleaner.sh