Commit Graph

7 Commits (6734baf950d8bd7bca8821c7ecde942e1f94a0f7)

Author SHA1 Message Date
John D Pell 00e3955dd3 lib/preview: add full completion 2022-02-07 15:27:03 -08:00
John D Pell d6555f369a 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.
2022-02-07 15:27:03 -08:00
John D Pell bcd67db4ab lib/preview: handle unbound parameter
If $BASH_PREVIEW is unset, treat it as blank.
2021-08-26 14:11:41 -07:00
Nils Winkler 0d9a0987d9 Fixed missing quotes around $BASH_IT variable
This should fix most issues where Bash-it is installed in a directory
containing spaces.
2017-06-24 17:31:30 +02:00
Dwight Holman 503fc7bede Basename -s is platform specific, so use Bash's variable expansion instead. 2015-10-14 16:58:40 -07:00
Matt Wismer 0c70325542 Use basename instead of sed 2015-01-06 16:50:44 -05:00
MattWis a9e8f10e35 Add ability to preview themes 2015-01-06 16:50:05 -05:00