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:
@ -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"
|
||||
|
Reference in New Issue
Block a user