.で始まるファイルやディレクトリを管理するRepository
dotfilesのファイルを変更した場合はcommitし、新規で追加する場合は合わせて dotfilesdotfilesLink.shにシンボリックリンクのコマンドを追加する
git clone <repo>
cd dotfiles
./setup.shApple Silicon (Homebrew at /opt/homebrew) 前提。権限で実行できない場合は chmod +x setup.sh を実行。
gitの状態を表示させるためのプラグインをbrewで追加
brew install zsh-git-prompt
sh ~/dotfiles/dotfilesLink.sh
https://qiita.com/ayihis@github/items/88f627b2566d6341a741 立ち上げるときになにか警告が出る場合
zsh compinit: insecure directories, run compaudit for list.
Ignore insecure directories and continue [y] or abort compinit [n]?
compaudit
で原因を調べ、以下の2つが原因だった場合は権限を適切なものに治す
chmod 755 /usr/local/share/zsh
chmod 755 site-functions/