Skip to content

Latest commit

ย 

History

526 Commits

Folders and files

NameName
Last commit message
Last commit date
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

dotfiles

My personal dotfiles โ€” meticulously curated configurations for the ultimate terminal-centric development environment. Managed by Dotbot with a two-phase installer that works across Linux and macOS.

zsh ยท bash ยท fish ย |ย  Linux ยท macOS ย |ย  tmux ยท neovim ยท Claude Code

One-Click Install

bash <(curl -fsSL https://raw.githubusercontent.com/magic3007/dotfiles/master/bootstrap.sh)

Bootstraps everything: SSH keys โ†’ Claude Code โ†’ repo clone โ†’ ./install โ†’ git config โ†’ wechat-reminder. All API keys and env vars land in ~/.common_shell_setup_local.sh (never committed).

Manual install
git clone --recursive https://github.com/magic3007/dotfiles.git ~/dotfiles
cd ~/dotfiles
./install          # idempotent โ€” safe to re-run
./install -n       # dry run

What's Configured

Shell & Prompt

Tool Config
zsh oh-my-zsh + autosuggestions + syntax-highlighting + vi-mode + autojump + wakatime
bash shared aliases, functions, and env vars via common_shell_setup.sh
fish Fisher plugins, lazy-loaded functions, modular conf.d structure
starship Cross-shell prompt with custom styling

Terminal & Multiplexer

Tool Config
tmux Status bar, keybindings, mouse support
cmux Session/tab/panel JSON config
Warp Modern terminal settings
iTerm2 macOS โ€” plist sync, custom profile
Ghostty Cross-platform GPU terminal
zellij (installed via Homebrew/apt)

Editor & IDE

Tool Config
neovim NvChad (full IDE) + nvim-basic-ide (lightweight), LSP, treesitter
vim vimrc with plugin management, undo history, extensive settings
VSCode Settings sync via vscoderc
ideavim JetBrains Vim emulation
Cursor macOS โ€” keybindings + settings
Antigravity macOS โ€” keybindings + settings

Git

Tool Config
gitconfig Aliases (st/co/di/dc/grโ€ฆ), fast-forward-only pull, custom hooks path
lazygit (installed via Homebrew/apt)

File Management

Tool Config
ranger Plugins, rifle, custom commands, scope.sh
joshuto Rust file manager โ€” keymap, mimetype, theme
yazi Rust file manager โ€” keymap, theme
lsd Modern ls replacement

AI Coding Tools

Tool Config
Claude Code Settings, hooks, skills, agents, commands, rules, API wrappers for 6+ backends
Codex OpenAI Codex config, env, skills
Gemini CLI Settings, skills
Opencode Config, package.json
Pi Models + settings
Kimi Code config.toml
ChatGPT Shell helper

ไปปๅŠกๅฎŒๆˆๆ้†’ๅผ€ๅ…ณ๏ผˆ้ป˜่ฎคๅ…ณ้—ญ๏ผ‰๏ผšEND_REMINDER_ENABLE ๆŽงๅˆถ Claude Codeใ€Codex ๅ’Œ Pi ไปปๅŠก็ป“ๆŸๆ—ถ็š„ wechat-reminder ้ฃžไนฆ/ๅพฎไฟก้€š็Ÿฅใ€‚่ฎพไธบ 1 ๅฏ็”จ๏ผˆๅฆ‚ END_REMINDER_ENABLE=1 claude๏ผ‰๏ผŒๆœช่ฎพ็ฝฎ / 0 ๆ—ถ้™้ป˜ใ€‚

Shell Aliases

cc        # Claude Code โ€” native Anthropic API
sdcc      # Claude Code โ€” VolcEngine (doubao-seed-2.0-lite)
dscc      # Claude Code โ€” DeepSeek (v4-flash)
dsccpro   # Claude Code โ€” DeepSeek (v4-pro)
kmcc      # Claude Code โ€” Kimi via OpenRouter
kmcc2     # Claude Code โ€” Kimi direct
mxcc      # Claude Code โ€” MiniMax via OpenRouter
mmcc      # Claude Code โ€” MiMo
gm        # Google Gemini CLI
oc        # Opencode

macOS Window Management

Tool Config
Karabiner Keyboard remapping, complex modifications, assets
skhd Hotkey daemon
yabai Tiling window manager

Language & Package Managers

Tool Config
cargo rsproxy.cn mirror
pip TUNA mirror (tsinghua)
conda / mamba TUNA mirror
npm npmmirror.com
R .Rprofile

Debugging & Profiling

Tool Config
gdb Dashboard, reverse engineering helpers, STL pretty-printers

Containers

Tool Config
Docker Dockerfiles for CUDA/PyTorch/Ubuntu dev environments, GUI setup guide

CLI Enhancements

Tool Config
bat bat โ€” syntax-highlighted cat
fzf Fuzzy finder
yolo ~/.local/bin/yolo โ€” generic LLM-powered shell helper script

Productivity & Knowledge

Tool Config
Obsidian Plugins, appearance, core plugin settings
wechat-reminder Dual-channel (WeChat PushDeer + Feishu webhook), Claude Code hook integration

Local Customization

Machine-specific overrides โ€” gitignored:

File Purpose
~/.gitconfig_local Git user name/email
~/.zsh_local Zsh overrides
~/.bash_local Bash overrides
~/.common_shell_setup_local.sh API keys, webhook URLs, env vars
~/.config/fish/conf.d/local.fish Fish overrides

Architecture

dotfiles/
โ”œโ”€โ”€ claude/          โ†’ ~/.claude/         Claude Code (hooks, skills, agents, settings)
โ”œโ”€โ”€ codex/           โ†’ ~/.codex/          OpenAI Codex
โ”œโ”€โ”€ gemini/          โ†’ ~/.gemini/         Google Gemini CLI
โ”œโ”€โ”€ opencode/        โ†’ ~/.config/opencode/ Opencode
โ”œโ”€โ”€ pi/              โ†’ ~/.pi/agent/       Pi coding agent
โ”œโ”€โ”€ kimi-code/       โ†’ ~/.kimi-code/      Kimi Code
โ”œโ”€โ”€ neovim/          โ†’ ~/.config/nvim/    NvChad + basic-ide
โ”œโ”€โ”€ vim/             โ†’ ~/.vim_runtime/    Vim config + plugins
โ”œโ”€โ”€ git/             โ†’ ~/.gitconfig       Git aliases + hooks
โ”œโ”€โ”€ starship/        โ†’ ~/.config/starship.toml
โ”œโ”€โ”€ fish/            โ†’ ~/.config/fish/    Fish shell
โ”œโ”€โ”€ ranger/          โ†’ ~/.config/ranger/  Ranger file manager
โ”œโ”€โ”€ joshuto/         โ†’ ~/.config/joshuto/ Joshuto file manager
โ”œโ”€โ”€ yazi/            โ†’ ~/.config/yazi/    Yazi file manager
โ”œโ”€โ”€ lsd/             โ†’ ~/.config/lsd/     LSD config
โ”œโ”€โ”€ bat/             โ†’ ~/.config/bat/     Bat config
โ”œโ”€โ”€ gdb/             โ†’ ~/.gdbinit + ~/.gdb/
โ”œโ”€โ”€ ghostty/         โ†’ ~/.config/ghostty/
โ”œโ”€โ”€ karabiner/       โ†’ ~/.config/karabiner/   (macOS)
โ”œโ”€โ”€ skhd/            โ†’ ~/.skhdrc + ~/.skhd/   (macOS)
โ”œโ”€โ”€ cursor_config/   โ†’ Cursor settings        (macOS)
โ”œโ”€โ”€ antigravity_config/ โ†’ Antigravity settings (macOS)
โ”œโ”€โ”€ iterm2/          โ†’ iTerm2 plist          (macOS)
โ”œโ”€โ”€ obsidian/        โ†’ Obsidian vault settings
โ”œโ”€โ”€ docker/          โ†’ Dev Dockerfiles
โ”œโ”€โ”€ install-scripts/ โ†’ Platform package installers
โ””โ”€โ”€ wechat-reminder/ โ†’ Dual-channel notification tool

Reference

  • Dotbot โ€” dotfile management
  • CLAUDE.md โ€” full development guide and constraints

About

๐Ÿค— A collection of docker, gdb, git, vim, neovim, zsh, ranger, conda, and tmux configuration files and setup script under various OS.

Topics

Resources

Stars

11 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages