Last active
January 19, 2025 22:45
-
-
Save azzlack/c3d312bacd74fbe65f5e531ea8f579c7 to your computer and use it in GitHub Desktop.
My MacOS Terminal 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 powerlevel10k | |
brew install zsh-autosuggestions | |
brew install zsh-syntax-highlighting | |
brew install zoxide | |
brew install vivid | |
echo "autoload -Uz compinit" >> ~/.zshrc | |
echo "compinit" >> ~/.zshrc | |
echo "source $(brew --prefix)/share/powerlevel10k/powerlevel10k.zsh-theme" >> ~/.zshrc | |
echo "source $(brew --prefix)/share/zsh-autosuggestions/zsh-autosuggestions.zsh" >> ~/.zshrc | |
echo "source $(brew --prefix)/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh" >> ~/.zshrc | |
echo "eval \"$(zoxide init zsh)\"" >> ~/.zshrc | |
echo "export LS_COLORS=\"$(vivid generate catppuccin-mocha)\"" >> ~/.zshrc | |
source ~/.zshrc | |
cat >~/.config/ghostty/config <<'EOL' | |
font-size = 15 | |
font-family = JetBrainsMonoNL Nerd Font Mono | |
theme = catppuccin-mocha | |
macos-titlebar-style = transparent | |
auto-update = download | |
shell-integration-features = no-cursor,sudo,no-title | |
cursor-style = block | |
adjust-cell-height = 35% | |
mouse-scroll-multiplier = 2 | |
window-padding-balance = true | |
window-save-state = always | |
window-colorspace = display-p3 | |
copy-on-select = clipboard | |
confirm-close-surface = false | |
EOL | |
p10k configure | |
# Choices: | |
# Lean Prompt Style | |
# Unicode | |
# 256 Colors | |
# 24-hour format | |
# Two lines | |
# Dotted | |
# No frame | |
# Darkest | |
# Sparse | |
# Many icons | |
# Fluent | |
# Enable Transient Prompt | |
# Verbose Instant Prompt Mode | |
# NOTE: You might also need to give Ghostty Full Disk Access under Settings -> Privacy & Security -> Full Disk Access, | |
# otherwise you will get an annyoing popup every time you start it |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment