Finish user directory on Linux

This commit is contained in:
Allen Webster 2021-01-17 16:09:16 -08:00
parent 769c9a0ab3
commit c55d8891be
1 changed files with 599 additions and 596 deletions

View File

@ -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;
}