mirror of
https://github.com/eth-p/bat-extras.git
synced 2025-06-25 14:31:23 +02: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…
x
Reference in New Issue
Block a user