lib/preview: refactor into a function

This allows future use like `bash-it preview`. Alsö, allows to use `$BASH_PREVIEW` to specify a particular theme to preview instead of just doing all of them.
This commit is contained in:
John D Pell
2022-01-29 23:16:40 -08:00
parent 4dbe92e38d
commit d6555f369a
2 changed files with 27 additions and 15 deletions

View File

@@ -85,6 +85,7 @@ lib/colors.bash
lib/helpers.bash
lib/log.bash
lib/preexec.bash
lib/preview.bash
lib/search.bash
lib/utilities.bash