Last active
June 30, 2024 14:24
-
-
Save vincelwt/0b518687cdc5fd46f2061aa34ab54ca6 to your computer and use it in GitHub Desktop.
Mac quick reinstall
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
# install brew | |
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" | |
# full update | |
brew update && brew upgrade && brew cask upgrade && sudo softwareupdate -i -a && brew cleanup | |
# full install | |
brew install yt-dlp subliminal node postgresql@16 oven-sh/bun/bun | |
brew install --cask imageoptim linear-linear slack beeper cursor 1password spotify telegram raycast visual-studio-code qbittorrent iina tableplus homebrew/cask-versions/firefox-developer-edition | |
# fast delete | |
defaults write NSGlobalDomain KeyRepeat -int 1 | |
defaults write NSGlobalDomain InitialKeyRepeat -int 10 | |
# fast dock | |
defaults write com.apple.dock autohide-delay -float 0 | |
defaults write com.apple.dock autohide-time-modifier -float 0.15; | |
killall Dock | |
# git push to all remotes | |
git config --global alias.pushall '!git remote | xargs -L1 git push --all' | |
git pushall | |
# Setup terminal | |
setopt nobeep autocd | |
#fira | |
brew tap homebrew/cask-fonts | |
brew install --cask font-fira-code | |
# into ~/.zshrc | |
autoload -U colors && colors | |
PS1="%{$fg[red]%}%n%{$reset_color%}@%{$fg[green]%}%m %{$fg[yellow]%}%(5~|%-1~/.../%3~|%4~) %{$reset_color%}%% " | |
alias pip=pip3 | |
alias python=python3 | |
export PATH=/Users/vince/Library/Python/3.9/bin:$PATH |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment