From db67bd690854978f051a1e03660102afd48a605a Mon Sep 17 00:00:00 2001 From: trivernis Date: Sat, 17 Jun 2023 13:22:26 +0200 Subject: [PATCH] Fix etc directory when home is not set in cfg --- lib/config.nu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/config.nu b/lib/config.nu index 1907913..091b2d4 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 { - return "/etc" | path join $app + return ( "/etc" | path join $app ) } let local = ( $home | path join ".config" | path join $app )