Skip to content

tjkrz/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tjkrz's Dotfiles

Configuration files for consistent shell environment across multiple machines (arkadia, docker01, mu, krzroute).

What's Managed

  • Fish Shell (~/.config/fish/)
    • config.fish - SSH agent auto-start, GitHub SSH key, Claude Code CLI alias
    • functions/ - Custom functions (e.g., ai for quick directory navigation)
  • Bash (.bashrc)
  • Zsh (.zshrc)
  • Vim (.vimrc)
  • Tmux (.tmux.conf)
  • Git (.gitconfig)
  • Starship (.config/starship.toml)
  • Neofetch (.config/neofetch/config.conf)

Setup on New Machine

Initial Setup

# 1. Clone the repository
git clone git@github.com:tjkrz/dotfiles.git ~/dotfiles

# 2. Back up existing configs (if they exist)
cp ~/.config/fish/config.fish ~/.config/fish/config.fish.backup 2>/dev/null

# 3. Create symlinks
mkdir -p ~/.config/fish
ln -sf ~/dotfiles/.config/fish/config.fish ~/.config/fish/config.fish
ln -sf ~/dotfiles/.config/fish/functions ~/.config/fish/functions

# For other configs (as needed):
ln -sf ~/dotfiles/.bashrc ~/.bashrc
ln -sf ~/dotfiles/.zshrc ~/.zshrc
ln -sf ~/dotfiles/.vimrc ~/.vimrc
ln -sf ~/dotfiles/.tmux.conf ~/.tmux.conf
ln -sf ~/dotfiles/.gitconfig ~/.gitconfig
ln -sf ~/dotfiles/.config/starship.toml ~/.config/starship.toml

Update Existing Setup

# Pull latest changes
cd ~/dotfiles
git pull

# Restart shell to apply changes
exec fish  # or exec bash, exec zsh

Making Changes

  1. Edit the file in ~/dotfiles/ (it's symlinked, so editing either location works)
  2. Commit and push:
    cd ~/dotfiles
    git add -A
    git commit -m "Description of changes"
    git push
  3. On other machines, run cd ~/dotfiles && git pull

Philosophy

  • Multi-PC workflow: Same configs across arkadia, docker01, mu, krzroute
  • Version controlled: Track what changed and when
  • Symlinked: Edit once, committed centrally
  • Privacy-first: Sensitive data (API keys, tokens) stays in .gitignored files

Notes

  • Fish config auto-loads ~/.ssh/id_ed25519_github on shell start
  • SSH agent starts automatically if not running
  • Claude Code CLI available via claude alias

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •