Skip to content

Repository files navigation

MyDotrc

자동 설치

저장소를 clone한 뒤 설치할 그룹의 옵션을 지정해 실행한다. 인자 없이 실행하면 도움말을 표시하며, 옵션은 조합할 수 있다. --all은 모든 그룹을 설치한다.

./scripts/install.sh --help
./scripts/install.sh -h
./scripts/install.sh --cli
./scripts/install.sh --apps
./scripts/install.sh --fonts
./scripts/install.sh --agents
./scripts/install.sh --cli --agents
./scripts/install.sh --all

그룹별 설치의 독립적인 항목이 실패해도 가능한 나머지 작업은 계속 진행하며, 마지막에 실패 정보와 재실행 명령을 출력한다. 링크 충돌이나 필수 저장소 같은 전제 조건이 실패하면 변경 전에 안전하게 중단한다. 기존 설정과 충돌하는 파일이나 링크는 덮어쓰지 않는다.

설치전 작업

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

Auth 환경 구성

1Password

brew install --cask 1password 1password-cli
brew install gh
gh auth login

Repo 환경 작업

gh repo clone ujuc/dotrc ${HOME}/.config/dotrc -- --recurse-submodules

zsh 설정

  • CLI 테마
brew install starship
ln -sf ${DOTRCDIR}/starship.toml ${XDG_CONFIG_HOME}/starship.toml
brew install zimfw

zshrc 파일 링크

ln -sf ${HOME}/.config/dotrc/zshrc ${HOME}/.zshrc

CLI Packages

GNU library

  • xcode util에서 제공하는 라이브러리 말고 GNU 라이브러리를 사용하기 위해서 추가.
brew install coreutils
brew install bat
mkdir -p ${XDG_CONFIG_HOME}/bat
ln -sf ${DOTRCDIR}/batrc ${XDG_CONFIG_HOME}/bat/config
brew install eza
brew install zoxide
brew install fzf
brew install vim
  • 할께 있으면 하는걸로...

git

  • 따로 설치하지 않으면 xcode 에서 제공하는 git을 사용하게됨.
brew install git

구성

  • User
git config --global user.email ""
git config --global user.name ""
  • Core
git config --global core.autocrlf input
git config --global core.whitespace cr-at-eol,fix,trailing-space,-indent-with-non-tab
  • Merge
git config --global merge.conflictstyle zdiff3
  • Init
git config --global init.defaultBranch main
  • Commit
git config --global commit.template ${DOTRCDIR}/gitmessage
  • Hooks (커밋 메시지 동사형 -다 종결 검증)
git -C ${DOTRCDIR} config core.hooksPath .githooks
git -C ${DOTRCDIR}/agents config core.hooksPath .githooks
brew install git-delta
git config --global core.pager delta
git config --global interactive.diffFilter "delta --color-only"
git config --global delta.line-numbers true
git config --global delta.side-by-side true
git config --global delta.navigate true
git config --global delta.diff-so-fancy true
git config --global delta.hyperlinks true
brew install tig
mkdir -p ${XDG_CONFIG_HOME}/tig
ln -sf ${DOTRCDIR}/tigrc ${XDG_CONFIG_HOME}/tig/config
curl https://mise.run | sh

# Autocomplete
mise use -g uv
mise use -g node
  • YAML 파서. Claude 스킬 검증 스크립트에서 사용.
brew install yq

Agent

에이전트 설정은 ujuc/agent-stuff 저장소의 git submodule(agents/)로 관리됩니다.

Repo clone 시 --recurse-submodules 를 사용하지 않았다면:

cd ${DOTRCDIR}
git submodule update --init --recursive
curl -fsSL https://claude.ai/install.sh | bash
ln -sf ${DOTRCDIR}/agents/claude ${HOME}/.claude

Plugins

# Marketplaces
/plugin marketplace add anthropics/claude-plugins-official
/plugin marketplace add affaan-m/ECC
/plugin marketplace add jarrodwatts/claude-hud
/plugin marketplace add revfactory/harness
/plugin marketplace add ujuc/amp-plugin-cc
/plugin marketplace add openai/codex-plugin-cc
/plugin marketplace add warpdotdev/claude-code-warp

# Plugins
/plugin install superpowers@claude-plugins-official
/plugin install ecc@ecc
/plugin install claude-hud@claude-hud
/plugin install code-review@claude-plugins-official
/plugin install code-simplifier@claude-plugins-official
/plugin install feature-dev@claude-plugins-official
/plugin install claude-md-management@claude-plugins-official
/plugin install security-guidance@claude-plugins-official
/plugin install rust-analyzer-lsp@claude-plugins-official
/plugin install harness@harness-marketplace
/plugin install amp-plugin-cc@amp-plugin-cc
/plugin install codex@openai-codex
/plugin install warp@claude-code-warp

# claude-hud statusline 설정
/claude-hud:setup
  • superpowers — workflow skills 및 superpowers framework
  • everything-claude-code — 다수 스킬·커맨드 모음
  • claude-hud — statusline
  • code-review — 코드 리뷰 명령
  • code-simplifier — 코드 단순화
  • feature-dev — 기능 개발 가이드
  • claude-md-management — CLAUDE.md 관리
  • security-guidance — 보안 리뷰
  • rust-analyzer-lsp — Rust LSP 통합
  • harness — 에이전트 하네스 오케스트레이션
  • amp-plugin-cc — Amp Code 통합
  • codex — OpenAI Codex 통합 (Stop hook Review Gate)
  • warp — Warp terminal 통합

사용할때 연결

npm install -g @mariozechner/pi-coding-agent

전역 지침은 agent-stuff의 공용 rules/AGENTS.md를 심링크로 사용한다.

ln -sfn ${DOTRCDIR}/agents/rules/AGENTS.md ${HOME}/.codex/AGENTS.md

전역 스킬은 Claude 스킬 카탈로그를 스킬별 심링크로 재사용한다 (새 스킬 추가 시 재실행).

for d in ${DOTRCDIR}/agents/claude/skills/*/; do
  [ -f "$d/SKILL.md" ] && ln -sfn "${d%/}" ${HOME}/.codex/skills/$(basename "$d")
done

전역 공용 규칙은 amp/AGENTS.md에서 가져오고, Amp 전용 설정은 amp/settings.json에서 관리한다. 전역 스킬은 Amp가 ~/.claude/skills/를 자동으로 읽으므로 별도로 복제하지 않는다.

mkdir -p ${XDG_CONFIG_HOME}/amp
ln -sfn ${DOTRCDIR}/agents/amp/AGENTS.md ${XDG_CONFIG_HOME}/amp/AGENTS.md
ln -sfn ${DOTRCDIR}/agents/amp/settings.json ${XDG_CONFIG_HOME}/amp/settings.json

Apps

brew install --cask raycast
brew install --cask zed

ln -sf ${DOTRCDIR}/zed/settings.json ${XDG_CONFIG_HOME}/zed/settings.json
brew install --cask visual-studio-code
brew install ollama
ollama pull gemma3
ollama pull qwen3

Terminal

brew install --cask ghostty
mkdir -p ${XDG_CONFIG_HOME}/ghostty
ln -sf ${DOTRCDIR}/ghosttyrc ${XDG_CONFIG_HOME}/ghostty/config

Font

# google sans
brew install --cask font-google-sans-code

# MS cascdia code font https://github.com/microsoft/cascadia-code
brew install --cask font-cascadia-code
brew install --cask font-cascadia-code-nf

# D2 coding
brew install --cask font-d2coding-nerd-font

# ibm
brew install --cask font-ibm-plex-sans-kr
brew install --cask font-ibm-plex-serif

# noto
brew install --cask font-noto-color-emoji
brew install --cask font-noto-emoji
brew install --cask font-noto-sans-cjk
brew install --cask font-noto-serif-cjk

# nanum
brew install --cask font-nanum-square
brew install --cask font-nanum-square-neo
brew install --cask font-nanum-square-round

Config

Zsh

  • 업무용은 zshrc.work 파일을 이용

기타

SnapScan

sudo softwareupdate --install-rosetta --agree-to-license

brew install --cask fujitsu-scansnap-home

Google

brew install --cask google-drive

Adobe

brew install --cask adobe-creative-cloud

License

MIT

Releases

Packages

Used by

Contributors

Languages