Skip to content

Latest commit

 

History

History
81 lines (68 loc) · 3.9 KB

README.md

File metadata and controls

81 lines (68 loc) · 3.9 KB

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.

Note

This is as XDG Base Directory Standard compliant as possible!

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 substitute 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