Skip to content

argoyle/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dotfiles

Setup on new computer

Xcode command line tools

xcode-select --install

Rosetta

sudo softwareupdate --install-rosetta

Homebrew

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

Chezmoi

brew install chezmoi
brew install lastpass-cli
lpass login [email protected]
chezmoi init --apply argoyle

Sync files

Cleanup on old machine

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

Rsync from new machine

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;

After syncing

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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published