Fix paths for windows
parent
642fdf8cd8
commit
23d02a0d91
@ -1,4 +1,4 @@
|
|||||||
let fact = (try { http get https://uselessfacts.jsph.pl/api/v2/facts/random | get text } catch { "I wasn't able to provide a fact." });
|
let fact = (try { http get https://uselessfacts.jsph.pl/api/v2/facts/random | get text } catch { "I wasn't able to provide a fact." });
|
||||||
echo $"Hello (ansi purple_bold)($env.USER)(ansi reset),
|
echo $"Hello (ansi purple_bold)({{#if flags.windows}}$env.USERNAME{{else}}$env.USER{{/if}})(ansi reset),
|
||||||
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)
|
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)"
|
Did you know: (ansi purple_bold)($fact)(ansi reset)"
|
@ -1 +1 @@
|
|||||||
path = "{{dirs.home}}"
|
path = '{{dirs.home}}'
|
||||||
|
@ -1 +1 @@
|
|||||||
path = "{{dirs.data}}"
|
path = '{{dirs.data}}'
|
||||||
|
Loading…
Reference in New Issue