mirror of
1
0
Fork 0
dotbot/dotbot/plugins
Eric Engstrom 6c044208fa
feat: Add `prefix: 'string'` option to linking when `glob: true`.
Allows one to store files in a directory or git-repo without the leading 
`.`, as in:

```
dotconf:
├── README.md
├── bin
│   ├── dotbot
│   ├── look
│   ├── pbfile
│   └── ...
├── dot
│   ├── bashrc
│   ├── gitconfig
│   ├── gitignore
│   ├── gorc
│   ├── login
│   ├── ...
│   ├── zshrc
│   └── zshenv
```

Can take a many-line dotbot.yml listing **each** file in `dotconf/dot`,
reducing it to five lines:

```
- link:
    ~/:
      path: dotconf/dot/*
      glob: true
      prefix: '.'
```

FIXES: #259
2021-05-27 12:07:17 -05:00
..
__init__.py Add 'create' directive to create directories 2019-10-12 11:55:09 -04:00
clean.py Work around subprocess.call() issue on Windows 2020-05-01 11:52:51 -04:00
create.py Add mode option to create directive 2021-02-25 06:25:17 -05:00
link.py feat: Add `prefix: 'string'` option to linking when `glob: true`. 2021-05-27 12:07:17 -05:00
shell.py Add cli option force shell show stderr/stdout 2021-02-25 08:00:07 -05:00