- Upload to drive existing files
- Sync VSCode settings
- Update important files to a new private gist (.npmrc, .yarnrc, .aws/config, .zsh_history, .kube/config)
- Install Homebrew:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"- Run
which brewto confirm the one in home directory is picked up. - Run
brew analytics off.
- Generate key with a password:
ssh-keygen -f $HOME/.ssh/github_rsa- Add key to the keychain:
ssh-add $HOME/.ssh/github_rsa # company-installed
/usr/bin/ssh-add $HOME/.ssh/github_rsa # system- Upload the key to GitHub as authentication key & as signing key. https://github.com/settings/keys:
cat ~/.ssh/github_rsa.pub| pbcopy- Test connection:
ssh -T git@github.com -i ~/.ssh/github_rsa- Clone this repo:
git clone git@github.com:guillermotti/dotfiles.git- Run
mac_setup.shscript. - Modify
git config --global user.signingkeyvalue with the public SSH key and rungit_setup.shscript. - Restart the laptop to apply changes.
- Run
symlinks.shscript.
All software installed on the system must be listed in .Brewfile. This is
symlinked at ~/.Brewfile and used by brew bundle.
To install all the software, add it to .Brewfile and run:
brew bundle --global- iTerm2->Profiles->Open Profiles->Edit Profiles...->Add
iterm.json.- Restart iTerm2.
- Install oh-my-zsh, powerlevel10k theme and plugins:
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" # install oh-my-zsh https://ohmyz.sh/
git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ~/powerlevel10k
echo 'source ~/powerlevel10k/powerlevel10k.zsh-theme' >>~/.zshrc
p10k configure # configure powerlevel10k
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
git clone https://github.com/zsh-users/zsh-autosuggestions.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestionscurl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.0/install.sh | bash- Raycast
- Import config from *.rayconfig
- Set directory to script commands
- VSCode
- Turn Settings Sync on.
- Import GPG key from the repository:
gpg --import private.asc- Run the following commands:
pass init guillermotti
pass git init
pass git remote add origin <REPO>
pass git reset --hard origin/main- Use the tool and check everything is working.
which pinentry-mac
vim ~/.gnupg/gpg-agent.conf # set the path to pinentry-mac binary at the end of the filegpgconf --kill gpg-agent- .zsh_history
- .npmrc
- .yarnrc
- .aws/config
- .kube/config