- Install zsh, git, vim, stow, git-delta.
- vim on Linux: use
vim-nox
orvim-gnome
, get git-delta here - git, vim and zsh on macOS: stock versions are relatively current. Alternatively
sudo port install
orbrew install
them.
- vim on Linux: use
- Change default shell to zsh
- Linux:
chsh -s /usr/bin/zsh
- macOS with MacPorts or Homebrew zsh:
sudo chsh -s /opt/local/bin/zsh <user>
- Linux:
- Clone dotfiles repo:
cd ~
- for read-only use:
git clone https://github.com/lorrin/dotfiles.git
- for read-write use:
- install GitHub SSH keys or enable 1Password SSH agent
~/.ssh/config
contains:Host github.com IdentityFile ~/.ssh/keyfile_name
git clone git@github.com:lorrin/dotfiles.git
dotfiles/install_or_update.sh
p10k configure
cd ~/dotfiles
git pull
./install_or_update.sh
- Create new directory
~/dotfiles/local_$(hostname -s)
- Add dot-files into directory
./install_or_update.sh
Under Preferences -> General, enabled Load preferences from a custom folder or URL, select ~/dotfiles/iterm2, and set to Save changes automatically.