From 076939da8ee683d3cba791914c227f29c21fe042 Mon Sep 17 00:00:00 2001 From: Anish Athalye Date: Wed, 2 Jun 2021 20:23:55 -0400 Subject: [PATCH] Remove stray asterisk --- README.md | 2 +- dotbot/plugins/link.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 24eff10..026b15d 100644 --- a/README.md +++ b/README.md @@ -183,7 +183,7 @@ mapped to extended configuration dictionaries. | `canonicalize` | Resolve any symbolic links encountered in the source to symlink to the canonical path (default: true, real paths) | | `if` | Execute this in your `$SHELL` and only link if it is successful. | | `ignore-missing` | Do not fail if the source is missing and create the link anyway (default: false) | -| `glob` | Treat `path` as a glob pattern, expanding patterns referenced below, linking all *files** matched. (default: false) | +| `glob` | Treat `path` as a glob pattern, expanding patterns referenced below, linking all *files* matched. (default: false) | | `exclude` | Array of glob patterns to remove from glob matches. Uses same syntax as `path`. Ignored if `glob` is `false`. (default: empty, keep all matches) | | `prefix` | Prepend prefix prefix to basename of each file when linked, when `glob` is `true`. (default: '') | diff --git a/dotbot/plugins/link.py b/dotbot/plugins/link.py index 555bcea..435e886 100644 --- a/dotbot/plugins/link.py +++ b/dotbot/plugins/link.py @@ -85,7 +85,7 @@ class Link(dotbot.Plugin): glob_item = (glob_full_item if len(glob_dirname) == 0 else glob_full_item[len(glob_dirname) + 1:]) # Add prefix to basepath, if provided if base_prefix: - glob_item = base_prefix + glob_item + glob_item = base_prefix + glob_item # where is it going glob_link_destination = os.path.join(destination, glob_item) if create: