mirror of
https://github.com/beetbox/beets.git
synced 2025-12-06 08:39:17 +01:00
Use beet config -p to update BEETS_CONFIG
This commit is contained in:
parent
7e0fbef9fe
commit
5b9cebe9a0
1 changed files with 1 additions and 1 deletions
|
|
@ -41,7 +41,7 @@ dirs=("$matchany" ':dir:directory:_dirs')
|
|||
# Retrieve or update caches
|
||||
if ! _retrieve_cache beetslibrary || _cache_invalid beetslibrary; then
|
||||
local BEETS_LIBRARY="${$(beet config|grep library|cut -f 2 -d ' '):-${BEETS_LIBRARY}}"
|
||||
local BEETS_CONFIG="$(dirname ${BEETS_LIBRARY})/config.yaml"
|
||||
local BEETS_CONFIG="${$(beet config -p):-${BEETS_CONFIG}}"
|
||||
_store_cache beetslibrary BEETS_LIBRARY BEETS_CONFIG
|
||||
fi
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue