xcode-select --install
sudo softwareupdate --install-rosetta
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
brew install chezmoi
brew install lastpass-cli
lpass login [email protected]
chezmoi init --apply argoyle
find Source -type d -name node_modules | xargs rm -rf
find Source -type d -name .terraform | xargs rm -rf
find Source -type d -name .direnv | xargs rm -rf
Also remove configuration for old version of JetBrains tools in ~/Library/Application Support/JetBrains
Enable SSH-access (System Settings - General - Sharing - Remote Login) on old machine and then do:
for dir in Desktop Documents Downloads Movies Music Pictures Source "Library/Application Support/Arc" "Library/Application Support/Arc" "Library/Application Support/JetBrains" .local/share/tmux bin ; do rsync -azPp argoyle@<old ip>:"${dir/ /\\ }/" "${dir}"; done;
for file in "Library/Preferences/company.thebrowser.Browser.plist" .zsh_history ; do rsync -azPp argoyle@<old ip>:"${file/ /\\ }" "${file}"; done;
Install Tmux plugins by pressing Ctrl-space I
(capital i) and then reload configuration by
executing tmux source-file ~/.tmux.conf
.
Restoring last tmux environment can be done using Ctrl-space Ctrl-r
.