Add docker config, fix glob paths

This commit is contained in:
2023-04-01 22:32:27 +03:00
parent dd3640586e
commit cceeba3f8e
2 changed files with 11 additions and 5 deletions

View File

@@ -52,6 +52,12 @@ if command -v nvim &> /dev/null; then
export EDITOR="nvim"
fi
# docker, https://docs.docker.com/engine/reference/commandline/cli/
if command -v docker &> /dev/null; then
export DOCKER_CONFIG="$XDG_CONFIG_HOME/docker"
mkdir -p "$DOCKER_CONFIG"
fi
# z, https://github.com/rupa/z
export _Z_DATA="$XDG_STATE_HOME/z"

View File

@@ -7,7 +7,7 @@
link:
create: true
relink: true
exclude: ["*.md"]
exclude: ["*.md", "*renovate*"]
- clean:
~/:
~/.config:
@@ -25,19 +25,19 @@
- link:
~/.config/:
glob: true
path: config/*
path: config/**
~/.local/bin/:
glob: true
path: local/bin/*
path: local/bin/**
~/.ssh/:
force: true
glob: true
mode: 0600
path: ssh/*
path: ssh/**
~/:
force: true
glob: true
path: base/*
path: base/**
prefix: "."
- shell:
- [git submodule update --init --recursive --force]