Skip to content

Commit

Permalink
Move aws-cli config directories under XDG Base Directory
Browse files Browse the repository at this point in the history
  • Loading branch information
machupicchubeta committed Jan 23, 2024
1 parent 27f1523 commit 4546025
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .bash/variables.sh
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,8 @@ export HISTIGNORE="history:cd:pwd:exit:date:* --help"
export TERM=xterm-256color

export AWS_PROFILE=default
export AWS_CONFIG_FILE="$XDG_CONFIG_HOME/aws/config"
export AWS_SHARED_CREDENTIALS_FILE="$XDG_CONFIG_HOME/aws/credentials"

export DISABLE_SPRING=1

Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@
.vim/swaps/*
.vim/tags
.vim/undo/*
config/aws/*
2 changes: 2 additions & 0 deletions .zsh/variables.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,8 @@ export HISTFILE=~/.zsh_history
export TERM=xterm-256color

export AWS_PROFILE=default
export AWS_CONFIG_FILE="$XDG_CONFIG_HOME/aws/config"
export AWS_SHARED_CREDENTIALS_FILE="$XDG_CONFIG_HOME/aws/credentials"

export DISABLE_SPRING=1

Expand Down
2 changes: 1 addition & 1 deletion bin/put_settings.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ if [ -d "$SETTINGS_PATH/.vim" ]; then
ln -s "$SETTINGS_PATH/.vim" "$XDG_CONFIG_HOME/nvim"
fi

for app in "git" "starship" "lsd" "sheldon" "bundle" "readline" "gem" "irb" "rspec" "tmux" "tig" "mise" "asdf" "direnv"; do
for app in "git" "starship" "lsd" "sheldon" "bundle" "readline" "gem" "irb" "rspec" "tmux" "tig" "mise" "asdf" "direnv" "aws"; do
if [ -L "$XDG_CONFIG_HOME/$app" ]; then
unlink "$XDG_CONFIG_HOME/$app"
fi
Expand Down
Empty file added config/aws/.keep
Empty file.

0 comments on commit 4546025

Please sign in to comment.