Label | Screenshot |
---|---|
Oh-my-zsh | |
Vifm | |
Neovim |
This dotfiles repo leverages YADM as the dotfiles manager.
Log in to the App Store.
Install the YADM and the Brew package manager:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
eval "$(/opt/homebrew/bin/brew shellenv)"
brew install yadm
Install dotfiles:
# Use HTTPS protocol for anonymous access
yadm clone --no-bootstrap https://github.com/pedropombeiro/dotfiles.git && \
yadm config local.class Personal && \
yadm bootstrap && \
source ~/.zshrc.shared
See the fresh install section below.
sudo apt update && sudo apt install -y yadm
Install dotfiles:
yadm clone --no-bootstrap https://github.com/pedropombeiro/dotfiles.git && \
yadm config local.class Personal && \
yadm bootstrap && \
source ~/.zshrc.shared
# Symlink the dotfiles in Syncthing
~/.config/yadm/scripts/relink-dotfiles.sh
# Verify you can connect to github and gitlab with the generated SSH keys:
ssh -T git@github.com
ssh -T git@gitlab.com
- Install any OS upgrade
- Install XCode from the App Store. Open it and accept the T&C.
- Run the steps below
# Verify you can connect to github and gitlab with the generated SSH keys:
ssh -T git@github.com
ssh -T git@gitlab.com
- After doing the first sync with Syncthing, restore Mackup backup:
mackup restore
- Change the computer name
- Change the default terminal font to 'MesloLGS NF'
- Disable notifications when screen is off
- Disable Location Services
- Set keyboard shortcuts
- Set the change input source shortcuts
- Installed via brew:
- 1Password
- Alfred
- Beyond Compare
- Boom 3D
- Camera Live
- Croc file transfer
- Dash
- Docker
- Dropbox
- Fork Git client
- Google Chrome
- iTerm2
- Kap
- Krisp
- LibreOffice
- Little Snitch
- Mac App Store command line interface
- Mackup
- Microsoft Edge
- Muzzle
- Notion
- Numi
- P4Merge
- Plex
- ProtonMail Bridge
- ProtonVPN
- Skype
- Slack
- Spotify
- Syncthing
- switchaudio-osx
- TripMode 3
- Visual Studio Code
- Installed via mas-cli:
- Elgato Control Center
- Microsoft To Do
- Oh-my-zsh (installed via curl/git clone)
- VirtualBox
- GitLab-specific:
Setup the following apps:
- Beyond Compare (import settings backup and install command line tools)
- Password application
- 1Password
- MacPass
- Syncthing
- Time Machine
- Microsoft Edge
- Visual Studio Code
- Enable settings sync
- Printers
- Time Out
- Name: Pomodoro
- Pomodoro time: 20m
- Break time: 1m
- Theme: Muscles
- Show button to postpone: 1 minutes
- Show button to postpone: 5 minutes
- Show button to skip break
- fzf: fuzzy file finder. To use it on the command line, prefix with
**
, then press tab. For instance:vim **<TAB>
. - autojump: a cd commands that learns about your favorite directories.
Use zprof
:
# At the beginning of your file, e.g. zshrc
zmodload zsh/zprof
...
# At the end:
zprof
- Make Time Machine or SuperDuper! backup
- Check each app for backup
- Backup hidden files in repo
- Make sure branches in repo are pushed
- Search for "what folders to backup"
- Search for "checklist before factory reset"
- Make sure iCloud sync is finished (check status bar in Finder)
- What's most important? Is it backed up?
- Add Terminal, iTerm, Visual Studio Code, RubyMine, and GoLand to
System Preferences/Security & Privacy/Privacy/Developer Tools
list, to avoid Apple notarisation checks that cause slowdowns. - Configure
$HOME/.git-peek
Running vim from inside yadm ensures that integration with fzf.vim works correctly, and the Git worktree is correctly configured:
yadm enter vim