
michael-duren/dotfiles
Developer tools이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
Personal dotfiles managed with GNU Stow.
개요
Personal dotfiles managed with GNU Stow. This repository uses GNU Stow to manage symlinks. All dotfiles are in the dotfiles/ package directory: - dotfiles/.config/nvim/ - Neovim configuration - dotfiles/.config/tmux/ - Tmux configuration - dotfiles/.config/ghostty/ - Ghostty terminal configuration - dotfiles/.config/hive/ - Hive configuration - dotfiles/.config/zls.json - Zig Language Server configuration - dotfiles/.local/bin/ - Custom scripts - dotfiles/.zshrc - Zsh configuration (merged macOS/Linux with OS detection) - dotfiles/.wezterm.lua - WezTerm terminal configuration - dotfiles/.ideavimrc - IntelliJ IDEA Vim plugin configuration - dotfiles/.vsvimrc - Visual Studio Vim configuration This installs Oh My Zsh, Powerlevel10k, and required zsh plugins. This will symlink all dotfiles from the dotfiles/ directory to your home directory. GNU Stow creates symlinks from the dotfiles repo to your home directory. For example: The .
README
원문 README의 일부입니다. 원문 보기.
Dotfiles
Personal dotfiles managed with GNU Stow.
Structure
This repository uses GNU Stow to manage symlinks. All dotfiles are in the dotfiles/ package directory:
dotfiles/.config/nvim/- Neovim configurationdotfiles/.config/tmux/- Tmux configurationdotfiles/.config/ghostty/- Ghostty terminal configurationdotfiles/.config/hive/- Hive configurationdotfiles/.config/zls.json- Zig Language Server configurationdotfiles/.local/bin/- Custom scriptsdotfiles/.zshrc- Zsh configuration (merged macOS/Linux with OS detection)dotfiles/.wezterm.lua- WezTerm terminal configurationdotfiles/.ideavimrc- IntelliJ IDEA Vim plugin configurationdotfiles/.vsvimrc- Visual Studio Vim configuration
Prerequisites
Install GNU Stow
macOS:
brew install stow
Linux (Debian/Ubuntu):
sudo apt install stow
Linux (Arch):
sudo pacman -S stow
Installation
-
Clone this repository:
git clone https://github.com/yourusername/dotfiles.git ~/Code/dotfiles cd ~/Code/dotfiles -
(Optional) Install Zsh dependencies:
./install-zsh-deps.shThis installs Oh My Zsh, Powerlevel10k, and required zsh plugins.
-
Remove existing configs that conflict:
# Backup your current configs if needed mv ~/.zshrc ~/.zshrc.backup rm ~/.config/nvim # if it's a symlink # etc. -
Install dotfiles using GNU Stow:
stow dotfilesThis will symlink all dotfiles from the
dotfiles/directory to your home directory. -
Reload your shell:
source ~/.zshrc
How GNU Stow Works
GNU Stow creates symlinks from the dotfiles repo to your home directory. For example:
~/Code/dotfiles/.config/nvim/init.lua → ~/.config/nvim/init.lua
~/Code/dotfiles/.zshrc → ~/.zshrc
~/Code/dotfiles/.config/tmux/tmux.conf → ~/.config/tmux/tmux.conf
Usage
Installing dotfiles
cd ~/Code/dotfiles
stow dotfiles
Removing dotfiles
cd ~/Code/dotfiles
stow -D dotfiles
Restowing (useful after updates)
cd ~/Code/dotfiles
stow -R dotfiles
Dry run (see what would happen)
stow -n dotfiles
Verbose output
stow -v dotfiles
Platform-Specific Notes
Zsh Configuration
The .zshrc file includes OS detection via $OSTYPE:
- macOS-specific configs (Homebrew, Bun, Android Studio, etc.) only load on macOS
- Shared configs (aliases, Go, vim, etc.) work on both platforms
- Linux-specific configs can be added in the
elsebranch
Local Overrides
Create ~/.zshrc.local for machine-specific configurations (API keys, local paths, etc.). This file is gitignored and sourced automatically.
Troubleshooting
Conflicts
If stow reports conflicts (files already exist), you have a few options:
추천 도구
다른 키워드를 입력하거나 필터를 제거해 보세요.
설치
npx skillfish add michael-duren/dotfiles