Skip to content

Cross platform dotfile manager - Linux, OSX and Windows (msys2)

License

Notifications You must be signed in to change notification settings

lachlankrautz/dotfile

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dotfile

Cross-platform dotfile manager - Linux, macOS and Windows (msys2|wsl)

Features

  • Sync config to home dir and /root home dir (optional)
  • Cross-platform links; mklink [/D] for windows, ln -s everywhere else
  • Import existing dotfile(s) into config dir
  • Backup existing files before replacing with links
  • Sync different files for different systems using repo groups (shared|msys|wsl|macos|linux|root)
  • Preview without making changes using -p, --preview

Install

Link the script into the PATH.

sudo make install

Setup

  • Edit config ~/.config/dotfile/config.ini
  • Import dotfiles into config repo
dotfile import .emacs.d/init.el

Usage

Run import to move a local dotfile into the config dir and create a link so that the local dotfile now points to the synced config.

dotfile import .emacs.d/init.el

Preview sync dotfiles (no writes).

dotfile -p sync

Sync dotfiles.

dotfile sync

About

Cross platform dotfile manager - Linux, OSX and Windows (msys2)

Resources

License

Stars

Watchers

Forks

Packages

No packages published