https://github.com/daichikuwa0618/dotfiles_sample
sample dotfiles repository for beginners
https://github.com/daichikuwa0618/dotfiles_sample
dotfiles macos sample-project
Last synced: 14 days ago
JSON representation
sample dotfiles repository for beginners
- Host: GitHub
- URL: https://github.com/daichikuwa0618/dotfiles_sample
- Owner: daichikuwa0618
- License: apache-2.0
- Created: 2022-08-31T11:20:45.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-08-31T14:26:32.000Z (over 3 years ago)
- Last Synced: 2025-04-01T10:21:16.615Z (about 1 year ago)
- Topics: dotfiles, macos, sample-project
- Language: Ruby
- Homepage:
- Size: 11.7 KB
- Stars: 2
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# dotfiles_sample
このリポジトリは [YUMEMI.grow 【自動化特集】 - connpass](https://yumemi.connpass.com/event/257184/) で発表した「ゆる dotfiles 管理のすすめ」のサンプルリポジトリです。
この度は勉強会の参加および発表をご覧いただきありがとうございました。
## ゆる dotfiles 管理のはじめかた
勉強会では 5 つのステップで紹介しました。
それぞれのステップに対応した Pull Request を作りましたので、合わせて参考にしてください。
1. GitHub リポジトリを作って clone
2. `.gitignore` を作る
- [Add gitignore by daichikuwa0618 · Pull Request #1 · daichikuwa0618/dotfiles_sample](https://github.com/daichikuwa0618/dotfiles_sample/pull/1)
3. 現在の dotfiles をリポジトリにコピー
- [Add some dotfiles by daichikuwa0618 · Pull Request #2 · daichikuwa0618/dotfiles_sample](https://github.com/daichikuwa0618/dotfiles_sample/pull/2)
4. alias を貼るコマンドの作成
- [Add install script by daichikuwa0618 · Pull Request #3 · daichikuwa0618/dotfiles_sample](https://github.com/daichikuwa0618/dotfiles_sample/pull/3)
5. `Brewfile` の作成
- [Add Brewfile by daichikuwa0618 · Pull Request #4 · daichikuwa0618/dotfiles_sample](https://github.com/daichikuwa0618/dotfiles_sample/pull/4)
## dotfiles の育て方
ここからは完全にあなたの自由ですが、 dotfiles の育て方のアイデアの一例を紹介します。
- Homebrew そのものをインストールするシェルスクリプトを作成する
- macOS の設定 (`defaults` コマンド) を行うシェルスクリプトを作成する
- `$HOME/.config/git/ignore` に置く global な `.gitignore` を作成する
- Alfred 等の GUI アプリケーションもリポジトリで管理する
- Fat になりがちな `.zshrc` 等はいくつかのファイルに分割して、ディレクトリに纏めてみる
## 参考
最後に私が普段使っている dotfiles リポジトリを参考としてリンクを置いておきます:
[daichikuwa0618/dotfiles: My environment on macOS](https://github.com/daichikuwa0618/dotfiles)