Skip to content

Commit

Permalink
feat(docker): use XDG base dir for docker
Browse files Browse the repository at this point in the history
  • Loading branch information
kirintwn committed Jul 4, 2020
1 parent 04d68b0 commit 528299b
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .zshenv
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ export XDG_CONFIG_HOME="$HOME"/.config
export XDG_CACHE_HOME="$HOME"/.cache
export XDG_DATA_HOME="$HOME"/.local/share

# mkdir -p "$XDG_CONFIG_HOME"/asdf
# mkdir -p "$XDG_DATA_HOME"/{zsh,zinit,zlua,node,asdf}
# mkdir -p "$XDG_CONFIG_HOME"/{asdf,docker}
# mkdir -p "$XDG_DATA_HOME"/{zsh,zinit,zlua,node,asdf,docker-machine}
# mkdir -p "$XDG_CACHE_HOME"/zcompdump

# zsh
Expand Down Expand Up @@ -34,6 +34,10 @@ export NODE_REPL_HISTORY="$XDG_DATA_HOME"/node/node_repl_history
# ToDo: python
# Reference: https://docs.python.org/3/library/readline.html?highlight=readline#example

# docker
export DOCKER_CONFIG="$XDG_CONFIG_HOME"/docker
export MACHINE_STORAGE_PATH="$XDG_DATA_HOME"/docker-machine

# k9s
export K9SCONFIG="$XDG_CONFIG_HOME"/k9s

Expand Down

0 comments on commit 528299b

Please sign in to comment.