fix audio tag script: compare basename instead of whole argument

This commit is contained in:
tea 2024-07-12 12:43:19 +02:00
parent a5ab7fcdbd
commit 5b6efb5e9b
No known key found for this signature in database

View File

@ -10,7 +10,7 @@ function _tag_audio_extra_tags() {
for dir in ${@}; do
[[ -d ${dir} ]] || continue
if [[ "${dir}" == "singles" ]] || [[ "${dir}" == "misc" ]]; then
if [[ "${dir##*/}" == "singles" ]] || [[ "${dir##*/}" == "misc" ]]; then
print -Pu2 "%B%F{yellow}skipping ${dir}%f%b"
continue
fi