convez.ai
PluginDevOps & InfraestruturaIntermediário
toshiki670

Dotfiles com Chezmoi e Fish

toshiki670/dotfiles

Dotfiles multiplataforma com Fish, Neovim e utilitários CLI unificados

Ver no GitHub
BomPluginScore · de 0 a 100

Repositório de configurações de desenvolvimento que unifica ambientes em múltiplas plataformas usando chezmoi como gerenciador. Inclui shell Fish com Starship, Neovim, Git com delta, mise para versionamento de runtimes e diversos utilitários CLI modernos (eza, bat, fd, ripgrep, zoxide, fzf).

Instalação

$npx convez-ai toshiki670/dotfiles

1 comando no terminal: detecta o formato do repositório (marketplace ou plugin avulso) e instala via Claude Code. Requer Node 18+ e o Claude Code instalado.

Métricas

Estrelas
2
Forks
0
Acompanhando
0
Saúde
71%
Último commit
há 1 dia
Versão
v0.71.21
Issues abertas
16
Contribuidores
11

Casos de uso

  • Sincronizar configurações de desenvolvimento entre múltiplos computadores
  • Configurar ambiente local com shell Fish otimizado e ferramentas modernas
  • Centralizar e versionizar settings de editor, terminal e CLI tools

Veredito

Dotfiles bem estruturado e maduro para quem quer automatizar setup de ambiente development. Usa ferramentas modernas (Fish, Starship, Neovim) e chezmoi para replicação cross-platform; requer familiaridade com CLI para aproveitar.

README

A tradução para o português deste README ainda está na fila.

Overview

  • Simplification of environment construction
  • Unification of environment across multiple platforms

This repository is managed with chezmoi. Fish is the shell (~/.config/fish/conf.d/), with Starship as the interactive prompt. Also included: Neovim, Git (split config + delta), mise, optional Ghostty / Zellij configs, and scripts under bin/.

Prerequisites

Required Tools

These cover the Fish-first workflow and shared tooling (Git, editor, mise, CLI utilities).

brew install git gh fish nvim mise eza bat fd ripgrep starship zoxide fzf git-delta

Required Homebrew tool descriptions

  • git - Version control system
  • gh - GitHub CLI (used by shell prompts and aliases)
  • fish - Fish shell (primary shell for this dotfiles set)
  • nvim - Neovim text editor
  • mise - Runtime version manager
  • eza - Modern replacement for ls
  • bat - Modern replacement for cat with syntax highlighting
  • fd - Fast and user-friendly alternative to find
  • ripgrep - Fast search tool (rg command)
  • starship - Minimal, fast prompt (starship.rs); Fish loads it from config.fish, config at ~/.config/starship.toml
  • zoxide - Smarter cd command that learns your habits
  • fzf - Command-line fuzzy finder (used with zoxide and Fish key bindings)
  • git-delta - Syntax-highlighting pager for git, diff, and grep output

Optional Tools

brew install ffmpeg marp-cli gitui ghostty zellij smartmontools rtk

Optional Homebrew tool descriptions

  • ffmpeg - Multimedia framework (required for video/audio processing)
  • marp-cli - Markdown to PDF/PowerPoint converter
  • gitui - Terminal UI for git commands
  • ghostty - Terminal emulator; config lives under ~/.config/ghostty/ (see Configuration)
  • zellij - Terminal multiplexer; config under ~/.config/zellij/
  • smartmontools - S.M.A.R.T. disk health monitoring (smartctl)
  • rtk - CLI proxy that reduces LLM token usage by 60–90% (rtk-ai/rtk); after install, run rtk init -g to configure Claude Code hooks

After installing rtk, initialize the Claude Code hook:

rtk init -g

Installation

Using chezmoi (Recommended)

1. Install chezmoi

brew install chezmoi

2. Initialize with this repository

chezmoi init --ssh toshiki670

3. Preview changes (optional)

chezmoi diff

4. Apply the dotfiles

chezmoi apply

5. Restart Shell

exec fish -l

6. Set login shell (recommended for Fish)

chsh -s "$(which fish)"

Configuration

Shell (Fish)

Modular config under ~/.config/fish/conf.d/. Interactive sessions run starship init fish from config.fish; prompt styling lives in ~/.config/starship.toml.

Environment Variables (Using Mise)

Create global configuration file: ~/.config/mise/config.toml

[env]
# yt-dlp browser selection
# Options: "chrome:Default", "chrome:Profile 1", "firefox", "safari", "edge"
YT_BROWSER = "chrome:Default"

Note: To check your Chrome profile name, visit chrome://version/ and look for the "Profile Path".

Apply changes:

exec $SHELL -l

Ghostty (macOS)

On macOS, chezmoi apply runs a hook that symlinks Ghostty’s expected config path to ~/.config/ghostty/config. If you use Ghostty, install it separately (see Optional Tools). Ghostty works well as the terminal for a Fish-centric setup.

Platform-Specific Notes

macOS

  • Homebrew configurations will be applied automatically
  • Custom binaries in bin/ will be added to PATH
  • Ghostty config symlink is set up as described above

Development

See CONTRIBUTING.md for lint, test, and release instructions. To trigger a release directly: Run Release Workflow.

Ver o original no GitHub

Bom para

Relacionados