Skip to content

Commit

Permalink
feat(aws-cli): use XDG base dir for aws-cli
Browse files Browse the repository at this point in the history
  • Loading branch information
kirintwn committed Jul 4, 2020
1 parent 528299b commit 45c1c47
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .zshenv
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ 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,docker}
# mkdir -p "$XDG_CONFIG_HOME"/{asdf,docker,aws}
# mkdir -p "$XDG_DATA_HOME"/{zsh,zinit,zlua,node,asdf,docker-machine}
# mkdir -p "$XDG_CACHE_HOME"/zcompdump

Expand Down Expand Up @@ -41,6 +41,10 @@ export MACHINE_STORAGE_PATH="$XDG_DATA_HOME"/docker-machine
# k9s
export K9SCONFIG="$XDG_CONFIG_HOME"/k9s

# aws-cli
export AWS_SHARED_CREDENTIALS_FILE="$XDG_CONFIG_HOME"/aws/credentials
export AWS_CONFIG_FILE="$XDG_CONFIG_HOME"/aws/config

# Disable unneeded histories
## less
export LESSHISTFILE=-
Expand Down

0 comments on commit 45c1c47

Please sign in to comment.