@@ -323,7 +323,7 @@ install() {
323
323
fix_links
324
324
325
325
if ! test " $MODE " = exec ; then
326
- gum_func format -- " awesome, we installed \` $TEA_DESTDIR /tea.xyz/v$TEA_VERSION /bin/tea\` "
326
+ gum_func format --theme= " dracula " -- " awesome, we installed \` $TEA_DESTDIR /tea.xyz/v$TEA_VERSION /bin/tea\` "
327
327
fi
328
328
329
329
TEA_VERSION_MAJOR=" $( echo " $TEA_VERSION " | cut -d. -f1) "
@@ -333,7 +333,7 @@ install() {
333
333
}
334
334
335
335
check_path () {
336
- gum_func format -- << -EoMD
336
+ gum_func format --theme= " dracula " -- << -EoMD
337
337
# one second!
338
338
without magic, tea’s not in your path!
339
339
> *we may need to ask for your **root password*** (via \` sudo\` obv.)
@@ -354,7 +354,7 @@ check_path() {
354
354
sudo ln -sf " $TEA_EXENAME " /usr/local/bin/tea
355
355
else
356
356
echo # spacer
357
- gum_func format -- << -EoMD
357
+ gum_func format --theme= " dracula " -- << -EoMD
358
358
> hmmm, sudo command not found.
359
359
> try installing sudo
360
360
EoMD
@@ -363,7 +363,7 @@ check_path() {
363
363
if ! command -v tea > /dev/null 2>&1 ; then
364
364
365
365
echo # spacer
366
- gum_func format -- << -EoMD
366
+ gum_func format --theme= " dracula " -- << -EoMD
367
367
> hmmm, \` /usr/local/bin\` isn’t in your path,
368
368
> you’ll need to fix that yourself.
369
369
> sorry 😞
@@ -431,7 +431,7 @@ check_shell_magic() {
431
431
__TEA_ONE_LINER=" test -d \" $TEA_DESTDIR_WRITABLE \" && \" $TEA_DESTDIR_WRITABLE /tea.xyz/v*/bin/tea\" --magic=fish --silent | source"
432
432
;;
433
433
* )
434
- gum_func format -- << -EoMD
434
+ gum_func format --theme= " dracula " -- << -EoMD
435
435
# we need your help 🙏
436
436
437
437
tea’s magic is optional but it’s the way it’s meant to be used.
@@ -454,7 +454,7 @@ check_shell_magic() {
454
454
455
455
echo # spacer
456
456
457
- gum_func format -- << -EoMD
457
+ gum_func format --theme= " dracula " -- << -EoMD
458
458
Added:
459
459
460
460
\` $__TEA_ONE_LINER \`
@@ -492,7 +492,7 @@ install)
492
492
if ! test -n " $ALREADY_INSTALLED " ; then
493
493
if ! check_shell_magic; then
494
494
check_path
495
- gum_func format -- << -EoMD
495
+ gum_func format --theme= " dracula " -- << -EoMD
496
496
# you’re all set!
497
497
498
498
try it out:
@@ -506,7 +506,7 @@ install)
506
506
fi
507
507
fi
508
508
elif test -n " $TEA_IS_CURRENT " ; then
509
- gum_func format -- << -EoMD
509
+ gum_func format --theme= " dracula " -- << -EoMD
510
510
# the latest version of tea was already installed
511
511
> $TEA_DESTDIR /tea.xyz/v$TEA_VERSION /bin/tea
512
512
EoMD
@@ -522,7 +522,7 @@ exec)
522
522
523
523
echo # spacer
524
524
525
- gum_func format << -EoMD >&2
525
+ gum_func format --theme= " dracula " << -EoMD >&2
526
526
> powered by [tea](https://tea.xyz)
527
527
EoMD
528
528
0 commit comments