Skip to content

Commit 9ed8cdd

Browse files
committed
lib/utilities: use $XDG_CACHE_HOME properly
We should fall back to the default location, not use an entirely different one.
1 parent 51a0ae3 commit 9ed8cdd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/utilities.bash

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ function _bash-it-component-item-is-enabled() {
211211
component_type="${1}" item_name="${2?}"
212212
fi
213213

214-
for each_file in "${BASH_IT}/enabled"/*"${BASH_IT_LOAD_PRIORITY_SEPARATOR?}${item_name}.${component_type}"*."bash" \
214+
for each_file in "${BASH_IT?}/enabled"/*"${BASH_IT_LOAD_PRIORITY_SEPARATOR?}${item_name}.${component_type}"*."bash" \
215215
"${BASH_IT}/${component_type}"*/"enabled/${item_name}.${component_type}"*."bash" \
216216
"${BASH_IT}/${component_type}"*/"enabled"/*"${BASH_IT_LOAD_PRIORITY_SEPARATOR?}${item_name}.${component_type}"*."bash"; do
217217
if [[ -f "${each_file}" ]]; then

0 commit comments

Comments
 (0)