v1.0

Configuration

setup.fdf

The setup.fdf file tells fdf what to do with your dotfiles. It should be in the root of your dotfiles repository.

Syntax

Each line is a command. Comments start with #.

PUT command

Copy a file from your repo to a destination:

PUT .bashrc IN ~/.bashrc
PUT config/nvim IN ~/.config/nvim

RUN command

Execute a shell command:

RUN chmod +x ~/.local/bin/myscript

END FETCH

Marks the end of the config (required):

END FETCH

Full Example

# my dotfiles setup

PUT .bashrc IN ~/.bashrc
PUT .zshrc IN ~/.zshrc
PUT .vimrc IN ~/.vimrc
PUT .config/nvim IN ~/.config/nvim

RUN source ~/.bashrc

END FETCH

Tips

  • Paths are relative to the repo root
  • Use ~ for home directory
  • Directories are copied recursively
  • Existing files are backed up to ~/.fdf_backup/