Move generated completions to cache directory

This commit is contained in:
Anurag Singh
2024-04-27 15:45:28 +08:00
committed by Johannes Altmanninger
parent 1503be4287
commit 62a8b48fd1
10 changed files with 47 additions and 13 deletions

View File

@@ -50,6 +50,10 @@ export XDG_RUNTIME_DIR
mkdir -p $XDG_RUNTIME_DIR/fish || die
chmod 700 "$XDG_RUNTIME_DIR"
XDG_CACHE_HOME="$homedir/xdg_cache_home"
export XDG_CACHE_HOME
mkdir -p $XDG_CACHE_HOME/fish || die
# Create a temp/scratch directory for tests to use, if they want (tests shouldn't write to a
# shared temp folder).
TMPDIR="$homedir/temp"