Skip to content
This repository has been archived by the owner on Feb 26, 2023. It is now read-only.

Add a links source directive to specify in which subfolder to search for files #23

Open
ealprr opened this issue Jun 12, 2018 · 0 comments

Comments

@ealprr
Copy link

ealprr commented Jun 12, 2018

With a dotfiles repository organize with folder (previous GNU stow user for example) like:

dotfiles
   |-git
      |-.gitconfig
   |-vim
      |-.vimrc
      |-.vim/
   |-bash
   | ...

A directive links-src or links-from would be very usefull. Instead of:

[tasks.vim]
    links = [
        [".vimrc", "vim/.vimrc"],
        [".vim", "vim/.vim"],
    ]

One could write:

[tasks.vim]
    links-src = "vim"
    links = [
        [".vimrc"],
        [".vim"],
    ]
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant