Skip to content

Commit 429346d

Browse files
committed
chore: wip
1 parent a2b6c81 commit 429346d

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

.stacks/scripts/setup.sh

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,7 @@ install() {
323323
fix_links
324324

325325
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\`"
327327
fi
328328

329329
TEA_VERSION_MAJOR="$(echo "$TEA_VERSION" | cut -d. -f1)"
@@ -333,7 +333,7 @@ install() {
333333
}
334334

335335
check_path() {
336-
gum_func format -- <<-EoMD
336+
gum_func format --theme="dracula" -- <<-EoMD
337337
# one second!
338338
without magic, tea’s not in your path!
339339
> *we may need to ask for your **root password*** (via \`sudo\` obv.)
@@ -354,7 +354,7 @@ check_path() {
354354
sudo ln -sf "$TEA_EXENAME" /usr/local/bin/tea
355355
else
356356
echo #spacer
357-
gum_func format -- <<-EoMD
357+
gum_func format --theme="dracula" -- <<-EoMD
358358
> hmmm, sudo command not found.
359359
> try installing sudo
360360
EoMD
@@ -363,7 +363,7 @@ check_path() {
363363
if ! command -v tea >/dev/null 2>&1; then
364364

365365
echo #spacer
366-
gum_func format -- <<-EoMD
366+
gum_func format --theme="dracula" -- <<-EoMD
367367
> hmmm, \`/usr/local/bin\` isn’t in your path,
368368
> you’ll need to fix that yourself.
369369
> sorry 😞
@@ -431,7 +431,7 @@ check_shell_magic() {
431431
__TEA_ONE_LINER="test -d \"$TEA_DESTDIR_WRITABLE\" && \"$TEA_DESTDIR_WRITABLE/tea.xyz/v*/bin/tea\" --magic=fish --silent | source"
432432
;;
433433
*)
434-
gum_func format -- <<-EoMD
434+
gum_func format --theme="dracula" -- <<-EoMD
435435
# we need your help 🙏
436436
437437
tea’s magic is optional but it’s the way it’s meant to be used.
@@ -454,7 +454,7 @@ check_shell_magic() {
454454

455455
echo #spacer
456456

457-
gum_func format -- <<-EoMD
457+
gum_func format --theme="dracula" -- <<-EoMD
458458
Added:
459459
460460
\`$__TEA_ONE_LINER\`
@@ -492,7 +492,7 @@ install)
492492
if ! test -n "$ALREADY_INSTALLED"; then
493493
if ! check_shell_magic; then
494494
check_path
495-
gum_func format -- <<-EoMD
495+
gum_func format --theme="dracula" -- <<-EoMD
496496
# you’re all set!
497497
498498
try it out:
@@ -506,7 +506,7 @@ install)
506506
fi
507507
fi
508508
elif test -n "$TEA_IS_CURRENT"; then
509-
gum_func format -- <<-EoMD
509+
gum_func format --theme="dracula" -- <<-EoMD
510510
# the latest version of tea was already installed
511511
> $TEA_DESTDIR/tea.xyz/v$TEA_VERSION/bin/tea
512512
EoMD
@@ -522,7 +522,7 @@ exec)
522522

523523
echo #spacer
524524

525-
gum_func format <<-EoMD >&2
525+
gum_func format --theme="dracula" <<-EoMD >&2
526526
> powered by [tea](https://tea.xyz)
527527
EoMD
528528

0 commit comments

Comments
 (0)