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 ~/.vimrcOr use the Makefile:
make install # Install all configurations
make setup-macos # Run macOS defaults setup
make brew-install # Install Homebrew packagesSetup for multiple git identities is also described here.
- JetBrains Mono
- Generate a ssh key
- Generate gpg key (update gpg and install pinentry-mac through brew, do after install do
gpgconf --kill gpg-agentat the very end - Paste and match style: https://twitter.com/_overment/status/1627917465295507456