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"