diff --git a/lib/config.nu b/lib/config.nu index 053d342..1907913 100644 --- a/lib/config.nu +++ b/lib/config.nu @@ -8,7 +8,7 @@ export def get_path [app: string] { let home = $env.HOME? if $home == null { - "/etc" | path join $app + return "/etc" | path join $app } let local = ( $home | path join ".config" | path join $app )