mirror of
https://github.com/eth-p/bat-extras.git
synced 2026-09-10 07:16:25 -04:00
batpipe: Fix error when external viewers folder exists
This commit is contained in:
parent
2b2db2b506
commit
5708706436
|
|
@ -370,7 +370,7 @@ if [[ -d "${__CONFIG_DIR}/viewers.d" ]]; then
|
|||
unset LIB
|
||||
unset SELF
|
||||
|
||||
shopt -o nullglob
|
||||
shopt -s nullglob
|
||||
for viewer_script in "${__CONFIG_DIR}/viewers.d"/*; do
|
||||
source "${viewer_script}"
|
||||
done
|
||||
|
|
|
|||
Loading…
Reference in a new issue