{"id":21755332,"url":"https://github.com/hiroxto/dotfiles","last_synced_at":"2026-04-08T16:02:31.771Z","repository":{"id":34312969,"uuid":"38230281","full_name":"hiroxto/dotfiles","owner":"hiroxto","description":"My dotfiles","archived":false,"fork":false,"pushed_at":"2026-03-05T12:35:10.000Z","size":5251,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-03-05T16:32:20.683Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hiroxto.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2015-06-29T05:57:26.000Z","updated_at":"2026-03-05T12:35:13.000Z","dependencies_parsed_at":"2024-04-21T17:27:44.059Z","dependency_job_id":"a072041d-9bfc-4301-8775-14970c2f8243","html_url":"https://github.com/hiroxto/dotfiles","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/hiroxto/dotfiles","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hiroxto%2Fdotfiles","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hiroxto%2Fdotfiles/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hiroxto%2Fdotfiles/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hiroxto%2Fdotfiles/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hiroxto","download_url":"https://codeload.github.com/hiroxto/dotfiles/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hiroxto%2Fdotfiles/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31562697,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-08T14:31:17.711Z","status":"ssl_error","status_checked_at":"2026-04-08T14:31:17.202Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-26T09:17:36.954Z","updated_at":"2026-04-08T16:02:31.765Z","avatar_url":"https://github.com/hiroxto.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# dotfiles\n\nUNIX / Linux / macOS 用の設定ファイル。\n\n## 必要な環境\n\n- Git\n- Zsh\n- cURL (自動インストールの場合)\n\n## インストール\n\n### 手動インストール\n\nこのリポジトリを `~/dotfiles` に clone してセットアップ用スクリプトを実行する。\n\n```bash\n$ git clone https://github.com/hiroxto/dotfiles ~/dotfiles\n$ cd ~/dotfiles\n$ zsh initialize.zsh\n```\n\n### 自動インストール\n\n`scripts/utils/auto-install.bash` を使うと手動インストール相当の処理を自動で行える。\n\n```bash\n$ bash -c \"$(curl -s https://raw.githubusercontent.com/hiroxto/dotfiles/refs/heads/main/scripts/utils/auto-install.bash)\"\n```\n\n## シェルを切り替え\n\nログインシェルが `zsh` になっていない場合， `chsh` を使ってログインシェルを `zsh` へ切り替える。\n切り替え後は一旦ログアウトする。\n\n```bash\n$ which zsh\n$ chsh\n```\n\n## .gitconfig の追加設定 (コミットを作成する環境の場合は必須)\n\n### PGP 署名の設定\n\ndotfiles で設定される `.gitconfig` では PGP 署名の設定をしていない。\nコミットを作成する場合は PGP 署名をしたいのでコミットを作成する環境では必ず設定する。\n\n`.gitconfig.local` に設定を書く事で dotfiles で同期をせずにローカルのみの設定をする事が可能な仕組みにしている。\n\n`.gitconfig.local` に `user.signingkey`，`gpg.program`，`commit.gpgsign`，`tag.gpgsign`を設定することで PGP 署名が出来るようになる。\n```\n[user]\n    signingkey = \u003csigningkey\u003e\n[gpg]\n    program = /opt/homebrew/bin/gpg\n[commit]\n    gpgsign = true\n[tag]\n    gpgsign = true\n```\n\n### Organization 毎の user 設定 (Organization のリポジトリでコミットする場合は必須)\n\n仕事でコミットを作成する場合は仕事で使っているメールアドレスを使いたいので別途設定する。\n\n`.gitconfig.local` で特定のディレクトリ以下では別の設定を読み込むようにする。\nghq でリポジトリを管理する場合は以下のようになる。\n\n```\n[includeIf \"gitdir:~/ghq/github.com/your-organization\"]\n    path = ~/.gitconfig.organization\n```\n\n`.gitconfig.organization` を作成し， Organization での設定項目を書く。\n\n```\n[user]\n    name = Foo Bar\n    email = foo@example.com\n```\n\n## 更新\n\n`bin-dotfiles/pull-dotfiles` コマンドを使うとdotfiles本体とdotfilesでインストールされているツール一式が更新される。\ndotfiles の `bin-dotfiles/` はパスが通っているので `pull-dotfiles` で実行可能。\n\n```bash\n$ pull-dotfiles\n```\n\n## ローカル環境に影響を与えずに動作検証する\n\n下手に手を加えてローカル環境に影響を与えたくない時は VSCode の Remote Development で検証する。\n\n```bash\n# 設定ファイルをコピー\n$ ./.devcontainer/copy-devcontainer-files.sh\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhiroxto%2Fdotfiles","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhiroxto%2Fdotfiles","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhiroxto%2Fdotfiles/lists"}