Expand Dotfile syntax support to not require a <source> argument

Supported action syntax:

- `<action>: <source> -> <target>`
- `<action>: -> <target>`
- `<source> -> <target>`
- `-> <target>`
This commit is contained in:
2014-03-08 13:29:07 +00:00
parent 8fa09ea3c3
commit e0f0177301
3 changed files with 35 additions and 3 deletions

View File

@@ -24,9 +24,13 @@ gitignore -> .gitignore
hgrc -> .hgrc
irbrc -> .irbrc
powconfig -> .powconfig
rspec -> .rspec
tmux -> .tmux
tmux.conf -> .tmux.conf
# The following examples uses the link action, without specifying a <source>,
# in this case the link action is smart enough to determine the source value
# for ".rspec" for example to be "rspec".
link: -> .rspec
-> .tmux
-> .tmux.conf
# The same source can be symlinked to multiple targets.
load_shellrc.sh -> .profile