Skip to content

dotfiles のブートストラップとツール管理を刷新 - #12

Merged
tanacchi merged 3 commits into
masterfrom
codex-modernize-dotfiles-bootstrap
Apr 27, 2026
Merged

tanacchi merged 3 commits into
masterfrom
codex-modernize-dotfiles-bootstrap

Conversation

@tanacchi

Copy link
Copy Markdown
Owner

概要

この dotfiles リポジトリのセットアップ経路を、現在の運用に合わせて刷新します。

  • curl 経由のブートストラップとローカルインストーラを更新し、~/dotfiles の clone/update、dotfile の symlink、mise の導入/修復、mise install まで実行するように変更
  • 言語ランタイムとCLIツールの管理を mise.toml に集約し、doctor/install/update/Vim plugin/shell lint タスクを追加
  • macOS/Linux の bash で使いやすいように .bashrc と alias を整理
  • Vim のプラグイン管理を NeoBundle から vim-plug に移行し、NeoBundle submodule を削除
  • README、AGENTS.md、Ubuntu bootstrap 用 Dockerfile を更新
  • 新しい shell lint タスクが通るように、既存の shell helper script の lint 指摘も修正

背景

これまでのセットアップは Linux、pyenv、submodule 前提の古い構成に寄っていました。今回の変更では Vim 9、portable な bash 設定、mise 管理のツール群、現在の Ubuntu bootstrap 確認に合わせています。

動作確認

  • python3 -m py_compile scripts/setup/install.py scripts/setup/autosetup.py
  • bash -n .bashrc .bash_aliases scripts/setup/uninstall.bash scripts/utils/update.sh docs/index.html scripts/tools/rails.bash scripts/utils/functions.bash scripts/utils/setup_gitconfig_for_guest.bash
  • git diff --check --cached
  • vim -Nu .vimrc -i NONE -n --not-a-term +'set nomore' +qa
  • mise run doctor
  • mise run lint:shell

補足: mise 実行時に sandbox 制限により /Users/tanacchi/Library/Caches/mise への cache write warning が出ましたが、どちらの mise task も exit code 0 で完了しています。

リスク

インストーラは既存の dotfile を timestamp 付き backup path に退避してから symlink を作成するようになります。Vim plugin 管理は vim-plug に移行するため、既存の NeoBundle 管理ディレクトリは repo 外で手動 cleanup が必要になる場合があります.

@tanacchi
tanacchi marked this pull request as ready for review April 27, 2026 06:13
@tanacchi
tanacchi merged commit ae31674 into master Apr 27, 2026
5 checks passed
@tanacchi
tanacchi deleted the codex-modernize-dotfiles-bootstrap branch April 27, 2026 06:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant