Skip to content

LarsEckart/dotfiles

Repository files navigation

Dotfiles

Installation

Quick installation guide, backs up original dot files and stores them out of the way in a git ignored directory.

git clone git@github.com:LarsEckart/dotfiles.git ~/.dotfiles
mkdir -p ~/.dotfiles/backups

# Backup existing files
mv ~/.gitconfig ~/.dotfiles/backups/ 2>/dev/null || true

# Shell configuration (ZSH)
ln -s ~/.dotfiles/shell/.zshenv ~/.zshenv
ln -s ~/.dotfiles/shell/.zshrc ~/.zshrc
ln -s ~/.dotfiles/shell/.zsh_exports ~/.zsh_exports
ln -s ~/.dotfiles/shell/.zsh_functions ~/.zsh_functions
ln -s ~/.dotfiles/shell/.aliases ~/.aliases

# Git configuration
ln -s ~/.dotfiles/git/.gitconfig ~/.gitconfig
ln -s ~/.dotfiles/git/.gitattributes ~/.gitattributes
ln -s ~/.dotfiles/git/.gitignore_global ~/.gitignore_global

# Zed configuration
mkdir -p ~/.config/zed/themes
ln -s ~/.dotfiles/zed/settings.json ~/.config/zed/settings.json
ln -s ~/.dotfiles/zed/themes/Casablanca.json ~/.config/zed/themes/Casablanca.json
ln -s ~/.dotfiles/zed/themes/NeoSolarized.json ~/.config/zed/themes/NeoSolarized.json
ln -s ~/.dotfiles/zed/themes/Github\ Theme.json ~/.config/zed/themes/Github\ Theme.json
ln -s ~/.dotfiles/zed/themes/macOS\ Classic.json ~/.config/zed/themes/macOS\ Classic.json

# Ghostty configuration
mkdir -p ~/.config/ghostty
ln -s ~/.dotfiles/ghostty/ghostty.conf ~/.config/ghostty/config

# tmux configuration
mkdir -p ~/.config/tmux
ln -s ~/.dotfiles/tmux/tmux.conf ~/.config/tmux/tmux.conf

# Other dotfiles
ln -s ~/.dotfiles/.hushlogin ~/.hushlogin
ln -s ~/.dotfiles/.vimrc ~/.vimrc

Or use the Makefile:

make install          # Install all configurations
make setup-macos      # Run macOS defaults setup
make brew-install     # Install Homebrew packages

Setup for multiple git identities is also described here.

Fonts

  • JetBrains Mono

Others

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •