1
0
mirror of https://github.com/dcarrillo/prezto.git synced 2025-07-02 20:09:26 +00:00

Make .zcomp* location configurable (#1842)

This commit is contained in:
Texas Toland
2020-06-05 05:53:44 +09:00
committed by GitHub
parent b8f5b31573
commit ff91c8d410
10 changed files with 28 additions and 17 deletions

View File

@ -8,11 +8,11 @@
# function pacman-list-disowned {
local tmp="${TMPDIR:-/tmp}/pacman-disowned-$UID-$$"
local tmp="${XDG_CACHE_HOME:-$HOME/.cache}/prezto/pacman-disowned-$$"
local db="$tmp/db"
local fs="$tmp/fs"
mkdir "$tmp"
mkdir -p "$tmp"
trap 'rm -rf "$tmp"' EXIT
pacman --quiet --query --list | sort --unique > "$db"