Dotfiles for mac.
These dotfiles are managed by brew, git and zsh scripts. If you have git in your local pc, please install from 2nd step. Otherwise, please install by 1st step.
Brew is installed by using bootstrap.zsh
, if not exist in your local pc.
After that, Git and minimal packages are installed.
If there is a package you want, please edit Brewfile
.
mkdir -p tmp/scripts \
&& curl https://raw.githubusercontent.com/TomoyukiSugiyama/dotfiles/main/scripts/bootstrap.zsh > tmp/scripts/bootstrap.zsh \
&& curl https://raw.githubusercontent.com/TomoyukiSugiyama/dotfiles/main/Brewfile > tmp/Brewfile \
&& chmod u+x ./tmp/scripts/bootstrap.zsh && ./tmp/scripts/bootstrap.zsh
If you finish installation, please delete all files in tmp
dir and after that, managed by git.
You can use anywhere.
git clone https://github.com/TomoyukiSugiyama/dotfiles.git && ./dotfiles/scripts/bootstrap.zsh
Each dotfiles (in git, zsh and etc. dirs) are linked to home dir by using configuration.zsh
.
./scripts/configuration.zsh
Edit your .gitconfig.local
and set name and email.
vi ~/.gitconfig.local
Update system.
system -u
- Open iTerm2
- Click iTerm2 -> Preferences -> General -> Preferences
- Enable "Load preferences from a custom folder or URL"
- Browse your config. (
./iterm2/com.googlecode.iterm2.plist
)