Fix etc directory when home is not set in cfg

main
trivernis 1 year ago
parent 345a12896f
commit db67bd6908
Signed by: Trivernis
GPG Key ID: DFFFCC2C7A02DB45

@ -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 )

Loading…
Cancel
Save