Skip to content

ysk1031/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

158 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dotfiles

Setup

Git Configuration

This repository uses .gitconfig.local to keep personal information (name, email) out of version control.

To set up the symlink:

ln -sf /path/to/dotfiles/.gitconfig ~/.gitconfig

After cloning, create ~/.gitconfig.local based on the example:

cp .gitconfig.local.example ~/.gitconfig.local
# Then edit ~/.gitconfig.local with your actual name and email

Or create ~/.gitconfig.local manually:

[user]
    name = Your Name
    email = your.email@example.com

Verify the configuration:

git config --list | grep user

Zsh

Portable zsh settings (aliases, functions, keybindings) are managed in my.zsh. To set up the symlink:

ln -s /path/to/dotfiles/my.zsh ~/.my.zsh

Then add the following line to the end of ~/.zshrc:

# Load portable zsh settings from dotfiles
source ~/.my.zsh

Included settings:

  • Aliases: g, gst, gd, gb, gf (git), ls, ll (eza), grep (rg), lzd (lazydocker), claude (safety wrapper)
  • Functions: peco_select_history, peco-src, lg
  • Keybindings: Ctrl+r (history search), Ctrl+] (ghq selector), Ctrl+g (lazygit)

Ghostty Terminal

Ghostty's configuration is managed in this repository. To set up the symlink:

# Backup existing config (if not already done)
mv ~/Library/Application\ Support/com.mitchellh.ghostty/config \
   ~/Library/Application\ Support/com.mitchellh.ghostty/config.backup

# Create symlink
ln -s /path/to/dotfiles/ghostty/config \
      ~/Library/Application\ Support/com.mitchellh.ghostty/config

After creating the symlink, restart Ghostty to apply the configuration.

Claude Code

Claude Code's configuration files are managed in this repository. The following files/directories are included:

  • settings.json - Main settings (language, permissions, hooks, plugins)
  • statusline-command.sh - Custom status line script
  • commands/ - Custom command definitions
  • skills/ - Skill definitions (commit, pr, weekly-report)

To set up the symlinks:

# Create symlinks for files
ln -sf /path/to/dotfiles/.claude/settings.json ~/.claude/settings.json
ln -sf /path/to/dotfiles/.claude/statusline-command.sh ~/.claude/statusline-command.sh

# Create symlinks for directories
ln -sf /path/to/dotfiles/.claude/commands ~/.claude/commands
ln -sf /path/to/dotfiles/.claude/skills ~/.claude/skills

After creating the symlinks, restart Claude Code to apply the configuration.

About

dotfile in local environment

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages