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

Files that makes me feel at ~/!

Dotfiles

GitHub Stars GitHub Forks
SLOC Number of programming languages used Top programming languages used

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