dotbot: fix glob error in python < v3.5

This commit is contained in:
2023-03-19 02:10:04 +02:00
parent 04c85245cc
commit 03aacb0639
2 changed files with 30 additions and 5 deletions

26
install-without-plugins Executable file
View File

@@ -0,0 +1,26 @@
#!/usr/bin/env bash
set -e
CONFIG="install.conf.yaml"
DOTBOT_DIR="dotbot"
DOTBOT_BIN="bin/dotbot"
BASEDIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
cd "$BASEDIR"
git submodule sync --quiet --recursive
git submodule update --init --recursive
"${BASEDIR}/${DOTBOT_DIR}/${DOTBOT_BIN}" \
-d "${BASEDIR}" \
-c "${CONFIG}" \
"${@}"
# --plugin-dir=dotbot-plugins/dotbot-brew \
# --plugin-dir=dotbot-plugins/dotbot-gh-extension \
# --plugin-dir=dotbot-plugins/dotbot-golang \
# --plugin-dir=dotbot-plugins/dotbot-if \
# --plugin-dir=dotbot-plugins/dotbot-ifplatform \
# -p dotbot-plugins/dotbot-if/if.py \

View File

@@ -23,23 +23,22 @@
mode: 700
~/Code:
- link:
~/.config/:
glob: true
path: config/**
path: config/*
~/.local/bin/:
glob: true
path: local/bin/**
path: local/bin/*
~/.ssh/:
force: true
glob: true
mode: 600
path: ssh/**
path: ssh/*
~/:
force: true
glob: true
path: base/**
path: base/*
prefix: "."
- shell: