Skip to content

diohabara/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

807 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dotfiles

GitHub Actions

For macOS only.

setup

Quick setup

curl -fsSL https://raw.githubusercontent.com/diohabara/dotfiles/master/script/install | sh

Manual setup

git clone https://github.com/diohabara/dotfiles.git ~/.dotfiles
cd ~/.dotfiles
./script/setup.sh

Dry run

実際に変更を加えずに、何が実行されるかを確認できます:

# Quick setup の場合
curl -fsSL https://raw.githubusercontent.com/diohabara/dotfiles/master/script/install | sh -s -- --dry-run

# Manual setup の場合
./script/setup.sh --dry-run
# または
./script/setup.sh -n

GitHub Setup

Run gh auth login and follow the prompts. If needed, update the dotfiles remote:

cd ~/repo/github.com/diohabara/dotfiles
git remote set-url origin git@github.com:diohabara/dotfiles.git

./script/setup.sh also sets GitHub CLI's git protocol to SSH, so gh repo clone uses git@github.com: style URLs by default:

gh repo clone diohabara/cs101

zsh local overrides

Shared zsh config lives in ./.config/zsh/.zshrc. If you need machine-specific settings, put them in ~/.config/zsh/.zshrc.local. Tool-specific PATH tweaks and installer-generated hooks such as uv's ~/bin/env should stay there instead of being committed.

That file is loaded automatically at the end of .zshrc when it exists, and it is git-ignored so it can stay local-only.

About

For macOS and Linux(Ubuntu).

Topics

Resources

Stars

Watchers

Forks

Contributors