diff options
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 9 |
1 files changed, 4 insertions, 5 deletions
@@ -13,12 +13,11 @@ go get git.sr.ht/~benburwell/conf ## Usage -To start using conf, you'll need to specify source and destination directories. -This is currently done through environment variables. For example, to target -dotfiles in your home directory from a repository at ~/projects/dotfiles, use: +To start using conf, you'll need to specify a source directory. This is +currently done through an environment variable. For example, to use a repository +at ~/projects/dotfiles, use: * `CONF_SOURCE=~/projects/dotfiles` -* `CONF_DEST=~` Now, you can start adopting dotfiles for conf to manage. Let's start with `.vimrc`: @@ -28,7 +27,7 @@ $ conf adopt .vimrc ``` You can run this command from anywhere on your system, and conf will place a -copy of your `$CONF_DEST/.vimrc` file into `$CONF_SOURCE/templates/.vimrc`. +copy of your `~/.vimrc` file into `$CONF_SOURCE/templates/.vimrc`. Open up `$CONF_SOURCE/templates/.vimrc`, make a change, and then run `conf apply .vimrc`. You'll see that conf has updated your vimrc file with your latest |