diff options
author | Ben Burwell <ben@benburwell.com> | 2019-08-14 14:51:13 -0400 |
---|---|---|
committer | Ben Burwell <ben@benburwell.com> | 2019-08-14 14:51:13 -0400 |
commit | 34060154caf34fc8d709135be803e08855496614 (patch) | |
tree | 0a5eff5937ce87607a04ede46d9f7e32117996d3 /README.md | |
parent | 2659144eaafc3d6b53db1fa92f3bec83276a0b2d (diff) |
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 |