You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
5 lines
438 B
Cheetah
5 lines
438 B
Cheetah
10 months ago
|
let fact = (try { http get https://uselessfacts.jsph.pl/api/v2/facts/random | get text } catch { "I wasn't able to provide a fact." });
|
||
10 months ago
|
echo $"Hello (ansi purple_bold)({{#if flags.windows}}$env.USERNAME{{else}}$env.USER{{/if}})(ansi reset),
|
||
10 months ago
|
it's the (ansi purple_bold)(date now | format date '%d.%m.%Y')(ansi reset) at (ansi purple_bold)(date now | format date '%H:%M:%S')(ansi reset)
|
||
|
Did you know: (ansi purple_bold)($fact)(ansi reset)"
|