Skip to content
/ dotfiles Public

🏠 My personal dotfiles, following the XDG Base Directory Standard.

Notifications You must be signed in to change notification settings

erikw/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

log

the files that makes me feel at ~/

🏠 Dotfiles

GitHub Stars GitHub Forks
SLOC Number of programming languages used Top programming languages used Number of files in repo Repo file size XDG Compliancy

My personal dotfiles, installed and managed with dotbot.

Highlights

Installation

Bootstrap

Bootstrap using bin/dotfiles_bootstrap.sh:

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/erikw/dotfiles/main/bin/dotfiles_bootstrap.sh)"

This will interactively set up a GitHub SSH key, clone this repo and run ./install.

Local branch

Switch to a local branch for secret changes:

cd ~/src/github.com/erikw/dotfiles
git checkout -b local

and after making some changes to the branch, squash to one commit:

git commit -m "SQUASHED passwords"

Host-specific configuration

  • Passwords and other secretes are censored. To find these and substitue them for the real thing, do:
     grep -nr GIT-CENSORED . | grep -v README.md | grep -v "/.git/"
  • Set DESKTYPE in $XDG_CONFIG_HOME/shell/commons, unless system is macos.
  • Default desktop is assumed to be macOS. Go through host-specific manual settings by searching for the corresponding tag.
     grep -nr MACOS-CONFIG . 2>/dev/null | grep -v README.md
     grep -nr LINUX-CONFIG . 2>/dev/null | grep -v README.md
     grep -nr FREEBSD-CONFIG . 2>/dev/null | grep -v README.md

GitHub SSH Config File

To ensure success, use a manual entry like this (modify output from [bin/ssh-keygen.sh]:

~/.ssh/config
Host github.com
	User git
	Port 22
	PreferredAuthentications publickey
	IdentityFile ~/.ssh/identityfiles/REDACT