Fix path literal in motd for windows path strings

main
trivernis 9 months ago
parent c3f9f154b8
commit 89a08b778a
Signed by: Trivernis
GPG Key ID: DFFFCC2C7A02DB45

@ -6,7 +6,7 @@ Did you know: (ansi purple_bold)(fact)(ansi reset)"
} }
def fact [] { def fact [] {
let cache_file = "{{dirs.data}}/facts.txt" let cache_file = '{{dirs.data}}' | path join facts.txt
if not ($cache_file | path exists) { if not ($cache_file | path exists) {
touch $cache_file touch $cache_file
} }

Loading…
Cancel
Save