diff --git a/lib/preview.bash b/lib/preview.bash index d0fb0623..418839cd 100644 --- a/lib/preview.bash +++ b/lib/preview.bash @@ -1,4 +1,4 @@ -if [[ $BASH_PREVIEW ]]; +if [[ "${BASH_PREVIEW:-}" ]]; then unset BASH_PREVIEW #Prevent infinite looping echo "