This page guides you to set up the new machine to usual state.
I usually use iTerm2 for developing something but it's not installed at this time, so at first let's use Terminal.app for this set up.
The first thing you need to do is to clone this repo into a location of your choosing. For example, if you have a ~/Developer
directory where you clone all of your git repos, that's a good choice for this one, too. This repo is setup to not rely on the location of the dotfiles, so you can place it anywhere.
Note If you're on macOS, you'll also need to install the XCode CLI tools before continuing.
xcode-select --install
git clone git@github.com:b4b4r07/dotfiles.git ~/src/github.com/b4b4r07/dotfiles
cd ~/src/github.com/b4b4r07/dotfiles
make install
The make install
will create symbolic links from the dotfiles directory into the $HOME
directory, allowing for all of the configuration to act as if it were there without being there, making it easier to maintain the dotfiles in isolation.
ssh-keygen -t rsa -C "b4b4r07@gmail.com"
cat ~/.ssh/id_rsa.pub | pbcopy
- Go to https://github.com/settings/ssh/new
- Paste the public key to the text area
- Confirm to OK or not:
ssh -T git@github.com
$ ssh -T git@github.com
Hi b4b4r07! You've successfully authenticated, but GitHub does not provide shell access.
afx is a CLI packages (tools, shell plugins, etc) manager. Almost all ZSH configurations are also related to the afx settings, so once you run afx install
and then relaunch your shell, you can enter the CLI world in the usual state of your shell.
curl -sL https://raw.githubusercontent.com/b4b4r07/afx/HEAD/hack/install | bash
afx install
afx settings: .config/afx
Refs:
- Usage https://babarot.me/afx
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
brew bundle
Once homebrew is installed, it executes the brew bundle
command which will install the packages listed in the Brewfile.
Refs:
tmux will be installed via Brew. After installed, run tmux
and press prefix
+ I on tmux to install plugins.
Note This step may become done by
brew
(Brewfile). If so, no longer needed to run this step.
- Go to https://go.dev/dl/
- Install via the installer
Refs:
Install extensions: https://pilotmoon.com/popclip/extensions/
Before | After |
---|---|
Guide | What to do |
---|---|
Appurtenance | |
Desktop | |
Keyboads | |
Trackpads |