Commit Graph

6 Commits (5c8ef51dfbe5ae834f37c3995d208d138c6a140d)

Author SHA1 Message Date
John D Pell 6684422ff7 lib/preview: `shfmt` && `shellcheck`
Fix theme file path globbing when $BASH_IT contains any spaces.

My apologies to future `git blame` hunters ♥
2021-10-18 10:13:04 -04: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