brewでinstallするものは Brewfile を用いて管理している。
- https://github.com/Homebrew/homebrew-bundle
- https://docs.brew.sh/Manpage#bundle-subcommand
- Brewfile で Homebrew のライブラリを管理しよう!
$ cd
$ mkdir .zsh
$ mkdir .zsh/completion
# for git
$ curl -L -O https://raw.github.com/git/git/master/contrib/completion/git-prompt.sh
# for poetry
$ poetry completions zsh > ~/.zsh/completion/_poetry
# for docker
$ ln -s /Applications/Docker.app/Contents/Resources/etc/docker.zsh-completion ~/.zsh/completion/_docker`
$ ln -s /Applications/Docker.app/Contents/Resources/etc/docker-compose.zsh-completion ~/.zsh/completion/_docker-compose
vim-plug が必要。 https://github.com/junegunn/vim-plug?tab=readme-ov-file#installation を見て以下のようなことをする
$ curl -fLo ~/.vim/autoload/plug.vim --create-dirs \
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
- user.gitconfig を用意する
[user] name = {name} email = {email} - 以下のコマンドで設定を確認できる
$ git config -l
- ignore関係
- globalなignoreな設定は
~/.config/git/ignoreがデフォルト値となっている - ignoreの設定自体は https://github.com/github/gitignore が参考になる
- globalなignoreな設定は
- VS Code をダウンロードしたら、コマンドパレットで "Install 'code' command" 的なのをやっておく
.vscode/settings.jsonに標準的な設定項目が記載されてる- こいつをユーザー設定とするには
make code/usersettings/installをやる - https://code.visualstudio.com/docs/getstarted/settings#_settings-file-locations
- こいつをユーザー設定とするには
vscode-extensions.txtによく使っているextensionが入っている
- 以下のコマンドで適宜シンボリックリンクを貼れる
$ make dotfiles/install
- vscodeのextensionは以下のコマンドでinstallできる
$ make code/extension/install