How rockyzhang24/dotfiles works
This project is a collection of dotfiles for macOS and Linux systems – a highly modular configuration repository. Its purpose is to provide and manage custom configurations (or “dotfiles”) for a variety of system tools and applications, such as terminal emulators, editors, shells, window managers, file managers, and more. The repository is managed using a “bare” Git repository approach, which avoids the need for symlinks since the dotfiles live directly in the home directory.
Main Components
• Central Dotfiles Repository: At the heart of the design is the bare Git repository, which holds all the configuration files.
• Configuration Directories: Organize the key components based on the directory structure, for example:
• Shell: Zsh (with its own subdirectories for completions, keybindings, function scripts, etc.).
• Terminal Emulators: Multiple configurations such as Kitty, Wezterm, and Alacritty (each with dedicated config folders).
• Window Manager and Interaction Tools: yabai and skhd for tiling window management.
• Console File Managers: lf, vifm, and ranger (each with custom configuration files).
• Miscellaneous Tools: Tmux, fzf, Karabiner-Elements, and custom user scripts (located in .config/bin).
Relationships and Interactions
• The Dotfiles Repo (bare repository) is the central node. All the various configuration directories (Neovim, Zsh, Kitty, etc.) branch out from it.
• For development tools like Neovim and fzf, show interactions such as plugin management, language server configuration (LSP), and integration with Git.
Relevant Technologies and Libraries
• Applications and frameworks by name, for instance:
• Neovim and its ecosystem (plugins, LSP configurations).
• Zsh managed by Zim with Powerlevel10k theme.
• Terminal Emulators: Kitty, WezTerm, Alacritty with custom themes.
• Tiling window manager (yabai) and a keyboard customizer (Karabiner-Elements).
• Tools like Tmux, fzf, and file managers (lf, vifm, ranger).
• Git configuration details for managing the repo with the alias (dot) commands.