diff --git a/completions/bash_completion.sh b/completions/bash_completion.sh index 99d06a2..634d3e4 100644 --- a/completions/bash_completion.sh +++ b/completions/bash_completion.sh @@ -6,10 +6,10 @@ _commandtrein(){ # Use a cache that will update every week - file="$HOME/.config/commandtrein/$(date +'%m-%Y').txt" + file="$HOME/.cache/commandtrein/$(date +'%m-%Y').txt" if ! [ -f "$file" ]; then - mkdir -p "$HOME/.config/commandtrein/" + mkdir -p "$HOME/.cache/commandtrein/" # Assumes that the binary is called commandtrein commandtrein search > "$file" fi