Last active
May 7, 2025 17:08
-
-
Save Wrestor/cb373a5b3aee8540ad5f5a43a9a752ff to your computer and use it in GitHub Desktop.
Setup my new Mac
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/zsh | |
echo "Enable Limit Ad Tracking" | |
defaults write com.apple.AdLib forceLimitAdTracking -bool yes | |
defaults write com.apple.AdLib AD_DEVICE_IDFA -string '00000000-0000-0000-0000-000000000000' | |
echo "Installing Homebrew with Xcode Command Line Tools..." | |
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" | |
# Add brew shellenv to .zprofile if not already present | |
grep -qxF 'eval "$(/opt/homebrew/bin/brew shellenv)"' ~/.zprofile || echo 'eval "$(/opt/homebrew/bin/brew shellenv)"' >> ~/.zprofile | |
eval "$(/opt/homebrew/bin/brew shellenv)" | |
echo "Testing Homebrew installation..." | |
brew doctor | |
echo "Disabling brew analytics..." | |
brew analytics off | |
echo "Installing Command line Utilities..." | |
brew install ffmpeg zsh-autosuggestions python openjdk | |
echo "Overwriting .zshrc if it exists..." | |
[ -e ~/.zshrc ] && cat << 'EOF' > ~/.zshrc | |
PROMPT="%F{104}%n %1~ %# %f" | |
alias python=/opt/homebrew/bin/python3 | |
alias pip=pip3 | |
export GTK_THEME=Adwaita:dark | |
PATH="/opt/homebrew/opt/openjdk/bin:$PATH" | |
source /opt/homebrew/share/zsh-autosuggestions/zsh-autosuggestions.zsh | |
EOF | |
echo "Creating empty hushlogin file" | |
touch ~/.hushlogin | |
echo "Installing Applications..." | |
brew install --cask \ | |
anydesk keka spotify appcleaner latest subler chatgpt megasync \ | |
sublime-text daisydisk mkvtoolnix syntax-highlight discord mp3tag \ | |
tiles google-chrome notion transmission handbrake raycast \ | |
visual-studio-code hot shottr iina silentknight | |
echo "Installing Spotify mod..." | |
bash <(curl -sSL https://spotx-official.github.io/run.sh) | |
echo -e "Don't forget to remove setup.sh from the root directory!" | |
echo -e "Run: \e[31mrm setup.sh\e[0m" |
The following programs are not installed with brew
App Store
- Ausweisapp2
- Ayumu
- Coteditor
- Onedrive
- Prime video
- Gmx mail
- Office (https://massgrave.dev/office_for_mac)
Cracked (mostly macserialjunkie)
Cracks for programs installed with brew
DaisyDisk
cd ~/Library/Application\ Support ; mkdir DaisyDisk ; rm -rf ~/Library/Application\ Support/DaisyDisk/BlackList.plist ; defaults write ~/Library/Application\ Support/DaisyDisk/License.DaisyDisk License_CustomerName MSJ ; defaults write ~/Library/Application\ Support/DaisyDisk/License.DaisyDisk License_RegistrationKey DPRK2ZTY-57M35VVK-UC5FR527-PUF599TX-JJ7FG8XQ ; mv ~/Library/Application\ Support/DaisyDisk/License.DaisyDisk.plist ~/Library/Application\ Support/DaisyDisk/License.DaisyDisk ; defaults write com.daisydiskapp.DaisyDiskStandAlone SUEnableAutomaticChecks -boolean NO ; defaults write com.daisydiskapp.DaisyDiskStandAlone MajorUpgrader_suppressUpgrades -boolean YES ; defaults write com.daisydiskapp.DaisyDiskStandAlone Application_isFirstLaunch -boolean NO ; defaults write com.daisydiskapp.DaisyDiskStandAlone SUSendProfileInfo -boolean NO
or
Configurations
Application | Configuration |
---|---|
macOS | OneDrive |
Chrome Extension configurations | OneDrive |
Sublime Text
Keybinds
[
// Toggle Terminus
{
"keys": ["super+`"],
"command": "toggle_terminus_panel"
}
]
Settings
{
"theme": "auto",
"show_tab_close_buttons_on_left": true,
"font_size": 12,
"ignored_packages":
[
"Vintage",
],
"open_externally_patterns": [
"*.jpg",
"*.jpeg",
"*.png",
"*.gif",
"*.zip",
"*.pdf"
],
"dark_theme": "Default Dark.sublime-theme",
"light_theme": "Default Dark.sublime-theme",
}
Package Control
- A File Icon
- BracketHighlighter
- Carbon
- LSP (+ copilot)
- Non Text Files
- Package Control
- Terminus
macOS Kurzbefehle
Enable uBlock Origin on Chrome
defaults write com.google.Chrome.plist ExtensionManifestV2Availability -int 2
Disable
defaults delete com.google.Chrome.plist ExtensionManifestV2Availability
All installed applications as of 25.04.2025
ChatGPT
Microsoft Excel
Microsoft Word
WhatsApp
Sky
GMX Mail
Aktien
App Store
Automator
Bücher
Digitale Bilder
Erinnerungen
FaceTime
Fotos
Freeform
Home
Image Playground
iPhone-Synchronisierung
Kalender
Karten
Kontakte
Kurzbefehle
Launchpad
Lexikon
Mail
Mission Control
Musik
Nachrichten
Notizen
Notizzettel
Passwörter
Photo Booth
Podcasts
QuickTime Player
Rechner
Schach
Schriftsammlung
Siri
Sprachmemos
Systemeinstellungen
TextEdit
Time Machine
Tipps
TV
Uhr
Vorschau
Wetter
Wo ist?
CotEditor
Safari
Subler
MKVToolNix-91.0
AusweisApp
Duplicate File Finder
AnyDesk
Transmission
Visual Studio Code
Mp3tag
Keka
Sublime Text
Discord
Movist Pro
DaisyDisk
Syntax Highlight
Google Chrome
Bartender 5
Hot
MediaInfo
HandBrake
Spotify
Shottr
HoudahSpot
Ayumu
Raycast
Quartz Debug
MEGAsync
IINA
AppCleaner
SilentKnight
Oceanhorn 2
Latest
Tiles
PasteBox
TempBox
F1™ 2017
Dienstprogramme
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Download setup.sh to root directory
Then run
cleanup homebrew's cache and update everything installed