Finish user directory on Linux
parent
769c9a0ab3
commit
c55d8891be
|
@ -45,7 +45,10 @@ system_get_path(Arena* arena, System_Path_Code path_code){
|
|||
|
||||
case SystemPath_UserDirectory:
|
||||
{
|
||||
|
||||
char *home_cstr = getenv("HOME");
|
||||
if (home_cstr != 0){
|
||||
result = push_u8_stringf(arena, "%s/.4coder/", home_cstr);
|
||||
}
|
||||
}break;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue