1
0
My Unix config files and shell scripts, optimized for Fedora, Debian, macOS and Windows (in that order).
Go to file
2017-01-11 13:12:15 -08:00
home Update documentation to mention new command 2017-01-11 13:12:15 -08:00
misc Add sample .gtkrc-2.0 for panel text colors 2016-05-30 22:38:53 -07:00
zsh Add initial zsh configuration 2015-07-07 15:40:07 -07:00
.gitignore Replace old setup Python script with command 2017-01-11 12:31:21 -08:00
.gitmodules Add initial zsh configuration 2015-07-07 15:40:07 -07:00
make-submodules.py Submodules for vim plugins 2014-12-05 17:30:44 -08:00
README.md Update documentation to mention new command 2017-01-11 13:12:15 -08:00
setup Replace old setup Python script with command 2017-01-11 12:31:21 -08:00

Kirsle's Dotfiles

This repo is for my own personal use for syncing my Unix config files and scripts between my various devices. Feel free to look around and learn from my config scripts.

Setup

~$ git clone git@github.com:kirsle/.dotfiles
~$ ./.dotfiles/setup

Dotfiles Manager (dfm)

The dotfiles repo is managed by a dfm command, which gets installed into ~/bin automatically. (The .dotfiles/setup script is just an easy alias to this command).

See dfm --help for documentation. Briefly:

  • dfm setup creates symlinks to all the files in ./home into $HOME.
  • dfm update does a git pull and installs any new dotfiles.
  • dfm check-update reminds you every 15 days to run dfm update (but doesn't remind you more than once per 24 hours).

In case one of the target files already exists (and is not a symlink), it is copied into .dotfiles/backup before being deleted and relinked.

The commands take optional arguments:

  • dfm setup --force: forcefully re-link all dotfiles, deleting any links that already exist.
  • dfm setup --copy: tell it not to use symlinks but instead make normal file copies into $HOME.
  • dfm check-update --force: always show the update reminder.

The .dotfiles/setup script passes all options along to dfm, so you can do .dotfiles/setup --copy for example.

Layout

  • ./setup

    Installation script for the dotfiles. Creates symlinks for everything in ./home into $HOME.

    This will not delete existing files, such as ~/.bashrc. Use the --install option to make it do so.

  • ./home

    Everything in this folder will be symlinked to from your $HOME folder.