Config files and settings for macOS (primary) and Linux. Based on mathiasbynens/dotfiles and CoreyMSchafer/dotfiles
git clone git@github.com:ptrpl4/dotfiles.git ~/dotfiles && cd ~/dotfiles
touch .private # machine-specific config, see below
./install.sh# Zed editor profile: "work" or "home" (defaults to "home")
ZED_PROFILE="home"
# Obsidian vault paths for settings sync
OBSIDIAN_VAULTS=("$HOME/path/to/vault1" "$HOME/path/to/vault2")Override git identity per machine. Included by .gitconfig automatically.
[user]
name = Work Name
email = work@company.com- Check
~/dotfiles/backups— previous versions of overwritten files are saved there - NVM and Docker are expected to be installed
Manage Claude Code session files in ~/.claude/projects/.
cs ls # list all sessions grouped by project
cs ls --folders # list projects only (no session detail)
cs thin <n> # delete sessions with ≤ n user messages
cs clean <days> # delete sessions older than n days
cs delete <id> # delete a session by ID (partial match ok)
Deleting a session also removes its ~/.claude/file-history/<id>/ directory.
- Add
make helptarget - Add restore script (
brew bundle install, etc.) - Add syncing settings backup
Features:
- Git branch with sync status (✓ synced, ↑ ahead, ↓ behind)
- Command execution time (if > 1s)
- Auto-adaptive colors (switches with terminal theme)