Skip to content

ptrpl4/dotfiles

 
 

Repository files navigation

Dotfiles

Config files and settings for macOS (primary) and Linux. Based on mathiasbynens/dotfiles and CoreyMSchafer/dotfiles

Setup

git clone git@github.com:ptrpl4/dotfiles.git ~/dotfiles && cd ~/dotfiles
touch .private   # machine-specific config, see below
./install.sh

.private variables

# 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")

.private-gitconfig (optional)

Override git identity per machine. Included by .gitconfig automatically.

[user]
    name = Work Name
    email = work@company.com

Troubleshooting

  • Check ~/dotfiles/backups — previous versions of overwritten files are saved there
  • NVM and Docker are expected to be installed

TODO

  • Add make help target
  • Add restore script (brew bundle install, etc.)
  • Add syncing settings backup

Prompt

Features:

  • Git branch with sync status (✓ synced, ↑ ahead, ↓ behind)
  • Command execution time (if > 1s)
  • Auto-adaptive colors (switches with terminal theme)

About

My dotfiles and personal settings

Resources

Stars

Watchers

Forks

Contributors

Languages

  • Shell 61.0%
  • CSS 38.1%
  • Makefile 0.9%