Last active
March 27, 2026 00:25
-
-
Save cam8001/555c49749fd9f695f1f4d21575e75dad to your computer and use it in GitHub Desktop.
New Mac setup
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
| brew install --cask ghostty | |
| brew install --cask visual-studio-code | |
| brew install --cask raycast | |
| brew install --cask istat-menus | |
| brew install --cask hiddenbar | |
| brew install --cask obsidian | |
| brew install --cask spotify | |
| brew install --cask macdown | |
| # Shell | |
| echo 'alias l="ls -lashF"' >> ~/.zshrc | |
| # Install oh-my-zsh | |
| sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" "" --unattended | |
| # Install powerlevel10k | |
| git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10k && | |
| sed -i '' 's/robbyrussell/powerlevel10k\/powerlevel10k/' ~/.zshrc && . ~/.zshrc | |
| # Add zsh-autosuggestions | |
| git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions | |
| sed -i '' 's#plugins=(#plugins=(zsh-autosuggestions #' ~/.zshrc | |
| # Add fast-syntax-highlighting | |
| git clone https://github.com/z-shell/F-Sy-H.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/plugins/F-Sy-H | |
| sed -i '' 's#plugins=(#plugins=(F-Sy-H #' ~/.zshrc | |
| # Update the standard oh-my-zsh .zshrc to include the local path | |
| sed -i '' 's/# export PATH/export PATH/g' ~/.zshrc | |
| brew install ripgrep fzf bat awscli npm zoxide | |
| brew install nvim | |
| echo 'alias vim=nvim' >> ~/.zshrc | |
| source <(fzf --zsh) | |
| # Add git-number | |
| mkdir ~/bin | |
| curl https://raw.githubusercontent.com/holygeek/git-number/master/git-id > ~/bin/git-id && chmod 0755 ~/bin/git-id | |
| curl https://raw.githubusercontent.com/holygeek/git-number/master/git-list > ~/bin/git-list && chmod 0755 ~/bin/git-list | |
| curl https://raw.githubusercontent.com/holygeek/git-number/master/git-number > ~/bin/git-number && chmod 0755 ~/bin/git-number | |
| echo "alias gn='git-number'" >> ~/.zshrc | |
| # Allow fast pastes | |
| sed -i '' 's/# DISABLE_MAGIC/DISABLE_MAGIC/' ~/.zshrc | |
| # ssm | |
| curl "https://s3.amazonaws.com/session-manager-downloads/plugin/latest/mac/session-manager-plugin.pkg" -o "session-manager-plugin.pkg" | |
| sudo installer -pkg session-manager-plugin.pkg -target / | |
| sudo ln -s /usr/local/sessionmanagerplugin/bin/session-manager-plugin /usr/local/bin/session-manager-plugin | |
| . ~/.zshrc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment