o-ga09's personal dotfiles — managed as symlinks via install.sh.
dotfiles/
├── .bashrc # Bash config (aliases, PS1, etc.)
├── .bash_profile # Bash login shell (PATH exports)
├── .zshrc # Zsh config
├── .config/
│ ├── nvim/ # Neovim (LazyVim-based)
│ ├── ghostty/ # Ghostty terminal emulator (macOS)
│ ├── wezterm/ # WezTerm terminal emulator (Windows)
│ ├── lazygit/ # Lazygit TUI git client
│ ├── powershell/ # PowerShell profile (Windows)
│ └── starship.toml # Starship prompt
├── install.sh # Symlink installer (macOS / Linux)
└── install.ps1 # Symlink installer (Windows)
| Tool | Install |
|---|---|
| Starship | brew install starship |
Neovim >= 0.9 |
brew install neovim |
| Ghostty | https://ghostty.org/download |
| Lazygit | brew install lazygit |
| delta (for lazygit pager) | brew install git-delta |
git clone https://github.com/<your-username>/dotfiles.git ~/dotfiles
cd ~/dotfiles
./install.shinstall.sh creates symlinks from ~ / ~/.config/ to the files in this repo.
Existing files are automatically backed up with a .bak suffix.
.zshrc は $OSTYPE で macOS / Linux を判定して分岐するため、WSL Ubuntu でも同じ install.sh がそのまま使えます(Homebrew, pnpm, Android SDK のパスや ls の色付けフラグを OS ごとに切り替え)。WSL ではターミナル自体は Windows 側の WezTerm を使うため、Ubuntu 内ではシェル設定のみ入れれば十分です。
ターミナルは WezTerm(macOS の Ghostty と極力同じ設定)。
git clone https://github.com/<your-username>/dotfiles.git $HOME\dotfiles
cd $HOME\dotfiles
pwsh -ExecutionPolicy Bypass -File .\install.ps1install.ps1 は次を行う:
wingetで WezTerm / Neovim / Starship / lazygit / delta / Git / GitHub CLI / fzf / JetBrainsMono Nerd Font を導入(-SkipInstallで省略可)- 各設定をシンボリックリンクで配置:
設定 リンク先 wezterm ~\.config\weztermnvim %LOCALAPPDATA%\nvimlazygit %APPDATA%\lazygitstarship ~\.config\starship.tomlPowerShell $PROFILE
Note: シンボリックリンクの作成には「開発者モード」(設定 → プライバシーとセキュリティ → 開発者向け)の有効化、または管理者として実行が必要です。
Based on LazyVim starter.
Enabled extras:
- Languages: Go, TypeScript, Markdown, JSON, YAML, SQL, Terraform, Docker, Tailwind
- Formatting: Prettier, ESLint
- AI: GitHub Copilot, Copilot Chat
Custom plugins:
| Plugin | Purpose |
|---|---|
xiyaowong/transparent.nvim |
Background transparency |
HakonHarnes/img-clip.nvim |
Paste images from clipboard |
folke/snacks.nvim (lazygit) |
Lazygit integration (<leader>gg) |
Key customizations:
- Theme:
Tomorrow Night - Background opacity: 80% with blur
- Pane navigation:
Ctrl+h/j/k/l - Pane splitting:
Ctrl+Shift+v(vertical) /Ctrl+Shift+h(horizontal) macos-option-as-alt = true— enables<A-x>keybinds in Neovim
Ghostty 設定を移植したもの。主な対応:
| Ghostty | WezTerm |
|---|---|
theme = Tomorrow Night |
color_scheme = "Tomorrow Night" |
palette = 8=#626880 |
brights[1] を上書き |
background-opacity = 0.80 |
window_background_opacity = 0.80 |
background-blur-radius = 20 |
win32_system_backdrop = "Acrylic" |
cursor-style = block |
default_cursor_style = "SteadyBlock" |
Pane nav Ctrl+h/j/k/l |
ActivatePaneDirection |
Split Ctrl+Shift+v / +h |
SplitHorizontal / SplitVertical |
Close Ctrl+x |
CloseCurrentPane |
Resize Ctrl+,/./;/' |
AdjustPaneSize |
Scroll Ctrl+Shift+k/j |
ScrollByLine(∓3) |
super+shift+m=toggle_maximize |
Win+Shift+m(自前のトグル) |
macOS 固有設定(window-colorspace, macos-option-as-alt など)は Windows では不要なため省略。
- Pager:
delta - Editor:
nvim - Nerd Fonts v3
