New machine configuration.
xcode-select --install
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
Run the commands given by Homebrew that look like the following:
# (echo; echo 'eval "$(/opt/homebrew/bin/brew shellenv)"') >> /Users/{USERNAME}/.zprofile
# eval "$(/opt/homebrew/bin/brew shellenv)"
brew install \
git \
gh \
python \
libomp \
cmake \
wget \
awscli \
eza \
bat \
starship \
zsh-autocomplete \
zsh-autosuggestions \
zsh-completions \
zsh-history-substring-search \
zsh-syntax-highlighting
Add zsh-autosuggestions (at or near the bottom of .zshrc -- but it's at the top right now)
echo 'source $HOMEBREW_PREFIX/share/zsh-autosuggestions/zsh-autosuggestions.zsh' >> .zshrc
Add zsh-autocomplete (at or near the top of .zshrc -- but it's at the top right now)
echo 'source $HOMEBREW_PREFIX/share/zsh-autocomplete/zsh-autocomplete.plugin.zsh' >> .zshrc
Add zsh-completions
echo 'if type brew &>/dev/null' >> .zshrc
echo 'then' >> .zshrc
echo ' FPATH="$(brew --prefix)/share/zsh/site-functions:${FPATH}"' >> .zshrc
echo '' >> .zshrc
echo ' autoload -Uz compinit' >> .zshrc
echo ' compinit' >> .zshrc
echo 'fi' >> .zshrc
Add zsh-history-substring-search (to the end of .zshrc -- but it's near the top right now)
echo 'source $HOMEBREW_PREFIX/share/zsh-history-substring-search/zsh-history-substring-search.zsh' >> .zshrc
Add zsh-syntax-highlighting (to the end of .zshrc -- but it's near the top right now)
echo 'source /opt/homebrew/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh' >> .zshrc
echo '' >> .zshrc
echo '# Use homebrew's py311 for `python`' >> .zshrc
echo 'export PATH="$PATH:/opt/homebrew/opt/python@3.11/libexec/bin"' >> .zshrc
echo '' >> .zshrc
echo '# eza Aliases' >> .zshrc
echo 'alias ls="eza --icons --classify --group-directories-first --oneline"' >> .zshrc
echo 'alias ll="ls --long --group --header --git"' >> .zshrc
echo 'alias lla="ll --all"' >> .zshrc
echo 'alias tree="ls --tree"' >> .zshrc
echo 'alias treel="ll --tree"' >> .zshrc
echo 'alias treela="lla --tree"' >> .zshrc
mkdir -p ~/miniconda3
curl https://repo.anaconda.com/miniconda/Miniconda3-latest-MacOSX-arm64.sh -o ~/miniconda3/miniconda.sh
bash ~/miniconda3/miniconda.sh -b -u -p ~/miniconda3/
rm -rf ~/miniconda3/miniconda.sh
~/miniconda3/bin/conda init zsh
We just installed it with homebrew, but check their guides to install in other OS.
cp the starship.toml
to the config directory
cp starship.toml ~/.config/starship.toml
Add to the end of .zshrc
echo '' >> .zshrc
echo '# Always at the bottom' >> .zshrc
echo 'eval "$(starship init zsh)"' >> .zshrc
Download and install favorite fonts:
- GeistMono Nerd Font
- IBM Plex Mono
- JetBrains Mono
- JetBrains Mono Nerd Font
- Fira Code
- Fira Code Nerd Font
Download and install iTerm2.
- Preferences > General > Window > Unselect "Native full screen windows"
- Preferences > Appearance > General > Theme > "Minimal"
- Preferences > Appearance > Windows > Select "Hide scrollbars"
- Preferences > Appearance > Tabs > Unselect "Show tab bar in fullscreen"
Make any changes you want inherited to alternate profiles in the Default profile first.
- Preferences > Profiles > Keys > Key Mappings > Presets > "Natural Text Editing"
- Preferences > Profiles > Text > Font > "Favorite Font"
- Preferences > Profiles > Text > Font > 12
- Preferences > Profiles > Text > Font > Use ligatures
- Preferences > Profiles > Window > Transparency > 10
- Preferences > Profiles > Window > Blur > 10
- Preferences > Profiles > Window > Settings for New Windows > Columns > 120
- Preferences > Profiles > Window > Settings for New Windows > Rows > 60
- Preferences > Profiles > Terminal > Unlimited Scrollback
Download and install favorite themes:
- Ayu Mirage
- ayu light
- Calamity
- CLRS
- Darkside
- LiquidCarbon
- MonokaiSoda
- OneHalfLight
- PaleNightHC
- Red Planet
- Smyck
- Snazzy
- Spacedust
- ToyChest
- vimbones
- Arthur
- Chester
- idleToes
- Ayu Mirage Bordered
- Monokai Pro
- Monokai Dark Soda (?)
- Material Theme Darker
- Material Neutral
- Panda
- Baby Panda
- oh-lucy-evening
- Andromeda
- Snazzy Light
- Snazzy Operator Softer
- peacocks-in-space
- Save dotfiles as flatfiles (e.g.
.gitignore
asgitignore
) then symlink to them.- Check out https://github.com/ryanb/dotfiles
- Check against: